share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <almikes@aol.com>
Tue, 15 Nov 2016 02:00:27 +0100
changeset 11888 bc738a87d8ab
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Upgrade appdata file to AppStream 0.8 format, update screenshots

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