/tg/ Station 13 - Modules - TypesVar Details - Proc Details

ai_controllers

Vars

our_costThe average tick cost of all active AI, calculated on fire.
planning_statustype of status we are interested in running
summing_costThe tick cost of all currently processed AI, being summed together

Procs

on_max_z_changedCalled when the max Z level was changed, updating our coverage.
setup_subtreesCreates all instances of ai_subtrees and assigns them to the ai_subtrees list.

Var Details

our_cost

The average tick cost of all active AI, calculated on fire.

planning_status

type of status we are interested in running

summing_cost

The tick cost of all currently processed AI, being summed together

Proc Details

on_max_z_changed

Called when the max Z level was changed, updating our coverage.

setup_subtrees

Creates all instances of ai_subtrees and assigns them to the ai_subtrees list.