share/hedgewars/Data/Scripts/Params.lua
author nemo
Sun, 16 Dec 2018 10:25:36 -0500
changeset 14463 99117df5a3d3
parent 9985 42cd42e44c9a
permissions -rw-r--r--
fix DiagonalMaze after the drawing scaling change, add some params since ginormous maze is kinda entertaining

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