]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
[Hardsuits] Disease protection for hardsuit and their helmets (#14953)
authorPuro <103608145+PuroSlavKing@users.noreply.github.com>
Sun, 23 Apr 2023 17:22:07 +0000 (20:22 +0300)
committerGitHub <noreply@github.com>
Sun, 23 Apr 2023 17:22:07 +0000 (13:22 -0400)
* Disease protection for hardsuit helmets

* update

* DiseaseProtection for biosuits, and cleaning code

Resources/Prototypes/Entities/Clothing/Head/hardsuit-helmets.yml
Resources/Prototypes/Entities/Clothing/Head/hoods.yml
Resources/Prototypes/Entities/Clothing/OuterClothing/bio.yml
Resources/Prototypes/Entities/Clothing/OuterClothing/hardsuits.yml

index 11a390d8d45a74568f6d8696875a72fb29ba2116..7c9fbfce2abdf061186b4159e2f549236710fd07 100644 (file)
         Piercing: 0.8
         Heat: 0.2
         Radiation: 0.5
+  - type: DiseaseProtection
+    protection: 0.15
 
 - type: entity
   parent: ClothingHeadHardsuitWithLightBase
         Shock: 0.1
         Cold: 0.2
         Radiation: 0.2
+  - type: DiseaseProtection
+    protection: 0.25
 
 - type: entity
   parent: ClothingHeadHardsuitBase
     sprite: Clothing/Head/Hardsuits/ERThelmets/ertmedical.rsi
   - type: PointLight
     color: "#adffec"
+  - type: DiseaseProtection
+    protection: 0.20
 
 - type: entity
   parent: ClothingHeadHelmetHardsuitERTLeader
index ed3b56668ee0b0c6f291c420837f75e3ffed6d47..000a1278431e4137c893bc7232b1894c7eb3a931 100644 (file)
@@ -41,7 +41,6 @@
   - type: Clothing
     sprite: Clothing/Head/Hoods/Bio/janitor.rsi
 
-
 - type: entity
   parent: ClothingHeadHatHoodBioGeneral
   id: ClothingHeadHatHoodBioScientist
index 923662939df8f8d61142c17434c2f7ddd66ae367..c5a93fe640484cfd01561a4775af80a7309af138 100644 (file)
   - type: Clothing
     sprite: Clothing/OuterClothing/Bio/cmo.rsi
   - type: DiseaseProtection
-    protection: 0.3
-  - type: Armor
-    modifiers:
-      coefficients:
-        Caustic: 0.5
+    protection: 0.5
 
 - type: entity
   parent: ClothingOuterBioGeneral
     sprite: Clothing/OuterClothing/Bio/janitor.rsi
   - type: Clothing
     sprite: Clothing/OuterClothing/Bio/janitor.rsi
-  - type: Armor
-    modifiers:
-      coefficients:
-        Caustic: 0.5
 
 - type: entity
   parent: ClothingOuterBioGeneral
     sprite: Clothing/OuterClothing/Bio/scientist.rsi
   - type: Clothing
     sprite: Clothing/OuterClothing/Bio/scientist.rsi
-  - type: Armor
-    modifiers:
-      coefficients:
-        Caustic: 0.5
+  - type: DiseaseProtection
+    protection: 0.3
 
 - type: entity
   parent: ClothingOuterBioGeneral
     sprite: Clothing/OuterClothing/Bio/security.rsi
   - type: Clothing
     sprite: Clothing/OuterClothing/Bio/security.rsi
-  - type: Armor
-    modifiers:
-      coefficients:
-        Caustic: 0.5
+  - type: DiseaseProtection
+    protection: 0.3
 
 - type: entity
   parent: ClothingOuterBioCmo
@@ -93,7 +81,5 @@
     sprite: Clothing/OuterClothing/Bio/virology.rsi
   - type: Clothing
     sprite: Clothing/OuterClothing/Bio/virology.rsi
-  - type: Armor
-    modifiers:
-      coefficients:
-        Caustic: 0.5
+  - type: DiseaseProtection
+    protection: 0.5
index 95f09f3cf55c21c0ee5f466089cbcd6e2e80cc09..6c0835aa590017ccbb94e7fcab0a5d735c4555dd 100644 (file)
     damageCoefficient: 0.3
   - type: ToggleableClothing
     clothingPrototype: ClothingHeadHelmetHardsuitSyndieElite
+  - type: DiseaseProtection
+    protection: 0.2
 
 - type: entity
   parent: ClothingOuterHardsuitBase
     damageCoefficient: 0.7
   - type: ToggleableClothing
     clothingPrototype: ClothingHeadHelmetCBURN
+  - type: DiseaseProtection
+    protection: 0.4
 
 #ERT
 - type: entity
     sprite: Clothing/OuterClothing/Hardsuits/ERTSuits/ertmedical.rsi
   - type: ToggleableClothing
     clothingPrototype: ClothingHeadHelmetHardsuitERTMedical
+  - type: DiseaseProtection
+    protection: 0.25
+
 
 - type: entity
   parent: ClothingOuterHardsuitERTLeader