share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <Wuzzy2@mail.ru>
Fri, 05 Oct 2018 20:20:09 +0200
changeset 13859 ccfbc5f59c52
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Hide creeper from frontend, prevent addition of creeper ammo via ammo scheme This is a temporary measure because the creeper is still very unfinished. This can be reverted when the creeper is finished.

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