From: Puro <103608145+PuroSlavKing@users.noreply.github.com> Date: Sun, 23 Apr 2023 17:22:07 +0000 (+0300) Subject: [Hardsuits] Disease protection for hardsuit and their helmets (#14953) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=ebe12692e77061ac31c83b13f490055ef4db62a5;p=space-station-14.git [Hardsuits] Disease protection for hardsuit and their helmets (#14953) * Disease protection for hardsuit helmets * update * DiseaseProtection for biosuits, and cleaning code --- diff --git a/Resources/Prototypes/Entities/Clothing/Head/hardsuit-helmets.yml b/Resources/Prototypes/Entities/Clothing/Head/hardsuit-helmets.yml index 11a390d8d4..7c9fbfce2a 100644 --- a/Resources/Prototypes/Entities/Clothing/Head/hardsuit-helmets.yml +++ b/Resources/Prototypes/Entities/Clothing/Head/hardsuit-helmets.yml @@ -440,6 +440,8 @@ Piercing: 0.8 Heat: 0.2 Radiation: 0.5 + - type: DiseaseProtection + protection: 0.15 - type: entity parent: ClothingHeadHardsuitWithLightBase @@ -482,6 +484,8 @@ Shock: 0.1 Cold: 0.2 Radiation: 0.2 + - type: DiseaseProtection + protection: 0.25 - type: entity parent: ClothingHeadHardsuitBase @@ -555,6 +559,8 @@ sprite: Clothing/Head/Hardsuits/ERThelmets/ertmedical.rsi - type: PointLight color: "#adffec" + - type: DiseaseProtection + protection: 0.20 - type: entity parent: ClothingHeadHelmetHardsuitERTLeader diff --git a/Resources/Prototypes/Entities/Clothing/Head/hoods.yml b/Resources/Prototypes/Entities/Clothing/Head/hoods.yml index ed3b56668e..000a127843 100644 --- a/Resources/Prototypes/Entities/Clothing/Head/hoods.yml +++ b/Resources/Prototypes/Entities/Clothing/Head/hoods.yml @@ -41,7 +41,6 @@ - type: Clothing sprite: Clothing/Head/Hoods/Bio/janitor.rsi - - type: entity parent: ClothingHeadHatHoodBioGeneral id: ClothingHeadHatHoodBioScientist diff --git a/Resources/Prototypes/Entities/Clothing/OuterClothing/bio.yml b/Resources/Prototypes/Entities/Clothing/OuterClothing/bio.yml index 923662939d..c5a93fe640 100644 --- a/Resources/Prototypes/Entities/Clothing/OuterClothing/bio.yml +++ b/Resources/Prototypes/Entities/Clothing/OuterClothing/bio.yml @@ -28,11 +28,7 @@ - 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 @@ -45,10 +41,6 @@ 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 @@ -61,10 +53,8 @@ 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 @@ -77,10 +67,8 @@ 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 diff --git a/Resources/Prototypes/Entities/Clothing/OuterClothing/hardsuits.yml b/Resources/Prototypes/Entities/Clothing/OuterClothing/hardsuits.yml index 95f09f3cf5..6c0835aa59 100644 --- a/Resources/Prototypes/Entities/Clothing/OuterClothing/hardsuits.yml +++ b/Resources/Prototypes/Entities/Clothing/OuterClothing/hardsuits.yml @@ -659,6 +659,8 @@ damageCoefficient: 0.3 - type: ToggleableClothing clothingPrototype: ClothingHeadHelmetHardsuitSyndieElite + - type: DiseaseProtection + protection: 0.2 - type: entity parent: ClothingOuterHardsuitBase @@ -693,6 +695,8 @@ damageCoefficient: 0.7 - type: ToggleableClothing clothingPrototype: ClothingHeadHelmetCBURN + - type: DiseaseProtection + protection: 0.4 #ERT - type: entity @@ -731,6 +735,9 @@ sprite: Clothing/OuterClothing/Hardsuits/ERTSuits/ertmedical.rsi - type: ToggleableClothing clothingPrototype: ClothingHeadHelmetHardsuitERTMedical + - type: DiseaseProtection + protection: 0.25 + - type: entity parent: ClothingOuterHardsuitERTLeader