share/hedgewars/Data/Scripts/Params.lua
author antonc27 <antonc27@mail.ru>
Fri, 23 Oct 2015 04:02:36 +0200
branchios-revival
changeset 11235 48c19ce634a6
parent 9985 42cd42e44c9a
permissions -rw-r--r--
- Rus localization update for 'Data/Locale/missions_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