]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Penguins are more tolerant to the cold (#23209)
authorUbaser <134914314+UbaserB@users.noreply.github.com>
Fri, 5 Jan 2024 01:00:24 +0000 (12:00 +1100)
committerGitHub <noreply@github.com>
Fri, 5 Jan 2024 01:00:24 +0000 (18:00 -0700)
* add

* yes

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
Resources/Prototypes/Entities/Mobs/NPCs/animals.yml

index 14288ec44dc234b8cc1c7271e77746a2b8588ca9..e9b6e3ad457b5180c9296a292ef20cce049fb5ed 100644 (file)
   - type: NpcFactionMember
     factions:
     - Passive
+  - type: Temperature
+    heatDamageThreshold: 335
+    coldDamageThreshold: 230
+    currentTemperature: 310.15
+    specificHeat: 46
+    coldDamage:
+      types:
+        Cold : 0.05 #per second, scales with temperature & other constants
+    heatDamage:
+      types:
+        Heat : 0.2 #per second, scales with temperature & other constants
 
 - type: entity
   name: grenade penguin
-  parent: [ SimpleMobBase, MobCombat ]
+  parent: [ MobPenguin, MobCombat ]
   id: MobGrenadePenguin
   description: A small penguin with a grenade strapped around its neck. Harvested by the Syndicate from icy shit-hole planets.
   components:
     - map: ["enum.DamageStateVisualLayers.Base"]
       state: penguin
       sprite: Mobs/Animals/grenadepenguin.rsi
-  - type: Physics
   - type: Fixtures
     fixtures:
       fix1:
         Base: penguin
       Dead:
         Base: dead
-  - type: Butcherable
-    spawned:
-    - id: FoodMeatPenguin
-      amount: 3
   - type: MeleeWeapon
     angle: 0
     animation: WeaponArcBite