ai 
Vars | |
acceleration | If the camera eye [proc/AIMove][moves progressively faster] when looking around |
---|---|
aiMulti | Used as a fake multitool in tcomms machinery |
aiRestorePowerRoutine | Current stage of the AI's power restoration routine |
ai_tracking_tool | The internal tool used to track players visible through cameras |
ai_voicechanger | Reference to machine that holds the voicechanger |
alert_control | UI for station alerts |
all_eyes | List of [mob/eye/camera/ai][camera eyes] that the AI has created, including the [var/eyeobj][main eye] |
apc_override | The APC the AI is powered from, set when the AI has no power in order to access their APC |
battery | Reserve emergency power, consumed when the AI has no [var/power_requirement][power source] |
bot_ref | Weakref to the bot the AI is currently commanding |
cam_hotkeys | List of atoms that the AI's camera can quickly jump to through keys 1-9 |
cam_prev | The camera's last location before jumping |
camera_light_on | If the AI has their camera light enabled |
can_be_carded | If FALSE, attempts to [obj/item/aicard][card] the AI will be rejected |
can_dominate_mechs | If TRUE, the AI can take control over mechs |
can_shunt | If TRUE, the AI can shunt themselves into APCs |
connected_robots | List of robots currently synced to the AI |
controlled_equipment | Equipment that the AI is controlling remotely, to determine whether to relaymove or use the AI eye |
current | The AI's currently used holopad |
current_modules | Modules that the AI has already unlocked |
deploy_action | Action to deploy to a shell from a list of options |
deployed_shell | Robot that this AI is currently using |
display_icon_override | AI core icon_state selected by the AI through [verb/pick_icon] |
doomsday_device | Reference to the doomsday device |
explodes_on_death | If TRUE, the AI will explode when killed |
eyeobj | The AI's main eye |
hacked_apcs | APCs that the AI has already hacked |
hologram_appearance | The AI's hologram appearance, can be set by a client and is assigned on AI creation |
is_anchored | If the AI is currently anchored to the ground, used for checks. Distinct from atom/movable/anchored |
last_announcement | The last attempted VOX announcement. Exists so that failed VOXes can be retried easily |
last_moved | Time since the AI [proc/AIMove][last moved their camera eye], uses world.timeofday |
last_tablet_note_seen | Raw HTML containing the last page that was loaded from a held-up PDA |
lastloc | The AI eye's last location, used when answering a hologram request |
linked_core | AI core that this AI is linked to, used when put into an exosuit |
lit_cameras | List of cameras that have been illuminated by the AI's camera light |
malf_cooldown | Cooldown between malf module usages |
malf_picker | UI for picking malfunction modules |
malfhack | APC that we are currently hacking |
malfhacking | Timer used when hacking an APC |
master_multicam | The multicamera window that the AI is currently using |
max_multicams | Maximum multicamera windows the AI can have open |
modules_action | Opens the [datum/module_picker][malf module UI] |
multicam_on | If the AI is in multicamera mode |
multicam_screens | All of the AI's currently open multicamera windows |
network | The network that the AI is currently viewing |
nuking | If the AI has enabled doomsday |
opened | Whether its cover is opened, so you can wirecut it for deconstruction |
posibrain_inside | Whether its MMI is a posibrain or regular MMI, used when being [obj/structure/ai_core][deconstructed] |
power_requirement | The conditions the AI will check to see if it's powered, can be set to NONE (0) to disable requirements |
radio_enabled | If this AI can use their radio |
redeploy_action | Action to deploy to the last shell the AI used |
robot_control | UI for robot controls |
setting_waypoint | If TRUE, the AI will send it's [var/bot_ref][commanded bot] to the next clicked atom |
shunted | TRUE if the AI is currently shunted, used to differentiate between shunted and ghosted/braindead |
spark_system | Helper effect that creates sparks when the AI is damaged |
sprint | The current movement speed of the camera, it's definition being the base speed. Moves 1 more tile for every 10 sprint. |
Procs | |
ai_base_click_alt | Reimplementation of base_click_alt for AI |
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 |
Var Details
acceleration 
If the camera eye [proc/AIMove][moves progressively faster] when looking around
aiMulti 
Used as a fake multitool in tcomms machinery
aiRestorePowerRoutine 
Current stage of the AI's power restoration routine
ai_tracking_tool 
The internal tool used to track players visible through cameras
ai_voicechanger 
Reference to machine that holds the voicechanger
alert_control 
UI for station alerts
all_eyes 
List of [mob/eye/camera/ai][camera eyes] that the AI has created, including the [var/eyeobj][main eye]
apc_override 
The APC the AI is powered from, set when the AI has no power in order to access their APC
battery 
Reserve emergency power, consumed when the AI has no [var/power_requirement][power source]
bot_ref 
Weakref to the bot the AI is currently commanding
cam_hotkeys 
List of atoms that the AI's camera can quickly jump to through keys 1-9
cam_prev 
The camera's last location before jumping
camera_light_on 
If the AI has their camera light enabled
can_be_carded 
If FALSE, attempts to [obj/item/aicard][card] the AI will be rejected
can_dominate_mechs 
If TRUE, the AI can take control over mechs
can_shunt 
If TRUE, the AI can shunt themselves into APCs
connected_robots 
List of robots currently synced to the AI
controlled_equipment 
Equipment that the AI is controlling remotely, to determine whether to relaymove or use the AI eye
current 
The AI's currently used holopad
current_modules 
Modules that the AI has already unlocked
deploy_action 
Action to deploy to a shell from a list of options
deployed_shell 
Robot that this AI is currently using
display_icon_override 
AI core icon_state selected by the AI through [verb/pick_icon]
doomsday_device 
Reference to the doomsday device
explodes_on_death 
If TRUE, the AI will explode when killed
eyeobj 
The AI's main eye
hacked_apcs 
APCs that the AI has already hacked
hologram_appearance 
The AI's hologram appearance, can be set by a client and is assigned on AI creation
is_anchored 
If the AI is currently anchored to the ground, used for checks. Distinct from atom/movable/anchored
last_announcement 
The last attempted VOX announcement. Exists so that failed VOXes can be retried easily
last_moved 
Time since the AI [proc/AIMove][last moved their camera eye], uses world.timeofday
last_tablet_note_seen 
Raw HTML containing the last page that was loaded from a held-up PDA
lastloc 
The AI eye's last location, used when answering a hologram request
linked_core 
AI core that this AI is linked to, used when put into an exosuit
lit_cameras 
List of cameras that have been illuminated by the AI's camera light
malf_cooldown 
Cooldown between malf module usages
malf_picker 
UI for picking malfunction modules
malfhack 
APC that we are currently hacking
malfhacking 
Timer used when hacking an APC
master_multicam 
The multicamera window that the AI is currently using
max_multicams 
Maximum multicamera windows the AI can have open
modules_action 
Opens the [datum/module_picker][malf module UI]
multicam_on 
If the AI is in multicamera mode
multicam_screens 
All of the AI's currently open multicamera windows
network 
The network that the AI is currently viewing
nuking 
If the AI has enabled doomsday
opened 
Whether its cover is opened, so you can wirecut it for deconstruction
posibrain_inside 
Whether its MMI is a posibrain or regular MMI, used when being [obj/structure/ai_core][deconstructed]
power_requirement 
The conditions the AI will check to see if it's powered, can be set to NONE (0) to disable requirements
radio_enabled 
If this AI can use their radio
redeploy_action 
Action to deploy to the last shell the AI used
robot_control 
UI for robot controls
setting_waypoint 
If TRUE, the AI will send it's [var/bot_ref][commanded bot] to the next clicked atom
shunted 
TRUE if the AI is currently shunted, used to differentiate between shunted and ghosted/braindead
spark_system 
Helper effect that creates sparks when the AI is damaged
sprint 
The current movement speed of the camera, it's definition being the base speed. Moves 1 more tile for every 10 sprint.
Proc Details
ai_base_click_alt
Reimplementation of base_click_alt for AI
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