share/hedgewars/Data/Scripts/Params.lua
author mikade <redgrinner@gmail.com>
Wed, 03 Jun 2015 22:16:03 +0900
changeset 10979 a332a60df7ce
parent 9985 42cd42e44c9a
permissions -rw-r--r--
- some new mission icons - add variable portal limiter (and effects) to TechRacer - allow variable (not just infinite) ufo fuel - possibly break stuff some - more whitespace?

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