Goonstation 13 - Modules - TypesDefine Details

code/modules/robotics/bot/secbot.dm

SECBOT_IDLEIdle, handles routing to basic patrol-or-dont secbotting
SECBOT_AGGROBot is angry, chasing someone or arresting them
SECBOT_START_PATROLStarting patrol, looking for a patrol node
SECBOT_PATROLOn patrol!
SECBOT_SUMMONSummoned by PDA
SECBOT_GUARD_IDLEIdle again, but handles routing for guard-related stuff
SECBOT_GUARD_STARTWas ordered to guard an area. Checking to see if that's something it can do
SECBOT_GUARDCurrently guarding an area and milling about like an asshole
SECBOT_GUARD_AGGROBot is angry, but was guarding an area and should go back to guarding after this
KPAGU_CLEAR_PATHKill Path And Give Up Just kill their current path, likely invalid or unreachable or something
KPAGU_CLEAR_ALLClear everything, target, last target, guard orders, mode, everything. Return to secmonkey
KPAGU_RETURN_TO_PATROLClear aggro, revert to default patrol, non-guard state. mode = SECBOT_IDLE
KPAGU_RETURN_TO_GUARDClear aggro, revert to guard duty. mode = SECBOT_GUARD_IDLE

Define Details

KPAGU_CLEAR_ALL

Clear everything, target, last target, guard orders, mode, everything. Return to secmonkey

KPAGU_CLEAR_PATH

Kill Path And Give Up Just kill their current path, likely invalid or unreachable or something

KPAGU_RETURN_TO_GUARD

Clear aggro, revert to guard duty. mode = SECBOT_GUARD_IDLE

KPAGU_RETURN_TO_PATROL

Clear aggro, revert to default patrol, non-guard state. mode = SECBOT_IDLE

SECBOT_AGGRO

Bot is angry, chasing someone or arresting them

SECBOT_GUARD

Currently guarding an area and milling about like an asshole

SECBOT_GUARD_AGGRO

Bot is angry, but was guarding an area and should go back to guarding after this

SECBOT_GUARD_IDLE

Idle again, but handles routing for guard-related stuff

SECBOT_GUARD_START

Was ordered to guard an area. Checking to see if that's something it can do

SECBOT_IDLE

Idle, handles routing to basic patrol-or-dont secbotting

SECBOT_PATROL

On patrol!

SECBOT_START_PATROL

Starting patrol, looking for a patrol node

SECBOT_SUMMON

Summoned by PDA