share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <Wuzzy2@mail.ru>
Mon, 21 Jan 2019 22:17:29 +0100
changeset 14654 8bd005067f4a
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Play "Flawless" voice when winning target practice mission with perfect accuracy

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