share/hedgewars/Data/Scripts/Params.lua
author unC0Rr
Mon, 16 Mar 2015 11:12:18 +0300
changeset 10857 6ef0fb6cd3bb
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Script parameter to adjust winning score for Mutant

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