share/hedgewars/Data/Scripts/Params.lua
author sheepluva
Wed, 16 May 2018 10:11:00 +0200
branchui-scaling
changeset 13388 32a1696ca93a
parent 9985 42cd42e44c9a
permissions -rw-r--r--
WIP: make chat resizing faster hold shift for pixel-precise size changes

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