mwg API
    Preparing search index...

    Interface LuaAIAgentDefinition

    A Lua-scripted agent. source is executed once on first use; functionName (default decide) is then called with (perception, state). search renames the Lua functions LuaAI.search calls.

    interface LuaAIAgentDefinition {
        functionName?: string;
        id: string;
        search?: LuaAlphaBetaFunctions;
        source: string;
    }
    Index
    functionName?: string
    id: string
    source: string