share/hedgewars/Data/Scripts/Params.lua
author antonc27 <antonc27@mail.ru>
Sun, 20 Sep 2015 02:08:12 +0200
branchios-revival
changeset 11187 fa6f6e8b927c
parent 9985 42cd42e44c9a
permissions -rw-r--r--
- 'Highlander' ammo set added to iOS front-end

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