Space Invasion: refactor variables into a large table for everything
To fix that annoying "upvalue" error if more variables are added
-- 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