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

ai

Vars

aiMultiUsed as a fake multitoool in tcomms machinery
ai_tracking_toolThe internal tool used to track players visible through cameras.
alert_controlStation alert datum for showing alerts UI
bot_refWeakref to the bot the ai's commanding right now
is_anchoredwhether AI is anchored or not, used for checks
lastlocremember AI's last location
openedwhether its cover is opened, so you can wirecut it for deconstruction
posibrain_insidewhether its mmi is a posibrain or regular mmi when going ai mob to ai core structure

Procs

apply_emote_displayApply an emote to all AI status displays on the station
apply_pref_emote_displayApply an AI's emote display preference
apply_pref_hologram_displayApply an AI's hologram preference
on_track_targetCalled when an AI finds their tracking target.
remove_malf_abilitiesRemoves all malfunction-related abilities from the AI
setAiRestorePowerRoutineProc to hook behavior to the changes of the value of [aiRestorePowerRoutine].
tracked_glidesize_changedKeeps our rate of gliding in step with the mob we're following
wrench_actemags access panel lock, so you can crowbar it without robotics access or consent

Var Details

aiMulti

Used as a fake multitoool in tcomms machinery

ai_tracking_tool

The internal tool used to track players visible through cameras.

alert_control

Station alert datum for showing alerts UI

bot_ref

Weakref to the bot the ai's commanding right now

is_anchored

whether AI is anchored or not, used for checks

lastloc

remember AI's last location

opened

whether its cover is opened, so you can wirecut it for deconstruction

posibrain_inside

whether its mmi is a posibrain or regular mmi when going ai mob to ai core structure

Proc Details

apply_emote_display

Apply an emote to all AI status displays on the station

apply_pref_emote_display

Apply an AI's emote display preference

apply_pref_hologram_display

Apply an AI's hologram preference

on_track_target

Called when an AI finds their tracking target.

remove_malf_abilities

Removes all malfunction-related abilities from the AI

setAiRestorePowerRoutine

Proc to hook behavior to the changes of the value of [aiRestorePowerRoutine].

tracked_glidesize_changed

Keeps our rate of gliding in step with the mob we're following

wrench_act

emags access panel lock, so you can crowbar it without robotics access or consent