code/modules/mob/living/basic/lavaland/lobstrosity/lobstrosity_ai.dm
/datum/ai_controller/basic_controller/lobstrosity/juvenile | Ensure that juveline lobstrosities witll charge at things they can reach. |
---|---|
/datum/ai_controller/basic_controller/lobstrosity/juvenile/calm | A subtype of juvenile lobster AI that has the target_retaliate behaviour instead of simple_find_target |
/datum/ai_controller/basic_controller/lobstrosity/juvenile/capricious | A subtype of juvenile lobster AI that has the capricious_retaliate behaviour instead of simple_find_target |
/datum/ai_planning_subtree/targeted_mob_ability/lobster | Don't use charge ability on an adjacent target, and make sure you're visible before you start |
/datum/ai_planning_subtree/find_fingers | Look for loose arms lying around |
/datum/ai_planning_subtree/hoard_fingers | If you see an arm, grab it and run |
/datum/ai_behavior/grab_fingers | If our target is an arm then move over and drag it |
FLEE_TO_RANGE | How far we'll try to go before eating an arm |
MAX_LOBSTROSITY_PATIENCE | How many times we'll attempt to move before giving up |
/datum/ai_behavior/hoard_fingers | If we are dragging an arm then run away until we are out of range and feast |
Define Details
FLEE_TO_RANGE
How far we'll try to go before eating an arm
MAX_LOBSTROSITY_PATIENCE
How many times we'll attempt to move before giving up