]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Lets angry AI gorillas pry open doors, smash things, and vault tables (#37822)
authorJessica M <jessica@jessicamaybe.com>
Mon, 26 May 2025 10:49:33 +0000 (04:49 -0600)
committerGitHub <noreply@github.com>
Mon, 26 May 2025 10:49:33 +0000 (12:49 +0200)
Resources/Prototypes/Entities/Mobs/NPCs/animals.yml

index c3875e2f82788be34c9c37b572bfd76e9720aec8..d2edb9b1ab6bfd2317ae8076ea49b7cf481f139f 100644 (file)
   - type: HTN
     rootTask:
       task: SimpleHostileCompound
+    blackboard:
+      NavClimb: !type:Bool
+        true
+      NavInteract: !type:Bool
+        true
+      NavPry: !type:Bool
+        true
+      NavSmash: !type:Bool
+        true
+  - type: Prying
+    pryPowered: true
+    force: true
+    speedModifier: 1.5
+    useSound:
+      path: /Audio/Items/crowbar.ogg
+  - type: MobThresholds
+    thresholds:
+      0: Alive
+      200: Critical
+      250: Dead
+  - type: StaminaResistance
+    damageCoefficient: 0.40
 
 - type: entity
   name: kangaroo