share/hedgewars/Data/Scripts/Params.lua
author sheepluva
Fri, 16 Sep 2016 00:22:05 +0200
changeset 11853 6a0d6b00dac8
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Highlander: give visual and acustic feedback when weapons are collected from a kill, similar to collecting a crate

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