share/hedgewars/Data/Scripts/Params.lua
author unC0Rr
Fri, 12 Feb 2016 17:03:42 +0300
changeset 11542 64a5ab2c4f00
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Attempt to implement hash for special points to detect tech racer maps

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