Most hostile mobs can no longer be trapped by closets, chairs, and aggro grabs (#91652)

This commit is contained in:
Jacquerel
2025-06-21 03:21:22 +02:00
committed by GitHub
parent 897909e7d0
commit e3dee6810e
114 changed files with 262 additions and 296 deletions
@@ -73,7 +73,7 @@
AddElement(/datum/element/ridable, /datum/component/riding/creature/wolf)
AddComponent(/datum/component/obeys_commands, pet_commands)
// this is purely a convenience thing once tamed so you can drag them away from shit
ai_controller.ai_traits = STOP_MOVING_WHEN_PULLED
ai_controller.ai_traits |= STOP_MOVING_WHEN_PULLED
// makes tamed wolves run away far less
ai_controller.set_blackboard_key(BB_BASIC_MOB_FLEE_DISTANCE, 7)
@@ -20,6 +20,7 @@
//reinforcements needs to be skipped over entirely on tamed wolves because it causes them to attack their owner and then themselves
planning_subtrees = list(
/datum/ai_planning_subtree/escape_captivity,
/datum/ai_planning_subtree/pet_planning,
/datum/ai_planning_subtree/call_reinforcements/wolf,
/datum/ai_planning_subtree/simple_find_nearest_target_to_flee,