share/hedgewars/Data/Scripts/Params.lua
author mikade <redgrinner@gmail.com>
Thu, 27 Nov 2014 22:32:03 +0900
changeset 10554 48e9b1099ff4
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Added TechRacer (still needs a lot of love), updated changelog

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