share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <Wuzzy2@mail.ru>
Tue, 13 Mar 2018 20:31:35 +0100
changeset 13188 fde354aaf978
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Rope Training: Place the second-last target at a more reasonable position

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