share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <Wuzzy2@mail.ru>
Fri, 01 Nov 2019 11:42:53 +0100
changeset 15498 7f9d8f574ac9
parent 9985 42cd42e44c9a
permissions -rw-r--r--
ASA, cosmos: Move meteorite into sprite, add sprite for blown-up meteorite

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