share/hedgewars/Data/Scripts/Params.lua
author unC0Rr
Sun, 26 Jan 2025 20:51:38 +0100
changeset 16090 a73830f5c5cc
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Add Rooms tile set

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