]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Mothroach gib threshold and resilience increase (#23722)
authorArendian <137322659+Arendian@users.noreply.github.com>
Mon, 8 Jan 2024 06:57:34 +0000 (07:57 +0100)
committerGitHub <noreply@github.com>
Mon, 8 Jan 2024 06:57:34 +0000 (01:57 -0500)
* mothroach resilience tweak

* Increased mass

* lower gib threshold

Resources/Prototypes/Entities/Mobs/NPCs/animals.yml

index e47e14c9c8e27f2aa61671cb18f55574040443c0..9ef49ff72a01412524b14c75775e35e185696f74 100644 (file)
     whitelistRequired: false
     name: ghost-role-information-mothroach-name
     description: ghost-role-information-mothroach-description
+  - type: Fixtures
+    fixtures:
+      fix1:
+        shape:
+          !type:PhysShapeCircle
+          radius: 0.2
+        density: 120
+        mask:
+        - SmallMobMask
+        layer:
+        - SmallMobLayer
   - type: GhostTakeoverAvailable
   - type: Speech
     speechVerb: Moth
   - type: MobThresholds
     thresholds:
       0: Alive
-      25: Critical
-      45: Dead
+      40: Critical
+      60: Dead
   - type: MovementSpeedModifier
     baseWalkSpeed : 2.5
     baseSprintSpeed : 4
     prototype: Mothroach
   - type: TypingIndicator
     proto: moth
+  - type: Destructible
+    thresholds:
+    - trigger:
+        !type:DamageTypeTrigger
+        damageType: Blunt
+        damage: 60
+      behaviors:
+      - !type:GibBehavior { }
 
 - type: entity
   name: mallard duck #Quack
   - type: NpcFactionMember
     factions:
     - Syndicate
-   
+
 - type: entity
   name: space cat
   id: MobCatSpace