share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <almikes@aol.com>
Fri, 22 Sep 2017 17:46:36 +0200
changeset 12486 b61a52d9135b
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Add some German announcer messages (mostly by Topf)

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