share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <almikes@aol.com>
Thu, 27 Apr 2017 05:04:32 +0200
changeset 12362 ae6503e17764
parent 9985 42cd42e44c9a
permissions -rw-r--r--
HedgeEditor: Fix blow torch / pick hammer in wrong crate type

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