ai_controllers 
Vars | |
ai_controllers_by_status | Assoc List of all AI statuses and all AI controllers with that status. |
---|---|
ai_controllers_by_zlevel | Assoc List of all AI controllers and the Z level they are on, which we check when someone enters/leaves a Z level to turn them on/off. |
ai_subtrees | List of all ai_subtree singletons, key is the typepath while assigned value is a newly created instance of the typepath. See setup_subtrees() |
cost_idle | The tick cost of all idle AI, calculated on fire. |
cost_on | The tick cost of all active AI, calculated on fire. |
Procs | |
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. |
Var Details
ai_controllers_by_status 
Assoc List of all AI statuses and all AI controllers with that status.
ai_controllers_by_zlevel 
Assoc List of all AI controllers and the Z level they are on, which we check when someone enters/leaves a Z level to turn them on/off.
ai_subtrees 
List of all ai_subtree singletons, key is the typepath while assigned value is a newly created instance of the typepath. See setup_subtrees()
cost_idle 
The tick cost of all idle AI, calculated on fire.
cost_on 
The tick cost of all active AI, calculated on fire.
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.