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

ai_core

Vars

default_link_refWeakref to an ai module rack, if present we will try to link new AI to it instead of the station core

Procs

check_stateExists to be used for callbacks.
construction_item_interactionHandles the interaction chain the same as item_interaction. Exists to isolate construction behaviour from other item behaviour.
suicide_checkQuick proc to call to see if the brainmob inside of us has suicided. Returns TRUE if we have, FALSE in any other scenario.

Var Details

Weakref to an ai module rack, if present we will try to link new AI to it instead of the station core

Proc Details

check_state

Exists to be used for callbacks.

construction_item_interaction

Handles the interaction chain the same as item_interaction. Exists to isolate construction behaviour from other item behaviour.

suicide_check

Quick proc to call to see if the brainmob inside of us has suicided. Returns TRUE if we have, FALSE in any other scenario.