share/hedgewars/Data/Scripts/Params.lua
author Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Fri, 03 Jan 2014 10:41:16 +0100
changeset 9915 67c9bd84f941
parent 9908 81eb25ddf594
child 9985 42cd42e44c9a
permissions -rw-r--r--
Added simple travis file

-- Library for parameters handling

params = {}

function parseParams()
    for k, v in string.gmatch(ScriptParam, "(%w+)=([^,]+)") do
        params[k] = v
    end
end