share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <almikes@aol.com>
Thu, 18 May 2017 00:57:15 +0200
changeset 12429 90e43d1bcd5b
parent 9985 42cd42e44c9a
permissions -rw-r--r--
HedgeEditor: Add 2 names to Mushroom Kingdom team identidy to get a full set of 8 hogs

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