/tg/ Station 13 - Modules - Types

code/modules/mob/living/basic/lavaland/goldgrub/goldgrub_ai.dm

/datum/bt_node/ai_behavior/dig_away_from_dangerBurrows underground (or stays underground) when danger is present or a storm is approaching. Returns RUNNING while underground+storm (blocks everything). Returns FAILURE when no action needed so the selector passes through.
/datum/bt_node/ai_behavior/burrow_through_groundWhile jaunting (underground) with a target, moves the grub's phased form further away. Returns FAILURE when not jaunting so the selector passes through.
/datum/bt_node/ai_behavior/find_oreFinds an ore pile. Sets BB_ORE_TARGET. Skips forbidden types and fetch targets.
/datum/bt_node/ai_behavior/find_boulderFinds a boulder the goldgrub can break. Sets BB_BOULDER_TARGET.
/datum/bt_node/ai_behavior/find_ore_ventFinds an ore vent to harvest. Sets BB_VENT_TARGET.
/datum/bt_node/ai_behavior/find_grub_eggFinds a grub egg to protect/pull. Sets BB_LOW_PRIORITY_HUNTING_TARGET.
/datum/bt_node/ai_behavior/grub_eatEats/interacts with a target at the given blackboard key. Must be adjacent.