share/hedgewars/Data/Scripts/Params.lua
author unc0rr
Wed, 11 Nov 2015 00:01:55 +0300
changeset 11345 d3317d6162fe
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Airmines were added

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