Fixes the glass damage overlay (#23128)

* fixes the glass damage overlay

* fix diagonal window
This commit is contained in:
Flareguy
2023-12-28 13:42:44 -06:00
committed by GitHub
parent ff77e830d3
commit 974d0ed6e7
8 changed files with 11 additions and 19 deletions

View File

@@ -44,7 +44,7 @@
- type: Appearance
- type: DamageVisuals
thresholds: [4, 8, 12]
damageDivisor: 36
damageDivisor: 6
trackAllDamage: true
damageOverlay:
sprite: Structures/Windows/cracks.rsi
@@ -54,7 +54,6 @@
- type: entity
parent: ShuttleWindow
id: MiningWindowDiagonal
name: diagonal mining window
suffix: diagonal
placement:
mode: SnapgridCenter

View File

@@ -41,7 +41,7 @@
- type: Appearance
- type: DamageVisuals
thresholds: [4, 8, 12]
damageDivisor: 12
damageDivisor: 3.333
trackAllDamage: true
damageOverlay:
sprite: Structures/Windows/cracks.rsi
@@ -72,7 +72,7 @@
- type: Appearance
- type: DamageVisuals
thresholds: [4, 8, 12]
damageDivisor: 12
damageDivisor: 3.333
trackAllDamage: true
damageOverlay:
sprite: Structures/Windows/cracks_directional.rsi
@@ -98,7 +98,6 @@
- type: entity
parent: PlasmaWindow
id: PlasmaWindowDiagonal
name: diagonal plasma window
suffix: diagonal
placement:
mode: SnapgridCenter

View File

@@ -44,7 +44,7 @@
- type: Appearance
- type: DamageVisuals
thresholds: [4, 8, 12]
damageDivisor: 10
damageDivisor: 4
trackAllDamage: true
damageOverlay:
sprite: Structures/Windows/cracks.rsi
@@ -118,7 +118,6 @@
- type: entity
parent: ReinforcedWindow
id: ReinforcedWindowDiagonal
name: reinforced window diagonal
suffix: diagonal
placement:
mode: SnapgridCenter

View File

@@ -46,7 +46,7 @@
- type: Appearance
- type: DamageVisuals
thresholds: [4, 8, 12]
damageDivisor: 36
damageDivisor: 6
trackAllDamage: true
damageOverlay:
sprite: Structures/Windows/cracks.rsi
@@ -110,7 +110,6 @@
- type: entity
parent: ReinforcedPlasmaWindow
id: ReinforcedPlasmaWindowDiagonal
name: diagonal reinforced plasma window
suffix: diagonal
placement:
mode: SnapgridCenter

View File

@@ -44,7 +44,7 @@
- type: Appearance
- type: DamageVisuals
thresholds: [4, 8, 12]
damageDivisor: 36
damageDivisor: 6
trackAllDamage: true
damageOverlay:
sprite: Structures/Windows/cracks.rsi
@@ -56,7 +56,6 @@
- type: entity
parent: ReinforcedUraniumWindow
id: ReinforcedUraniumWindowDiagonal
name: diagonal reinforced uranium window
suffix: diagonal
placement:
mode: SnapgridCenter

View File

@@ -47,7 +47,7 @@
- type: Appearance
- type: DamageVisuals
thresholds: [4, 8, 12]
damageDivisor: 36
damageDivisor: 28
trackAllDamage: true
damageOverlay:
sprite: Structures/Windows/cracks.rsi
@@ -57,7 +57,6 @@
- type: entity
parent: ShuttleWindow
id: ShuttleWindowDiagonal
name: diagonal shuttle window
suffix: diagonal
placement:
mode: SnapgridCenter

View File

@@ -22,7 +22,7 @@
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 50
damage: 60
behaviors:
- !type:PlaySoundBehavior
sound:
@@ -42,7 +42,7 @@
- type: Appearance
- type: DamageVisuals
thresholds: [4, 8, 12]
damageDivisor: 12
damageDivisor: 3.333
trackAllDamage: true
damageOverlay:
sprite: Structures/Windows/cracks.rsi
@@ -54,7 +54,6 @@
- type: entity
parent: UraniumWindow
id: UraniumWindowDiagonal
name: diagonal uranium window
suffix: diagonal
placement:
mode: SnapgridCenter

View File

@@ -80,7 +80,7 @@
- type: Appearance
- type: DamageVisuals
thresholds: [4, 8, 12]
damageDivisor: 2
damageDivisor: 3.333
trackAllDamage: true
damageOverlay:
sprite: Structures/Windows/cracks.rsi
@@ -169,7 +169,7 @@
- type: Appearance
- type: DamageVisuals
thresholds: [4, 8, 12]
damageDivisor: 2
damageDivisor: 3.333
trackAllDamage: true
damageOverlay:
sprite: Structures/Windows/cracks_directional.rsi
@@ -196,7 +196,6 @@
- type: entity
parent: Window
id: WindowDiagonal
name: window diagonal
suffix: diagonal
placement:
mode: SnapgridCenter