share/hedgewars/Data/Scripts/Params.lua
author mikade <redgrinner@gmail.com>
Thu, 21 May 2015 18:21:55 +0900
changeset 10950 356c8fb7fb56
parent 9985 42cd42e44c9a
permissions -rw-r--r--
- (Finally) automatically load points for all current TechRacer maps - Hack / break some stuff - Suspend two of the crappier 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