share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <almikes@aol.com>
Wed, 11 Oct 2017 18:39:19 +0200
changeset 12694 5b135c26f320
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Don't let player save ammo scheme with pre-installed name, even case-insensitively

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