share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <almikes@aol.com>
Sat, 09 Apr 2016 04:37:03 +0200
changeset 11995 c3866ee03b82
parent 9985 42cd42e44c9a
permissions -rw-r--r--
HedgeEditor: Tweak and reorder health/timer selection numbers

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