share/hedgewars/Data/Scripts/Params.lua
author sheepluva
Thu, 11 Jun 2015 03:31:33 +0200
changeset 10992 995ecbdf72de
parent 9985 42cd42e44c9a
permissions -rw-r--r--
hog number display: no blinking

-- Library for parameters handling

params = {}

function parseParams()
    if ScriptParam ~= nil then
        for k, v in string.gmatch(ScriptParam, "(%w+)=([^,]+)") do
            params[k] = v
        end
    end
end