share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <Wuzzy2@mail.ru>
Sun, 11 Feb 2018 20:28:21 +0100
changeset 12974 f92e9b1df096
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Construction Mode: Hide crate contents and object/crate placer submodes from prying eyes over the net

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