share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <Wuzzy2@mail.ru>
Sat, 06 Jun 2020 16:09:16 +0200
changeset 15622 dc62f1c13bb2
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Teach AI to spam extra time if infinite

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