changeset 9908 | 81eb25ddf594 |
child 9985 | 42cd42e44c9a |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/share/hedgewars/Data/Scripts/Params.lua Fri Jan 03 00:37:48 2014 +0400 @@ -0,0 +1,9 @@ +-- Library for parameters handling + +params = {} + +function parseParams() + for k, v in string.gmatch(ScriptParam, "(%w+)=([^,]+)") do + params[k] = v + end +end