share/hedgewars/Data/Scripts/Params.lua
author Grigory Ustinov <grenka@altlinux.org>
Wed, 07 Nov 2018 17:35:25 +0100
changeset 14157 ba4adf8498d3
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Add Russian translations in ru.txt

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