bot
Vars | |
ai_waypoint | The end point of a bot's path, or the target location. |
---|---|
base_speed | The speed at which the bot moves, or the number of times it moves per process() tick. |
bot_cover_flags | Bot-related cover flags on the Bot to deal with what has been done to their cover, including emagging. |
bot_mode_flags | Bot-related mode flags on the Bot indicating how they will act. |
bot_type | The type of bot it is, for radio control. |
calling_ai | Links a bot to the AI calling it. |
commissioned | Will other (noncommissioned) bots salute this bot? |
data_hud_type | The type of data HUD the bot uses. Diagnostic by default. |
destination | Destination description tag |
frustration | Used by some bots for tracking failures to reach their target. |
hackables | Small name of what the bot gets messed with when getting hacked/emagged. |
ignore_list | List of unreachable targets for an ignore-list enabled bot to ignore. |
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. |
nearest_beacon | the nearest beacon's tag |
nearest_beacon_loc | The nearest beacon's location |
new_destination | Pending new destination (waiting for beacon response) |
next_destination | The next destination in the patrol route |
next_salute_check | Cooldown between salutations for commissioned bots |
paicard | The inserted (if any) pAI in this bot. |
path | List of turfs through which a bot 'steps' to reach the waypoint, associated with the path image, if there is one. |
pathset | The bot is on a custom set path. |
patrol_target | Turf a bot is summoned to navitage towards. |
player_access | Additonal access given to player-controlled bots. |
prev_access | All initial access this bot started with. |
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. |
summon_target | Turf of a user summoning a bot towards their location. |
tries | Number of times the bot tried and failed to move. |
Procs | |
bot_step | Performs a step_towards and increments the path if successful. Returns TRUE if the bot moved and FALSE otherwise. |
get_mode_ui | Returns a status string about the bot's current status, if it's moving, manually controlled, or idle. |
scan | Attempt to scan tiles near [src], first by checking adjacent, then if a target is still not found, nearby. |
Var Details
ai_waypoint
The end point of a bot's path, or the target location.
base_speed
The speed at which the bot moves, or the number of times it moves per process() tick.
bot_cover_flags
Bot-related cover flags on the Bot to deal with what has been done to their cover, including emagging.
bot_mode_flags
Bot-related mode flags on the Bot indicating how they will act.
bot_type
The type of bot it is, for radio control.
calling_ai
Links a bot to the AI calling it.
commissioned
Will other (noncommissioned) bots salute this bot?
data_hud_type
The type of data HUD the bot uses. Diagnostic by default.
destination
Destination description tag
frustration
Used by some bots for tracking failures to reach their target.
hackables
Small name of what the bot gets messed with when getting hacked/emagged.
ignore_list
List of unreachable targets for an ignore-list enabled bot to ignore.
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.
nearest_beacon
the nearest beacon's tag
nearest_beacon_loc
The nearest beacon's location
new_destination
Pending new destination (waiting for beacon response)
next_destination
The next destination in the patrol route
next_salute_check
Cooldown between salutations for commissioned bots
paicard
The inserted (if any) pAI in this bot.
path
List of turfs through which a bot 'steps' to reach the waypoint, associated with the path image, if there is one.
pathset
The bot is on a custom set path.
patrol_target
Turf a bot is summoned to navitage towards.
player_access
Additonal access given to player-controlled bots.
prev_access
All initial access this bot started with.
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.
summon_target
Turf of a user summoning a bot towards their location.
tries
Number of times the bot tried and failed to move.
Proc Details
bot_step
Performs a step_towards and increments the path if successful. Returns TRUE if the bot moved and FALSE otherwise.
get_mode_ui
Returns a status string about the bot's current status, if it's moving, manually controlled, or idle.
scan
Attempt to scan tiles near [src], first by checking adjacent, then if a target is still not found, nearby.
scan_types - list (of typepaths) that nearby tiles are being scanned for. old_target - what has already been scanned, and will early return at checkscan. scan_range - how far away from [src] will be scanned, if nothing is found directly adjacent.