Port WZ: Make structures, crates, harder to break. Adjust structure damage values (#3455)

This commit is contained in:
KaiserMaus 2025-12-19 18:06:05 +00:00 • committed by GitHub
parent 3372b953a5
commit f08cfcd002
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 28 additions and 18 deletions

View file

@ -1,9 +1,9 @@
ent-BaseReinforcedSecretDoor = укрепленная стена
ent-BaseReinforcedSecretDoor = укреплённая стена
.desc = Удерживает воздух внутри, а ассистентов снаружи.
.suffix = Потайная дверь
ent-ReinforcedSecretDoorAssembly = каркас укрепленной секретной двери
.desc = Оно пока что не открывается и не закрывается. Но определенно сможет вас раздавить.
ent-ReinforcedSecretDoor = укрепленная стена
ent-ReinforcedSecretDoor = укреплённая стена
.desc = { ent-BaseSecretDoor.desc }
ent-BaseReinforcedSecretDoorAssembly = каркас укрепленной потайной двери
.desc = Он открывается, он закрывается, и он может вас раздавить.

View file

@ -13,17 +13,17 @@
- type: damageModifierSet
id: StructuralMetallicStrong
coefficients:
Blunt: 0.5
Slash: 0.5
Piercing: 0.5
Blunt: 0.75
Slash: 0.75
Piercing: 0.75
Shock: 1.2
Structural: 0.25
Structural: 0.5
flatReductions:
Blunt: 10
Slash: 10
Piercing: 10
Heat: 10
Structural: 10
Blunt: 25 # TODO: reduce this once PKA damage is reduced.
Slash: 20
Piercing: 20
Heat: 15
Structural: 25
- type: damageModifierSet
id: StructuralMetallic
@ -36,7 +36,7 @@
Slash: 10
Piercing: 10
Heat: 10
Structural: 10
Structural: 15
- type: damageModifierSet
id: Rock

View file

@ -375,7 +375,8 @@
# soundHit: Waiting on serv3
damage:
types:
Heat: 14
Heat: 15
Structural: 35 # Sunrise-added
# mining laser real
- type: GatheringProjectile
- type: Tag
@ -552,7 +553,7 @@
damage:
types:
Blunt: 15
Structural: 30
Structural: 20
# Short lifespan
- type: TimedDespawn
lifetime: 0.22 # roughly 5.5 tiles

View file

@ -26,7 +26,7 @@
groups:
Brute: 10
types:
Structural: 30
Structural: 25
- type: Item
size: Normal
shape:
@ -163,7 +163,7 @@
types:
Blunt: 6
Slash: 2
Structural: 30
Structural: 25
- type: GunRequiresWield
- type: DisarmMalus
- type: Prying

View file

@ -43,7 +43,7 @@
isPlaceable: false # defaults to closed.
- type: Damageable
damageContainer: StructuralInorganic
damageModifierSet: Metallic
damageModifierSet: StructuralMetallic
- type: Destructible
thresholds:
- trigger:

View file

@ -48,6 +48,10 @@
path: /Audio/Effects/break_stone.ogg
params:
volume: -6
- type: Gatherable
toolWhitelist:
tags:
- Pickaxe
- type: Fixtures
fixtures:
fix1:
@ -94,6 +98,11 @@
intensitySlope: 2.5
maxIntensity: 10
canCreateVacuum: false
# Sunrise-start
- type: Gatherable # nasty hack to cover the fact that this needs to not be single-hit destruction.
toolWhitelist:
tags: [ ]
# Sunrise-end
- type: Destructible
thresholds:
- trigger:

View file

@ -16,7 +16,7 @@
types:
Heat: 8
Piercing: 2
Structural: 40
Structural: 30
deactivatedSecret: true
- type: Sprite
sprite: _Sunrise/Objects/Weapons/Melee/energy_pickaxe.rsi