share/hedgewars/Data/Scripts/Params.lua
author nemo
Fri, 01 Jan 2016 10:49:59 -0500
changeset 11484 846a3b3a3d1c
parent 9985 42cd42e44c9a
permissions -rw-r--r--
add 32px to top offset

-- 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