share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <almikes@aol.com>
Thu, 13 Apr 2017 17:26:37 +0200
changeset 12245 5206f9a803d1
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Allow to randomize team name, flag, grave, voice and fort seperately

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