share/hedgewars/Data/Scripts/Params.lua
author unc0rr
Sun, 11 Nov 2018 00:14:13 +0100
changeset 14218 3e551b0535fb
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Fix birdy appearance/disappearance animation

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