share/hedgewars/Data/Scripts/Params.lua
author alfadur
Tue, 22 May 2018 17:54:07 -0400
changeset 13398 d5db8f71e52e
parent 9985 42cd42e44c9a
permissions -rw-r--r--
theme object tweak

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