[Hardsuits] Disease protection for hardsuit and their helmets (#14953)

* Disease protection for hardsuit helmets

* update

* DiseaseProtection for biosuits, and cleaning code
This commit is contained in:
Puro
2023-04-23 20:22:07 +03:00
committed by GitHub
parent a6d8d96e0b
commit ebe12692e7
4 changed files with 20 additions and 22 deletions

View File

@@ -440,6 +440,8 @@
Piercing: 0.8 Piercing: 0.8
Heat: 0.2 Heat: 0.2
Radiation: 0.5 Radiation: 0.5
- type: DiseaseProtection
protection: 0.15
- type: entity - type: entity
parent: ClothingHeadHardsuitWithLightBase parent: ClothingHeadHardsuitWithLightBase
@@ -482,6 +484,8 @@
Shock: 0.1 Shock: 0.1
Cold: 0.2 Cold: 0.2
Radiation: 0.2 Radiation: 0.2
- type: DiseaseProtection
protection: 0.25
- type: entity - type: entity
parent: ClothingHeadHardsuitBase parent: ClothingHeadHardsuitBase
@@ -555,6 +559,8 @@
sprite: Clothing/Head/Hardsuits/ERThelmets/ertmedical.rsi sprite: Clothing/Head/Hardsuits/ERThelmets/ertmedical.rsi
- type: PointLight - type: PointLight
color: "#adffec" color: "#adffec"
- type: DiseaseProtection
protection: 0.20
- type: entity - type: entity
parent: ClothingHeadHelmetHardsuitERTLeader parent: ClothingHeadHelmetHardsuitERTLeader

View File

@@ -41,7 +41,6 @@
- type: Clothing - type: Clothing
sprite: Clothing/Head/Hoods/Bio/janitor.rsi sprite: Clothing/Head/Hoods/Bio/janitor.rsi
- type: entity - type: entity
parent: ClothingHeadHatHoodBioGeneral parent: ClothingHeadHatHoodBioGeneral
id: ClothingHeadHatHoodBioScientist id: ClothingHeadHatHoodBioScientist

View File

@@ -28,11 +28,7 @@
- type: Clothing - type: Clothing
sprite: Clothing/OuterClothing/Bio/cmo.rsi sprite: Clothing/OuterClothing/Bio/cmo.rsi
- type: DiseaseProtection - type: DiseaseProtection
protection: 0.3 protection: 0.5
- type: Armor
modifiers:
coefficients:
Caustic: 0.5
- type: entity - type: entity
parent: ClothingOuterBioGeneral parent: ClothingOuterBioGeneral
@@ -45,10 +41,6 @@
sprite: Clothing/OuterClothing/Bio/janitor.rsi sprite: Clothing/OuterClothing/Bio/janitor.rsi
- type: Clothing - type: Clothing
sprite: Clothing/OuterClothing/Bio/janitor.rsi sprite: Clothing/OuterClothing/Bio/janitor.rsi
- type: Armor
modifiers:
coefficients:
Caustic: 0.5
- type: entity - type: entity
parent: ClothingOuterBioGeneral parent: ClothingOuterBioGeneral
@@ -61,10 +53,8 @@
sprite: Clothing/OuterClothing/Bio/scientist.rsi sprite: Clothing/OuterClothing/Bio/scientist.rsi
- type: Clothing - type: Clothing
sprite: Clothing/OuterClothing/Bio/scientist.rsi sprite: Clothing/OuterClothing/Bio/scientist.rsi
- type: Armor - type: DiseaseProtection
modifiers: protection: 0.3
coefficients:
Caustic: 0.5
- type: entity - type: entity
parent: ClothingOuterBioGeneral parent: ClothingOuterBioGeneral
@@ -77,10 +67,8 @@
sprite: Clothing/OuterClothing/Bio/security.rsi sprite: Clothing/OuterClothing/Bio/security.rsi
- type: Clothing - type: Clothing
sprite: Clothing/OuterClothing/Bio/security.rsi sprite: Clothing/OuterClothing/Bio/security.rsi
- type: Armor - type: DiseaseProtection
modifiers: protection: 0.3
coefficients:
Caustic: 0.5
- type: entity - type: entity
parent: ClothingOuterBioCmo parent: ClothingOuterBioCmo
@@ -93,7 +81,5 @@
sprite: Clothing/OuterClothing/Bio/virology.rsi sprite: Clothing/OuterClothing/Bio/virology.rsi
- type: Clothing - type: Clothing
sprite: Clothing/OuterClothing/Bio/virology.rsi sprite: Clothing/OuterClothing/Bio/virology.rsi
- type: Armor - type: DiseaseProtection
modifiers: protection: 0.5
coefficients:
Caustic: 0.5

View File

@@ -659,6 +659,8 @@
damageCoefficient: 0.3 damageCoefficient: 0.3
- type: ToggleableClothing - type: ToggleableClothing
clothingPrototype: ClothingHeadHelmetHardsuitSyndieElite clothingPrototype: ClothingHeadHelmetHardsuitSyndieElite
- type: DiseaseProtection
protection: 0.2
- type: entity - type: entity
parent: ClothingOuterHardsuitBase parent: ClothingOuterHardsuitBase
@@ -693,6 +695,8 @@
damageCoefficient: 0.7 damageCoefficient: 0.7
- type: ToggleableClothing - type: ToggleableClothing
clothingPrototype: ClothingHeadHelmetCBURN clothingPrototype: ClothingHeadHelmetCBURN
- type: DiseaseProtection
protection: 0.4
#ERT #ERT
- type: entity - type: entity
@@ -731,6 +735,9 @@
sprite: Clothing/OuterClothing/Hardsuits/ERTSuits/ertmedical.rsi sprite: Clothing/OuterClothing/Hardsuits/ERTSuits/ertmedical.rsi
- type: ToggleableClothing - type: ToggleableClothing
clothingPrototype: ClothingHeadHelmetHardsuitERTMedical clothingPrototype: ClothingHeadHelmetHardsuitERTMedical
- type: DiseaseProtection
protection: 0.25
- type: entity - type: entity
parent: ClothingOuterHardsuitERTLeader parent: ClothingOuterHardsuitERTLeader