share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <Wuzzy2@mail.ru>
Mon, 21 Jan 2019 19:28:39 +0100
changeset 14653 be8af70adf2c
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Tweak hog spawn height and facing direction in challenges

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