Skip to content

Commit

Permalink
[tweak] Disease protection and quality of life additionals. (#910)
Browse files Browse the repository at this point in the history
* Disease Protection first commit

First sample.

* Corvax CBURN anti viral

* Resize

- Hardsuits can now be put in a backpack.

- Emergency boxes now have space medipens.

- Emergency boxes are now smaller in size and take up space like a first aid kit.

* Parent fix

Я всё сделал как надо, честно!!!

* Add armor to security bio suit

* Space Medipen deleted again
  • Loading branch information
Agronomist-NN authored Nov 13, 2024
1 parent 3c5d93c commit 47670e9
Show file tree
Hide file tree
Showing 15 changed files with 64 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Resources/Prototypes/Catalog/Fills/Boxes/general.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
description: A cardboard box for storing things.
components:
- type: Item
size: Large
size: Normal
shape:
- 0,0,2,2
- 0,0,1,1
- type: Storage
maxItemSize: Small
grid:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,5 @@
Shock: 0.1
Cold: 0.2
Radiation: 0.2
- type: DiseaseProtection #Backmen & Ataraxia anti viral
protection: 0.2
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,5 @@
damageCoefficient: 0.7
- type: ToggleableClothing
clothingPrototype: ClothingHeadHelmetCBURNLeader
- type: DiseaseProtection #Backmen & Ataraxia anti viral
protection: 0.5
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
damageProtection:
flatReductions:
Heat: 5 # the average lightbulb only does around four damage!
- type: DiseaseProtection #Backmen & Ataraxia anti viral
protection: 0.1

- type: entity
abstract: true
Expand Down
2 changes: 2 additions & 0 deletions Resources/Prototypes/Entities/Clothing/Hands/gloves.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@
- type: Fiber
fiberMaterial: fibers-nitrile
- type: FingerprintMask
- type: DiseaseProtection #Backmen & Ataraxia anti viral
protection: 0.2
####
- type: entity
parent: ClothingHandsButcherable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@
- Snout
- HeadTop
- HeadSide
- type: DiseaseProtection #Backmen & Ataraxia anti viral
protection: 0.2

- type: entity
abstract: true
Expand Down Expand Up @@ -177,6 +179,8 @@
- Snout
- HeadTop
- HeadSide
- type: DiseaseProtection #Backmen & Ataraxia anti viral
protection: 0.2

- type: entity
abstract: true
Expand Down Expand Up @@ -229,6 +233,8 @@
- type: BatterySelfRecharger
autoRecharge: true
autoRechargeRate: 2 #recharge of 2 makes total drain 1w / s so max charge is 1:1 with time. Time to fully charge should be 5 minutes. Having recharge gives light an extended flicker period which gives you some warning to return to light area.
- type: DiseaseProtection #Backmen & Ataraxia anti viral
protection: 0.2

- type: entity
abstract: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,8 @@
Slash: 0.9
Piercing: 0.9
Heat: 0.9
- type: DiseaseProtection #Backmen & Ataraxia anti viral
protection: 0.4

#Deathsquad Hardsuit
- type: entity
Expand Down Expand Up @@ -723,6 +725,8 @@
Heat: 0.80
Radiation: 0.80
Caustic: 0.95
- type: DiseaseProtection #Backmen & Ataraxia anti viral
protection: 1

#MISC. HARDSUITS
#Clown Hardsuit
Expand Down
2 changes: 2 additions & 0 deletions Resources/Prototypes/Entities/Clothing/Head/hoods.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
- Snout
- HeadTop
- HeadSide
- type: DiseaseProtection #Backmen & Ataraxia anti viral
protection: 0.2

- type: entity
parent: ClothingHeadHatHoodBioGeneral
Expand Down
2 changes: 2 additions & 0 deletions Resources/Prototypes/Entities/Clothing/Masks/bandanas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
slots:
- Snout
hideOnToggle: true
- type: DiseaseProtection #Backmen & Ataraxia anti viral
protection: 0.1

- type: entity
parent: ClothingMaskBandanaBase
Expand Down
18 changes: 18 additions & 0 deletions Resources/Prototypes/Entities/Clothing/Masks/masks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
slots:
- Snout
hideOnToggle: true
- type: DiseaseProtection #Backmen & Ataraxia anti viral
protection: 0.1

- type: entity
parent: [ClothingMaskGas, BaseRestrictedContraband]
Expand Down Expand Up @@ -59,6 +61,8 @@
Slash: 0.95
Piercing: 0.95
Heat: 0.95
- type: DiseaseProtection #Backmen & Ataraxia anti viral
protection: 0.2

- type: entity
parent: ClothingMaskGas
Expand Down Expand Up @@ -137,6 +141,8 @@
tags:
- PetWearable
- WhitelistChameleon
- type: DiseaseProtection #Backmen & Ataraxia anti viral
protection: 0.2

- type: entity
parent: ClothingMaskBreathMedical
Expand All @@ -157,6 +163,8 @@
Slash: 0.95
Piercing: 0.95
Heat: 0.95
- type: DiseaseProtection #Backmen & Ataraxia anti viral
protection: 0.2

- type: entity
parent: ClothingMaskPullableBase
Expand Down Expand Up @@ -302,6 +310,8 @@
- type: PhysicalComposition
materialComposition:
Plastic: 25
- type: DiseaseProtection #Backmen & Ataraxia anti viral
protection: 0.2

- type: entity
parent: ClothingMaskBase
Expand Down Expand Up @@ -429,6 +439,8 @@
Slash: 0.95
Piercing: 0.95
Heat: 0.95
- type: DiseaseProtection #Backmen & Ataraxia anti viral
protection: 0.2

- type: entity
parent: ClothingMaskGasERT
Expand All @@ -447,6 +459,8 @@
Slash: 0.80
Piercing: 0.90
Heat: 0.90
- type: DiseaseProtection #Backmen & Ataraxia anti viral
protection: 0.2

- type: entity
parent: ClothingMaskBase
Expand Down Expand Up @@ -579,6 +593,8 @@
- type: Tag
tags:
- WhitelistChameleon
- type: DiseaseProtection #Backmen & Ataraxia anti viral
protection: 0.1

- type: entity
parent: ClothingMaskNeckGaiter
Expand Down Expand Up @@ -665,3 +681,5 @@
- type: EyeProtection
- type: BreathMask
- type: IdentityBlocker
- type: DiseaseProtection #Backmen & Ataraxia anti viral
protection: 0.2
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
sprintModifier: 0.6
- type: HeldSpeedModifier
- type: Item
size: Ginormous
size: Huge
- type: Armor
modifiers:
coefficients:
Expand Down Expand Up @@ -146,6 +146,8 @@
flatReductions:
Heat: 10 # the average lightbulb only does around four damage!
slots: OUTERCLOTHING
- type: DiseaseProtection #Backmen & Ataraxia anti viral
protection: 0.4

- type: entity
abstract: true
Expand Down Expand Up @@ -174,6 +176,8 @@
flatReductions:
Heat: 10 # the average lightbulb only does around four damage!
slots: OUTERCLOTHING
- type: DiseaseProtection #Backmen & Ataraxia anti viral
protection: 0.3

- type: entity
parent: ClothingOuterBase
Expand Down
9 changes: 9 additions & 0 deletions Resources/Prototypes/Entities/Clothing/OuterClothing/bio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
modifiers:
coefficients:
Caustic: 0.5
- type: DiseaseProtection #Backmen & Ataraxia anti viral
protection: 0.4

- type: entity
parent: ClothingOuterBioGeneral
Expand Down Expand Up @@ -67,6 +69,13 @@
sprite: Clothing/OuterClothing/Bio/security.rsi
- type: Clothing
sprite: Clothing/OuterClothing/Bio/security.rsi
- type: Armor #Based on /tg/ but slightly compensated to fit the fact that armor stacks in SS14.
modifiers:
coefficients:
Blunt: 0.75
Slash: 0.75
Piercing: 0.70
Heat: 0.80

- type: entity
parent: ClothingOuterBioGeneral
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -911,6 +911,8 @@
- type: HeldSpeedModifier
- type: ToggleableClothing
clothingPrototype: ClothingHeadHelmetHardsuitDeathsquad
- type: DiseaseProtection #Backmen & Ataraxia anti viral
protection: 1

#CBURN Hardsuit
- type: entity
Expand Down Expand Up @@ -949,6 +951,8 @@
- type: HeldSpeedModifier
- type: ToggleableClothing
clothingPrototype: ClothingHeadHelmetCBURN
- type: DiseaseProtection #Backmen & Ataraxia anti viral
protection: 0.6

#MISC. HARDSUITS
#Clown Hardsuit
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,5 @@
- type: ContainerContainer
containers:
toggleable-clothing: !type:ContainerSlot {}
- type: DiseaseProtection #Backmen & Ataraxia anti viral
protection: 0.4
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@
- type: ExplosionResistance
damageCoefficient: 0.60
- type: GroupExamine
- type: DiseaseProtection #Backmen & Ataraxia anti viral
protection: 0.4

- type: entity
parent: [ClothingOuterBase, AllowSuitStorageClothing]
Expand Down

0 comments on commit 47670e9

Please sign in to comment.