/tg/ Station 13 - Modules - TypesDefine Details

code/modules/mob/living/basic/space_fauna/carp/carp_ai_actions.dm

MAGICARP_SPELL_TARGET_SEEK_RANGEHow far away the magicarp looks for a special spell target
MAGICARP_SPELL_ENEMY_SEEK_RANGEHow far away the magicarp looks for a regular spell target
/datum/bt_node/decorator/carp_should_fleeGates the flee/panic-teleport block. A carp flees from its flee target if that target is a feared fisherman, or if it is otherwise allowed to flee (i.e. it's injured, which clears BB_BASIC_MOB_STOP_FLEEING).
/datum/bt_node/ai_behavior/find_magicarp_spell_targetFinds a target for the magicarp's spell. Different spells want different targeting, so rather than make a controller per spell we branch on BB_MAGICARP_SPELL_SPECIAL_TARGETING here. Only runs if the spell is ready.

Define Details

MAGICARP_SPELL_ENEMY_SEEK_RANGE

How far away the magicarp looks for a regular spell target

MAGICARP_SPELL_TARGET_SEEK_RANGE

How far away the magicarp looks for a special spell target