bot
Vars | |
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_COVER_MAINTS_OPEN | BOT_COVER_LOCKED | 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 DO NOT MODIFY MANUALLY, USE set_bot_mode_flags. If you don't shit breaks BAD |
bot_type | The type of bot it is, for radio control. |
bot_ui | name of the UI we will attempt to open |
calling_ai_ref | Links a bot to the AI calling it. |
can_be_possessed | If true we will allow ghosts to control this mob |
current_pathed_turfs | list of all layed path icons |
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. |
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. |
path_image_color | what color this path icon will use |
path_image_icon | file the path icon is stored in |
path_image_icon_state | state of the path icon |
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. |
Procs | |
check_possession | Returns true if this mob can be controlled |
clear_path_hud | proc that handles deleting the bot's drawn path when needed |
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 |
generate_bot_path | proc that handles drawing and transforming the bot's path onto diagnostic huds |
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. |
handle_loop_movement | proc that handles moving along the bot's drawn path |
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. |
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_COVER_MAINTS_OPEN | BOT_COVER_LOCKED | 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 DO NOT MODIFY MANUALLY, USE set_bot_mode_flags. If you don't shit breaks BAD
bot_type
The type of bot it is, for radio control.
bot_ui
name of the UI we will attempt to open
calling_ai_ref
Links a bot to the AI calling it.
can_be_possessed
If true we will allow ghosts to control this mob
current_pathed_turfs
list of all layed path icons
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.
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.
path_image_color
what color this path icon will use
path_image_icon
file the path icon is stored in
path_image_icon_state
state of the path icon
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
clear_path_hud
proc that handles deleting the bot's drawn path when needed
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
generate_bot_path
proc that handles drawing and transforming the bot's path onto diagnostic huds
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.
handle_loop_movement
proc that handles moving along the bot's drawn path
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.