Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tweak] Правки одежды #54

Merged
merged 4 commits into from
Sep 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Content.Shared/Inventory/InventorySystem.Equip.cs
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ public bool TryEquip(EntityUid actor, EntityUid target, EntityUid itemUid, strin
BreakOnHandChange = true,
BreakOnUserMove = true,
BreakOnTargetMove = true,
BreakOnDamage = false, // White Dream: Do not break on recieving damage
CancelDuplicate = true,
RequireCanInteract = true,
NeedHand = true
Expand Down Expand Up @@ -416,6 +417,7 @@ public bool TryUnequip(
BreakOnHandChange = true,
BreakOnUserMove = true,
BreakOnTargetMove = true,
BreakOnDamage = false, // White Dream: Do not break on recieving damage
CancelDuplicate = true,
RequireCanInteract = true,
NeedHand = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
sprintModifier: 0.6
- type: HeldSpeedModifier
- type: Item
size: Ginormous
size: Huge # White Dream: Bringing back our old hardsuits
- type: Armor
modifiers:
coefficients:
Expand Down
157 changes: 64 additions & 93 deletions Resources/Prototypes/Entities/Clothing/OuterClothing/hardsuits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
Slash: 0.9
Piercing: 0.9
Caustic: 0.9
- type: ClothingSpeedModifier
walkModifier: 0.80
sprintModifier: 0.80
- type: ClothingSpeedModifier # White Dream: Make almost all hardsuits slow a bit less
walkModifier: 0.9
sprintModifier: 0.9
- type: HeldSpeedModifier
- type: ToggleableClothing
clothingPrototype: ClothingHeadHelmetHardsuitBasic
Expand Down Expand Up @@ -55,9 +55,9 @@
Heat: 0.2
Radiation: 0.5
Caustic: 0.5
- type: ClothingSpeedModifier
walkModifier: 0.7
sprintModifier: 0.7
- type: ClothingSpeedModifier # White Dream: Make almost all hardsuits slow a bit less
walkModifier: 0.85
sprintModifier: 0.85
- type: HeldSpeedModifier
- type: ToggleableClothing
clothingPrototype: ClothingHeadHelmetHardsuitAtmos
Expand Down Expand Up @@ -94,9 +94,9 @@
Shock: 0.8
Caustic: 0.5
Radiation: 0.2
- type: ClothingSpeedModifier
walkModifier: 0.7
sprintModifier: 0.7
- type: ClothingSpeedModifier # White Dream: Make almost all hardsuits slow a bit less
walkModifier: 0.85
sprintModifier: 0.85
- type: HeldSpeedModifier
- type: ToggleableClothing
clothingPrototype: ClothingHeadHelmetHardsuitEngineering
Expand Down Expand Up @@ -125,9 +125,9 @@
Piercing: 0.9
Radiation: 0.3 #salv is supposed to have radiation hazards in the future
Caustic: 0.8
- type: ClothingSpeedModifier
- type: ClothingSpeedModifier # White Dream: Make almost all hardsuits slow a bit less
walkModifier: 0.9
sprintModifier: 0.8
sprintModifier: 0.9
- type: HeldSpeedModifier
- type: ToggleableClothing
clothingPrototype: ClothingHeadHelmetHardsuitSpatio
Expand Down Expand Up @@ -156,9 +156,9 @@
Piercing: 0.5
Radiation: 0.3
Caustic: 0.7
- type: ClothingSpeedModifier
walkModifier: 0.75
sprintModifier: 0.75
- type: ClothingSpeedModifier # White Dream: Make almost all hardsuits slow a bit less
walkModifier: 0.85
sprintModifier: 0.85
- type: HeldSpeedModifier
- type: ToggleableClothing
clothingPrototype: ClothingHeadHelmetHardsuitSalvage
Expand Down Expand Up @@ -194,7 +194,6 @@
- type: ToggleableClothing
clothingPrototype: ClothingHeadHelmetHardsuitVoidParamed


- type: entity
parent: ClothingOuterHardsuitBase
id: ClothingOuterHardsuitMaxim
Expand Down Expand Up @@ -249,9 +248,9 @@
Slash: 0.6
Piercing: 0.6
Caustic: 0.7
- type: ClothingSpeedModifier
walkModifier: 0.75
sprintModifier: 0.75
- type: ClothingSpeedModifier # White Dream: Make almost all hardsuits slow a bit less
walkModifier: 0.85
sprintModifier: 0.85
- type: HeldSpeedModifier
- type: ToggleableClothing
clothingPrototype: ClothingHeadHelmetHardsuitSecurity
Expand All @@ -260,7 +259,7 @@

#Brigmedic Hardsuit
- type: entity
parent: ClothingOuterHardsuitBase
parent: ClothingOuterHardsuitSecurity
id: ClothingOuterHardsuitBrigmedic
name: corpsman hardsuit # DeltaV - rename brigmedic to corpsman
description: Special hardsuit of the guardian angel of the brig. It is the medical version of the security hardsuit. # I will fix the rest of this entry later when I resprite sec suits
Expand All @@ -278,18 +277,12 @@
Blunt: 0.8
Slash: 0.8
Piercing: 0.7
- type: ClothingSpeedModifier
walkModifier: 0.65
sprintModifier: 0.65
- type: HeldSpeedModifier
- type: ToggleableClothing
clothingPrototype: ClothingHeadHelmetHardsuitBrigmedic
- type: StaminaDamageResistance
coefficient: 0.75 # 25%

#Warden's Hardsuit
- type: entity
parent: ClothingOuterHardsuitBase
parent: ClothingOuterHardsuitSecurity
id: ClothingOuterHardsuitWarden
name: warden's hardsuit
description: A specialized riot suit geared to combat low pressure environments.
Expand All @@ -303,25 +296,51 @@
lowPressureMultiplier: 1000
- type: ExplosionResistance
damageCoefficient: 0.4
- type: Armor
- type: Armor # White Dream: Changed defense values to a bit less protective
modifiers:
coefficients:
Blunt: 0.5
Slash: 0.6
Piercing: 0.6
Caustic: 0.7
- type: ClothingSpeedModifier
walkModifier: 0.7
sprintModifier: 0.7
- type: HeldSpeedModifier
Blunt: 0.55
Slash: 0.55
Piercing: 0.55
Caustic: 0.65
Heat: 0.65
- type: ToggleableClothing
clothingPrototype: ClothingHeadHelmetHardsuitWarden
- type: StaminaDamageResistance
coefficient: 0.65 # 35%

#Head of Security's Hardsuit
- type: entity
parent: ClothingOuterHardsuitSecurity
id: ClothingOuterHardsuitSecurityRed
name: head of security's hardsuit
description: A special suit that protects against hazardous, low pressure environments. Has an additional layer of armor.
components:
- type: Sprite
sprite: Clothing/OuterClothing/Hardsuits/security-red.rsi
- type: Clothing
sprite: Clothing/OuterClothing/Hardsuits/security-red.rsi
- type: PressureProtection
highPressureMultiplier: 0.45
lowPressureMultiplier: 1000
- type: ExplosionResistance
damageCoefficient: 0.6
- type: Armor
modifiers:
coefficients:
Blunt: 0.6
Slash: 0.5
Piercing: 0.5
Radiation: 0.5
Caustic: 0.6
- type: ToggleableClothing
clothingPrototype: ClothingHeadHelmetHardsuitSecurityRed
- type: StaminaDamageResistance
coefficient: 0.5 # 50%

#Captain's Hardsuit
- type: entity
parent: ClothingOuterHardsuitBase
parent: ClothingOuterHardsuitWarden
id: ClothingOuterHardsuitCap
name: captain's armored spacesuit
description: A formal armored spacesuit, made for the station's captain.
Expand All @@ -335,19 +354,18 @@
lowPressureMultiplier: 1000
- type: ExplosionResistance
damageCoefficient: 0.5
- type: Armor
- type: Armor # White Dream: Cap hardsuit is no longer a fucking joke.
modifiers:
coefficients:
Blunt: 0.8
Slash: 0.8
Blunt: 0.6
Slash: 0.6
Piercing: 0.6
Heat: 0.5
Radiation: 0.5
Caustic: 0.6
- type: ClothingSpeedModifier
walkModifier: 0.8
sprintModifier: 0.8
- type: HeldSpeedModifier
- type: ToggleableClothing
clothingPrototype: ClothingHeadHelmetHardsuitCap
- type: StaminaDamageResistance
Expand Down Expand Up @@ -378,9 +396,9 @@
Heat: 0.4
Radiation: 0.0
Caustic: 0.7
- type: ClothingSpeedModifier
walkModifier: 0.75
sprintModifier: 0.8
- type: ClothingSpeedModifier # White Dream: Make almost all hardsuits slow a bit less
walkModifier: 0.85
sprintModifier: 0.85
- type: HeldSpeedModifier
- type: ToggleableClothing
clothingPrototype: ClothingHeadHelmetHardsuitEngineeringWhite
Expand Down Expand Up @@ -440,9 +458,9 @@
Caustic: 0.2
- type: ExplosionResistance
damageCoefficient: 0.1
- type: ClothingSpeedModifier
walkModifier: 0.75
sprintModifier: 0.75
- type: ClothingSpeedModifier # White Dream: Make almost all hardsuits slow a bit less
walkModifier: 0.8
sprintModifier: 0.8
- type: HeldSpeedModifier
- type: Item
size: Normal
Expand All @@ -459,39 +477,6 @@
- type: StaminaDamageResistance
coefficient: 0.75 # 25% as in "shock resistance" :trollface:

#Head of Security's Hardsuit
- type: entity
parent: ClothingOuterHardsuitSecurity
id: ClothingOuterHardsuitSecurityRed
name: head of security's hardsuit
description: A special suit that protects against hazardous, low pressure environments. Has an additional layer of armor.
components:
- type: Sprite
sprite: Clothing/OuterClothing/Hardsuits/security-red.rsi
- type: Clothing
sprite: Clothing/OuterClothing/Hardsuits/security-red.rsi
- type: PressureProtection
highPressureMultiplier: 0.45
lowPressureMultiplier: 1000
- type: ExplosionResistance
damageCoefficient: 0.6
- type: Armor
modifiers:
coefficients:
Blunt: 0.6
Slash: 0.5
Piercing: 0.5
Radiation: 0.5
Caustic: 0.6
- type: ClothingSpeedModifier
walkModifier: 0.8
sprintModifier: 0.8
- type: HeldSpeedModifier
- type: ToggleableClothing
clothingPrototype: ClothingHeadHelmetHardsuitSecurityRed
- type: StaminaDamageResistance
coefficient: 0.5 # 50%

#Luxury Mining Hardsuit
- type: entity
parent: ClothingOuterHardsuitBase
Expand Down Expand Up @@ -533,8 +518,6 @@
components:
- type: Sprite
sprite: Clothing/OuterClothing/Hardsuits/syndicate.rsi
- type: Item
size: Huge
- type: Clothing
sprite: Clothing/OuterClothing/Hardsuits/syndicate.rsi
- type: PressureProtection
Expand Down Expand Up @@ -589,8 +572,6 @@
- Hardsuit
- WhitelistChameleon
- HidesHarpyWings
- type: StaminaDamageResistance
coefficient: 0.5 # 50%

#Syndicate Elite Hardsuit
- type: entity
Expand Down Expand Up @@ -619,8 +600,6 @@
Heat: 0.2
Radiation: 0.01
Caustic: 0.5
- type: Item
size: Huge
- type: ClothingSpeedModifier
walkModifier: 1.0
sprintModifier: 1.0
Expand Down Expand Up @@ -843,8 +822,6 @@
sprite: Clothing/OuterClothing/Hardsuits/ERTSuits/ertleader.rsi
- type: ToggleableClothing
clothingPrototype: ClothingHeadHelmetHardsuitERTLeader
- type: StaminaDamageResistance
coefficient: 0.5 # 50%

#ERT Chaplain Hardsuit
- type: entity
Expand All @@ -859,8 +836,6 @@
sprite: Clothing/OuterClothing/Hardsuits/ERTSuits/ertchaplain.rsi
- type: ToggleableClothing
clothingPrototype: ClothingHeadHelmetHardsuitERTChaplain
- type: StaminaDamageResistance
coefficient: 0.5 # 50%

#ERT Engineer Hardsuit
- type: entity
Expand Down Expand Up @@ -891,8 +866,6 @@
sprite: Clothing/OuterClothing/Hardsuits/ERTSuits/ertmedical.rsi
- type: ToggleableClothing
clothingPrototype: ClothingHeadHelmetHardsuitERTMedical
- type: StaminaDamageResistance
coefficient: 0.5 # 50%

#ERT Security Hardsuit
- type: entity
Expand All @@ -911,8 +884,6 @@
tags:
- Hardsuit
- WhitelistChameleon
- type: StaminaDamageResistance
coefficient: 0.5 # 50%

#ERT Janitor Hardsuit
- type: entity
Expand Down
2 changes: 0 additions & 2 deletions Resources/Prototypes/Entities/Clothing/base_clothing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
- type: StaticPrice
price: 10
- type: Clothing
equipDelay: 0.5
unequipDelay: 0.5

- type: entity
abstract: true
Expand Down
2 changes: 0 additions & 2 deletions Resources/Prototypes/Entities/Objects/Devices/translators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
enabled: false
- type: Clothing # To allow equipping translators on the neck slot
slots: [neck]
equipDelay: 0.3
unequipDelay: 0.3
quickEquip: false # Would conflict

# Base translator that uses a power cell. Starts with an empty slot.
Expand Down
Loading