share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <almikes@aol.com>
Tue, 26 Sep 2017 03:58:23 +0200
changeset 12538 f8801c72a6c8
parent 9985 42cd42e44c9a
permissions -rw-r--r--
ASA, The first stop: Take possibility into account that whole team can be wiped out

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