share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <almikes@aol.com>
Thu, 24 Nov 2016 00:50:40 +0100
changeset 12057 144264948277
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Change ammo display texts in Tumbler to avoid pluralization failures

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