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

bot

Vars

access_cardour access card
additional_accessThe trim type that will grant additional acces
announcement_typeType of bot_announcement ability we want
bot_access_flagsBot-related cover flags on the Bot to deal with what has been done to their cover, including emagging. BOT_MAINTS_PANEL_OPEN | BOT_CONTROL_PANEL_OPEN | BOT_COVER_EMAGGED | BOT_COVER_HACKED
bot_mode_flagsBot-related mode flags on the Bot indicating how they will act. BOT_MODE_ON | BOT_MODE_AUTOPATROL | BOT_MODE_REMOTE_ENABLED | BOT_MODE_CAN_BE_SAPIENT | BOT_MODE_ROUNDSTART_POSSESSION
bot_typeThe type of bot it is, for radio control.
calling_ai_refLinks a bot to the AI calling it.
can_be_possessedIf true we will allow ghosts to control this mob
data_hud_typeThe type of data HUD the bot uses. Diagnostic by default.
hackablesSmall name of what the bot gets messed with when getting hacked/emagged.
initial_accessAll initial access this bot started with.
internal_radioThe bot's radio, for speaking to people.
maints_access_requiredAccess required to access this Bot's maintenance protocols
modeStandardizes the vars that indicate the bot is busy with its function.
offer_ghosts_cooldownIf true we will offer this
on_toggle_traitslist of traits we apply and remove when turning on/off
pa_systemAction we use to say voice lines out loud, also we just pass anything we try to say through here just in case it plays a voice line
paicardThe inserted (if any) pAI in this bot.
possessed_messageMessage to display upon possession
radio_channelThe bot's default radio channel
radio_keywhich channels can the bot listen to
robot_armThe Robot arm attached to this robot - has a 50% chance to drop on death.

Procs

check_possessionReturns true if this mob can be controlled
disable_possessionDisables this bot from being possessed by ghosts
eject_pai_remoteEjects the pAI remotely.
ejectpaiEjects a pAI from this bot
enable_possessionAllows this bot to be controlled by a ghost, who will become its mind
get_emagged_messageReturns a string of flavor text for emagged bots as defined by policy.
get_mode_uiReturns a status string about the bot's current status, if it's moving, manually controlled, or idle.
insertpaiPlaces a pAI in control of this mob
post_possessionFired after something takes control of this mob
renameAllows renaming the bot to something else
speakPass a message to have the bot say() it, passing through our announcement action to potentially also play a sound. Optionally pass a frequency to say it on the radio.
topic_deniedAccess check proc for bot topics! Remember to place in a bot's individual Topic if desired.

Var Details

access_card

our access card

additional_access

The trim type that will grant additional acces

announcement_type

Type of bot_announcement ability we want

bot_access_flags

Bot-related cover flags on the Bot to deal with what has been done to their cover, including emagging. BOT_MAINTS_PANEL_OPEN | BOT_CONTROL_PANEL_OPEN | BOT_COVER_EMAGGED | BOT_COVER_HACKED

bot_mode_flags

Bot-related mode flags on the Bot indicating how they will act. BOT_MODE_ON | BOT_MODE_AUTOPATROL | BOT_MODE_REMOTE_ENABLED | BOT_MODE_CAN_BE_SAPIENT | BOT_MODE_ROUNDSTART_POSSESSION

bot_type

The type of bot it is, for radio control.

calling_ai_ref

Links a bot to the AI calling it.

can_be_possessed

If true we will allow ghosts to control this mob

data_hud_type

The type of data HUD the bot uses. Diagnostic by default.

hackables

Small name of what the bot gets messed with when getting hacked/emagged.

initial_access

All initial access this bot started with.

internal_radio

The bot's radio, for speaking to people.

maints_access_required

Access required to access this Bot's maintenance protocols

mode

Standardizes the vars that indicate the bot is busy with its function.

offer_ghosts_cooldown

If true we will offer this

on_toggle_traits

list of traits we apply and remove when turning on/off

pa_system

Action we use to say voice lines out loud, also we just pass anything we try to say through here just in case it plays a voice line

paicard

The inserted (if any) pAI in this bot.

possessed_message

Message to display upon possession

radio_channel

The bot's default radio channel

radio_key

which channels can the bot listen to

robot_arm

The Robot arm attached to this robot - has a 50% chance to drop on death.

Proc Details

check_possession

Returns true if this mob can be controlled

disable_possession

Disables this bot from being possessed by ghosts

eject_pai_remote

Ejects the pAI remotely.

ejectpai

Ejects a pAI from this bot

enable_possession

Allows this bot to be controlled by a ghost, who will become its mind

get_emagged_message

Returns a string of flavor text for emagged bots as defined by policy.

get_mode_ui

Returns a status string about the bot's current status, if it's moving, manually controlled, or idle.

insertpai

Places a pAI in control of this mob

post_possession

Fired after something takes control of this mob

rename

Allows renaming the bot to something else

speak

Pass a message to have the bot say() it, passing through our announcement action to potentially also play a sound. Optionally pass a frequency to say it on the radio.

topic_denied

Access check proc for bot topics! Remember to place in a bot's individual Topic if desired.