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

ai_controllers

Vars

ai_controllers_by_statusAI controllers, sorted by their status
ai_controllers_by_zlevelAI controllers, sorted by their z level
average_pass_timeAverage wall-clock duration for a full pass on controllers
longest_tick_gapLongest gap any single controller went between two ticks.
most_expensiveDisplay strings for the most expensive controllers of the last completed pass, most expensive first.
pass_sizeHow many controllers the in-progress pass started with.
pass_startedworld.time at which the in-progress pass started.
planning_statustype of status we are interested in running
summing_costCPU cost accumulated by the in-progress pass, summed across fires.
summing_expensiveRunning top-cost candidates of the in-progress pass. Assoc list of controller -> SelectBehaviors cost in ms, has a capped amount of entries
summing_expensive_cutoffCheapest cost in summing_expensive once it's full; a controller must beat this to enter the list.
summing_tick_gapRunning longest tick gap of the in-progress pass.
target_priority_strategiesList of all target_priority_strategy singletons, key is the typepath while assigned value is a newly created instance of the typepath. See setup_target_priority_strats()
target_sourcesList of all target_source singletons, key is the typepath while assigned value is a newly created instance of the typepath. See setup_target_sources()
targeting_strategiesList of all targeting_strategy singletons, key is the typepath while assigned value is a newly created instance of the typepath. See setup_targeting_strats()
worst_controller_costWorst SelectBehaviors cost seen this round.
worst_controller_nameDisplay string for the controller responsible for worst_controller_cost.

Procs

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

Var Details

ai_controllers_by_status

AI controllers, sorted by their status

ai_controllers_by_zlevel

AI controllers, sorted by their z level

average_pass_time

Average wall-clock duration for a full pass on controllers

longest_tick_gap

Longest gap any single controller went between two ticks.

most_expensive

Display strings for the most expensive controllers of the last completed pass, most expensive first.

pass_size

How many controllers the in-progress pass started with.

pass_started

world.time at which the in-progress pass started.

planning_status

type of status we are interested in running

summing_cost

CPU cost accumulated by the in-progress pass, summed across fires.

summing_expensive

Running top-cost candidates of the in-progress pass. Assoc list of controller -> SelectBehaviors cost in ms, has a capped amount of entries

summing_expensive_cutoff

Cheapest cost in summing_expensive once it's full; a controller must beat this to enter the list.

summing_tick_gap

Running longest tick gap of the in-progress pass.

target_priority_strategies

List of all target_priority_strategy singletons, key is the typepath while assigned value is a newly created instance of the typepath. See setup_target_priority_strats()

target_sources

List of all target_source singletons, key is the typepath while assigned value is a newly created instance of the typepath. See setup_target_sources()

targeting_strategies

List of all targeting_strategy singletons, key is the typepath while assigned value is a newly created instance of the typepath. See setup_targeting_strats()

worst_controller_cost

Worst SelectBehaviors cost seen this round.

worst_controller_name

Display string for the controller responsible for worst_controller_cost.

Proc Details

on_max_z_changed

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