share/hedgewars/Data/Scripts/Params.lua
author unc0rr
Fri, 03 Jan 2014 00:37:48 +0400
changeset 9908 81eb25ddf594
child 9985 42cd42e44c9a
permissions -rw-r--r--
- Utility script for parameters handling - Add varying gravity to Gravity script

-- Library for parameters handling

params = {}

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