From: Flareguy <78941145+Flareguy@users.noreply.github.com> Date: Thu, 28 Dec 2023 19:42:44 +0000 (-0600) Subject: Fixes the glass damage overlay (#23128) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=974d0ed6e72d292610d853dfde26c69ddf023286;p=space-station-14.git Fixes the glass damage overlay (#23128) * fixes the glass damage overlay * fix diagonal window --- diff --git a/Resources/Prototypes/Entities/Structures/Windows/mining.yml b/Resources/Prototypes/Entities/Structures/Windows/mining.yml index 286cb895da..0004cf4ec0 100644 --- a/Resources/Prototypes/Entities/Structures/Windows/mining.yml +++ b/Resources/Prototypes/Entities/Structures/Windows/mining.yml @@ -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 diff --git a/Resources/Prototypes/Entities/Structures/Windows/plasma.yml b/Resources/Prototypes/Entities/Structures/Windows/plasma.yml index 4e128c46e1..d69545f8d2 100644 --- a/Resources/Prototypes/Entities/Structures/Windows/plasma.yml +++ b/Resources/Prototypes/Entities/Structures/Windows/plasma.yml @@ -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 diff --git a/Resources/Prototypes/Entities/Structures/Windows/reinforced.yml b/Resources/Prototypes/Entities/Structures/Windows/reinforced.yml index a4d423acfe..c7837a5c6c 100644 --- a/Resources/Prototypes/Entities/Structures/Windows/reinforced.yml +++ b/Resources/Prototypes/Entities/Structures/Windows/reinforced.yml @@ -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 diff --git a/Resources/Prototypes/Entities/Structures/Windows/rplasma.yml b/Resources/Prototypes/Entities/Structures/Windows/rplasma.yml index 97f77b8d8f..bdc75b14a9 100644 --- a/Resources/Prototypes/Entities/Structures/Windows/rplasma.yml +++ b/Resources/Prototypes/Entities/Structures/Windows/rplasma.yml @@ -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 diff --git a/Resources/Prototypes/Entities/Structures/Windows/ruranium.yml b/Resources/Prototypes/Entities/Structures/Windows/ruranium.yml index 00aeade04c..84c978fff0 100644 --- a/Resources/Prototypes/Entities/Structures/Windows/ruranium.yml +++ b/Resources/Prototypes/Entities/Structures/Windows/ruranium.yml @@ -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 diff --git a/Resources/Prototypes/Entities/Structures/Windows/shuttle.yml b/Resources/Prototypes/Entities/Structures/Windows/shuttle.yml index 7522d5b6e9..835f5ce528 100644 --- a/Resources/Prototypes/Entities/Structures/Windows/shuttle.yml +++ b/Resources/Prototypes/Entities/Structures/Windows/shuttle.yml @@ -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 diff --git a/Resources/Prototypes/Entities/Structures/Windows/uranium.yml b/Resources/Prototypes/Entities/Structures/Windows/uranium.yml index b4801e3a28..a11ca62586 100644 --- a/Resources/Prototypes/Entities/Structures/Windows/uranium.yml +++ b/Resources/Prototypes/Entities/Structures/Windows/uranium.yml @@ -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 diff --git a/Resources/Prototypes/Entities/Structures/Windows/window.yml b/Resources/Prototypes/Entities/Structures/Windows/window.yml index 3192c72606..12552dbf4f 100644 --- a/Resources/Prototypes/Entities/Structures/Windows/window.yml +++ b/Resources/Prototypes/Entities/Structures/Windows/window.yml @@ -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