share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <almikes@aol.com>
Sat, 30 Sep 2017 01:45:01 +0200
changeset 12604 a45f8eec6869
parent 9985 42cd42e44c9a
permissions -rw-r--r--
ACF1: Force player to press jump to confirm difficulty dialog To prevent the player from accidentally making a choice too early

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