share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <almikes@aol.com>
Tue, 26 Sep 2017 02:27:33 +0200
changeset 12530 00d3c280034b
parent 9985 42cd42e44c9a
permissions -rw-r--r--
ASA, a frozen adventure: Retain bazooka on checkpoint 2

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