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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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