share/hedgewars/Data/Scripts/Params.lua
author alfadur
Wed, 07 Dec 2016 13:25:04 -0500
changeset 12105 b50a5bde45fd
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Add Beach theme, update Fruit theme

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