share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <almikes@aol.com>
Sat, 09 Apr 2016 08:29:22 +0200
changeset 12004 2193619b6b13
parent 9985 42cd42e44c9a
permissions -rw-r--r--
HedgeEditor: Add loc() to some forgotten strings, minor cleanup

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