/tg/ Station 13 - Modules - Types

code/modules/mob/living/basic/farm_animals/bee/bee_bt.dm

/datum/bt_node/ai_behavior/find_hiveSearches for a valid beebox home. Skipped if the bee is already inside its home. Sets BB_CURRENT_HOME when found.
/datum/bt_node/ai_behavior/inhabit_hiveMoves to BB_CURRENT_HOME and inhabits it (ai_interact). Clears BB_CURRENT_HOME on failure. Must be in range (adjacent) to work. Returns FAILURE if home is gone or full.
/datum/bt_node/ai_behavior/enter_exit_hiveChance to leave or enter hive
/datum/bt_node/ai_behavior/enter_exit_hive/queenQueen variant: strongly prefers staying in hive.
/datum/bt_node/ai_behavior/pollinate_hydroPollinates the hydro tray at BB_TARGET_HYDRO. Must be adjacent.
/datum/bt_node/ai_behavior/swirl_around_targetPicks a random turf near BB_SWARM_TARGET and stores it in BB_SWIRL_TURF for move_to_target. Succeeds when a turf is found; fails otherwise so the parent sequence fails and retries.
/datum/bt_node/subtree/pet_command/scatterScatter command: runs away from BB_CURRENT_PET_TARGET then clears the command.
/datum/bt_node/subtree/pet_command/swirlSwirl command: swarm around BB_SWARM_TARGET continuously (no auto-clear).
/datum/bt_node/subtree/pet_command/beehiveBeehive command: move to hive and enter/exit it.