share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <almikes@aol.com>
Thu, 27 Apr 2017 04:58:48 +0200
changeset 12356 d1448cc0b8c2
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Fix broken HedgeEditor export of utility and ammo crates

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