share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <almikes@aol.com>
Mon, 25 Sep 2017 23:04:15 +0200
changeset 12530 767920fd03a1
parent 9985 42cd42e44c9a
permissions -rw-r--r--
ASA, Searching in the dust: Fix Hog Solo being able to rope past all smugglers

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