share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <almikes@aol.com>
Sun, 15 Oct 2017 13:15:39 +0200
changeset 12709 c4ea9f8fb483
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Highlander: Mention the "max. 1 ammo per type" rule in mission panel

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