mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 23:58:07 +01:00
dogs now resist before fetching or harassing, to unbuckle from stuff if they need to (#58686)
fixes #58656 (Pets can move while buckled in their beds)
This commit is contained in:
@@ -321,9 +321,13 @@
|
||||
current_movement_target = pointed_movable
|
||||
blackboard[BB_FETCH_TARGET] = pointed_movable
|
||||
blackboard[BB_FETCH_DELIVER_TO] = pointing_friend
|
||||
if(living_pawn.buckled)
|
||||
current_behaviors += GET_AI_BEHAVIOR(/datum/ai_behavior/resist)//in case they are in bed or something
|
||||
current_behaviors += GET_AI_BEHAVIOR(/datum/ai_behavior/fetch)
|
||||
if(DOG_COMMAND_ATTACK)
|
||||
pawn.visible_message("<span class='notice'>[pawn] follows [pointing_friend]'s gesture towards [pointed_movable] and growls intensely!</span>")
|
||||
current_movement_target = pointed_movable
|
||||
blackboard[BB_DOG_HARASS_TARGET] = pointed_movable
|
||||
if(living_pawn.buckled)
|
||||
current_behaviors += GET_AI_BEHAVIOR(/datum/ai_behavior/resist)//in case they are in bed or something
|
||||
current_behaviors += GET_AI_BEHAVIOR(/datum/ai_behavior/harass)
|
||||
|
||||
Reference in New Issue
Block a user