share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <almikes@aol.com>
Fri, 29 Sep 2017 03:41:30 +0200
changeset 12591 7510fe66bfbb
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Change graves of teams in missions for greater variety In A Space Adventure, only one grave was used for all teams, which was clearly bad.

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