/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/ai_pet_commands.dm

BB_ACTIVE_PET_COMMANDBlackboard field for the most recent command the pet was given
PET_COMMAND_NONEFollow your normal behaviour
PET_COMMAND_IDLEDon't take any actions at all
PET_COMMAND_ATTACKPursue and attack the pointed target
PET_COMMAND_FOLLOWPursue the person who made this command
PET_COMMAND_USE_ABILITYUse a targetted mob ability
BB_CURRENT_PET_TARGETBlackboard field for what we actually want the pet to target
BB_PET_TARGETTING_DATUMBlackboard field for how we target things, as usually we want to be more permissive than normal
BB_FRIENDS_LISTTypecache of weakrefs to mobs this mob is friends with, will follow their instructions and won't attack them

Define Details

BB_ACTIVE_PET_COMMAND

Blackboard field for the most recent command the pet was given

BB_CURRENT_PET_TARGET

Blackboard field for what we actually want the pet to target

BB_FRIENDS_LIST

Typecache of weakrefs to mobs this mob is friends with, will follow their instructions and won't attack them

BB_PET_TARGETTING_DATUM

Blackboard field for how we target things, as usually we want to be more permissive than normal

PET_COMMAND_ATTACK

Pursue and attack the pointed target

PET_COMMAND_FOLLOW

Pursue the person who made this command

PET_COMMAND_IDLE

Don't take any actions at all

PET_COMMAND_NONE

Follow your normal behaviour

PET_COMMAND_USE_ABILITY

Use a targetted mob ability