From 1a1392cd5e878be3f7a10364ce98b688d5fe5e62 Mon Sep 17 00:00:00 2001 From: VMSolidus Date: Sun, 1 Sep 2024 19:20:12 -0400 Subject: [PATCH] Diagonal Window Smoothing (#805) # Description Diagonal windows weren't updated to use the new smoothing when we added a bunch of new sprites designed around connected textures. This PR fixes that for all diagonal windows. ![image](https://github.com/user-attachments/assets/4a54a00f-32d6-4365-ad0a-d96ecdbe6114) # Changelog :cl: - add: Diagonal windows now use connected textures. --------- Signed-off-by: VMSolidus --- .../Prototypes/Entities/Structures/Windows/clockwork.yml | 2 +- Resources/Prototypes/Entities/Structures/Windows/mining.yml | 2 +- Resources/Prototypes/Entities/Structures/Windows/plasma.yml | 2 +- .../Prototypes/Entities/Structures/Windows/plastitanium.yml | 2 +- .../Prototypes/Entities/Structures/Windows/reinforced.yml | 4 ++-- Resources/Prototypes/Entities/Structures/Windows/rplasma.yml | 2 +- Resources/Prototypes/Entities/Structures/Windows/ruranium.yml | 2 +- Resources/Prototypes/Entities/Structures/Windows/shuttle.yml | 2 +- Resources/Prototypes/Entities/Structures/Windows/window.yml | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Resources/Prototypes/Entities/Structures/Windows/clockwork.yml b/Resources/Prototypes/Entities/Structures/Windows/clockwork.yml index d6b024bf362..a27f9fa0d29 100644 --- a/Resources/Prototypes/Entities/Structures/Windows/clockwork.yml +++ b/Resources/Prototypes/Entities/Structures/Windows/clockwork.yml @@ -115,7 +115,7 @@ state: state0 - type: IconSmooth mode: Diagonal - key: windows + key: walls base: state - type: Icon sprite: Structures/Windows/clockwork_diagonal.rsi diff --git a/Resources/Prototypes/Entities/Structures/Windows/mining.yml b/Resources/Prototypes/Entities/Structures/Windows/mining.yml index 82d11b732b6..1aa5d46bdfb 100644 --- a/Resources/Prototypes/Entities/Structures/Windows/mining.yml +++ b/Resources/Prototypes/Entities/Structures/Windows/mining.yml @@ -66,7 +66,7 @@ state: state0 - type: IconSmooth mode: Diagonal - key: windows + key: walls base: state - type: Icon sprite: Structures/Windows/mining_diagonal.rsi diff --git a/Resources/Prototypes/Entities/Structures/Windows/plasma.yml b/Resources/Prototypes/Entities/Structures/Windows/plasma.yml index e2766070575..1bd0356e95e 100644 --- a/Resources/Prototypes/Entities/Structures/Windows/plasma.yml +++ b/Resources/Prototypes/Entities/Structures/Windows/plasma.yml @@ -113,7 +113,7 @@ state: state0 - type: IconSmooth mode: Diagonal - key: windows + key: walls base: state - type: Icon sprite: Structures/Windows/plasma_diagonal.rsi diff --git a/Resources/Prototypes/Entities/Structures/Windows/plastitanium.yml b/Resources/Prototypes/Entities/Structures/Windows/plastitanium.yml index cb05f80cd12..af8b6ee1b08 100644 --- a/Resources/Prototypes/Entities/Structures/Windows/plastitanium.yml +++ b/Resources/Prototypes/Entities/Structures/Windows/plastitanium.yml @@ -66,7 +66,7 @@ state: state0 - type: IconSmooth mode: Diagonal - key: windows + key: walls base: state - type: Icon sprite: Structures/Windows/plastitanium_window_diagonal.rsi diff --git a/Resources/Prototypes/Entities/Structures/Windows/reinforced.yml b/Resources/Prototypes/Entities/Structures/Windows/reinforced.yml index d8b6c7d11d8..9914ad83999 100644 --- a/Resources/Prototypes/Entities/Structures/Windows/reinforced.yml +++ b/Resources/Prototypes/Entities/Structures/Windows/reinforced.yml @@ -106,7 +106,7 @@ - type: RCDDeconstructable cost: 4 delay: 4 - fx: EffectRCDDeconstruct4 + fx: EffectRCDDeconstruct4 - type: Destructible thresholds: - trigger: @@ -150,7 +150,7 @@ state: state0 - type: IconSmooth mode: Diagonal - key: windows + key: walls base: state - type: Icon sprite: Structures/Windows/reinforced_window_diagonal.rsi diff --git a/Resources/Prototypes/Entities/Structures/Windows/rplasma.yml b/Resources/Prototypes/Entities/Structures/Windows/rplasma.yml index 543958e18ef..3c35d03a431 100644 --- a/Resources/Prototypes/Entities/Structures/Windows/rplasma.yml +++ b/Resources/Prototypes/Entities/Structures/Windows/rplasma.yml @@ -125,7 +125,7 @@ state: state0 - type: IconSmooth mode: Diagonal - key: windows + key: walls base: state - type: Icon sprite: Structures/Windows/reinforced_plasma_diagonal.rsi diff --git a/Resources/Prototypes/Entities/Structures/Windows/ruranium.yml b/Resources/Prototypes/Entities/Structures/Windows/ruranium.yml index 1b2aeac4080..2796c89c1a0 100644 --- a/Resources/Prototypes/Entities/Structures/Windows/ruranium.yml +++ b/Resources/Prototypes/Entities/Structures/Windows/ruranium.yml @@ -116,7 +116,7 @@ state: state0 - type: IconSmooth mode: Diagonal - key: windows + key: walls base: state - type: Icon sprite: Structures/Windows/reinforced_uranium_diagonal.rsi diff --git a/Resources/Prototypes/Entities/Structures/Windows/shuttle.yml b/Resources/Prototypes/Entities/Structures/Windows/shuttle.yml index 6af5467d941..b1850d6e8fc 100644 --- a/Resources/Prototypes/Entities/Structures/Windows/shuttle.yml +++ b/Resources/Prototypes/Entities/Structures/Windows/shuttle.yml @@ -63,7 +63,7 @@ state: state0 - type: IconSmooth mode: Diagonal - key: windows + key: walls base: state - type: Icon sprite: Structures/Windows/shuttle_window_diagonal.rsi diff --git a/Resources/Prototypes/Entities/Structures/Windows/window.yml b/Resources/Prototypes/Entities/Structures/Windows/window.yml index b8044afc146..c8cc53106be 100644 --- a/Resources/Prototypes/Entities/Structures/Windows/window.yml +++ b/Resources/Prototypes/Entities/Structures/Windows/window.yml @@ -233,7 +233,7 @@ state: state0 - type: IconSmooth mode: Diagonal - key: windows + key: walls base: state - type: Icon sprite: Structures/Windows/window_diagonal.rsi