share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <Wuzzy2@mail.ru>
Mon, 12 Feb 2018 15:08:13 +0100
changeset 12984 b6d67e975b51
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Battalion: Standardize the crate pickup message

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