share/hedgewars/Data/Scripts/Params.lua
author unC0Rr
Thu, 10 Sep 2020 09:30:41 +0200
changeset 15739 94f4d0a96143
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Prevent AI from getting stuck in attempt to look in another direction after choosing bee weapon

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