share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <Wuzzy2@mail.ru>
Wed, 01 Aug 2018 15:50:39 +0200
changeset 13583 141cdfe0f3ca
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Switch almost all Lua calls of AddTeam to using default clan colors instead of hardcoded color Missing: fruit02, HedgeEditor

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