share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <Wuzzy2@mail.ru>
Thu, 29 Nov 2018 18:54:31 +0100
changeset 14345 ef7501d9935c
parent 9985 42cd42e44c9a
permissions -rw-r--r--
HedgeEditor: No info tag for frozen sticky/air mines

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