From 6862d33f8de442440b2d5accdf4519cb38611c8e Mon Sep 17 00:00:00 2001
From: SimpleStation14 <130339894+SimpleStation14@users.noreply.github.com>
Date: Sat, 4 May 2024 16:28:28 -0700
Subject: [PATCH] Mirror: Fix air not existing in corner window tiles (#123)
## Mirror of PR #25926: [Fix air not existing in corner window
tiles](https://github.com/space-wizards/space-station-14/pull/25926)
from
[space-wizards](https://github.com/space-wizards)/[space-station-14](https://github.com/space-wizards/space-station-14)
###### `24fd1a93ff59ca8d6091ca15205c776ec2144146`
PR opened by MACMAN2003 at
2024-03-08 05:40:47 UTC
PR merged by web-flow at
2024-03-08 07:50:34 UTC
---
PR changed 10 files with 50 additions and 0 deletions.
The PR had the following labels:
- No C#
---
Original Body
>
>
>
> ## About the PR
>
> the corner walls are untouched because they didn't have this issue
(they actually held the solution)
> ## Why / Balance
>
> fixes https://github.com/space-wizards/space-station-14/issues/25924
> ## Technical details
>
>
> ## Media
>
>
> - [x] I have added screenshots/videos to this PR showcasing its
changes ingame, **or** this PR does not require an ingame showcase
>
> ## Breaking changes
>
>
> **Changelog**
>
>
>
> :cl:
> - fix: Diagonal windows no longer space you when in a pressurized
environment.
Co-authored-by: MACMAN2003
---
.../Prototypes/Entities/Structures/Windows/clockwork.yml | 5 +++++
Resources/Prototypes/Entities/Structures/Windows/mining.yml | 5 +++++
Resources/Prototypes/Entities/Structures/Windows/plasma.yml | 5 +++++
.../Prototypes/Entities/Structures/Windows/plastitanium.yml | 5 +++++
.../Prototypes/Entities/Structures/Windows/reinforced.yml | 5 +++++
Resources/Prototypes/Entities/Structures/Windows/rplasma.yml | 5 +++++
.../Prototypes/Entities/Structures/Windows/ruranium.yml | 5 +++++
Resources/Prototypes/Entities/Structures/Windows/shuttle.yml | 5 +++++
Resources/Prototypes/Entities/Structures/Windows/uranium.yml | 5 +++++
Resources/Prototypes/Entities/Structures/Windows/window.yml | 5 +++++
10 files changed, 50 insertions(+)
diff --git a/Resources/Prototypes/Entities/Structures/Windows/clockwork.yml b/Resources/Prototypes/Entities/Structures/Windows/clockwork.yml
index 9902edda86f..d6b024bf362 100644
--- a/Resources/Prototypes/Entities/Structures/Windows/clockwork.yml
+++ b/Resources/Prototypes/Entities/Structures/Windows/clockwork.yml
@@ -133,6 +133,11 @@
- FullTileMask
layer:
- GlassLayer
+ - type: Airtight
+ noAirWhenFullyAirBlocked: false
+ airBlockedDirection:
+ - South
+ - East
- type: DamageVisuals
damageOverlay:
sprite: Structures/Windows/cracks_diagonal.rsi
diff --git a/Resources/Prototypes/Entities/Structures/Windows/mining.yml b/Resources/Prototypes/Entities/Structures/Windows/mining.yml
index fc49b9e401c..910c3daae2a 100644
--- a/Resources/Prototypes/Entities/Structures/Windows/mining.yml
+++ b/Resources/Prototypes/Entities/Structures/Windows/mining.yml
@@ -84,6 +84,11 @@
- FullTileMask
layer:
- GlassLayer
+ - type: Airtight
+ noAirWhenFullyAirBlocked: false
+ airBlockedDirection:
+ - South
+ - East
- type: DamageVisuals
damageOverlay:
sprite: Structures/Windows/cracks_diagonal.rsi
diff --git a/Resources/Prototypes/Entities/Structures/Windows/plasma.yml b/Resources/Prototypes/Entities/Structures/Windows/plasma.yml
index 5503ea856c8..0dd2a1b06cc 100644
--- a/Resources/Prototypes/Entities/Structures/Windows/plasma.yml
+++ b/Resources/Prototypes/Entities/Structures/Windows/plasma.yml
@@ -131,6 +131,11 @@
- FullTileMask
layer:
- GlassLayer
+ - type: Airtight
+ noAirWhenFullyAirBlocked: false
+ airBlockedDirection:
+ - South
+ - East
- type: DamageVisuals
damageOverlay:
sprite: Structures/Windows/cracks_diagonal.rsi
diff --git a/Resources/Prototypes/Entities/Structures/Windows/plastitanium.yml b/Resources/Prototypes/Entities/Structures/Windows/plastitanium.yml
index 915faa7f48c..cb05f80cd12 100644
--- a/Resources/Prototypes/Entities/Structures/Windows/plastitanium.yml
+++ b/Resources/Prototypes/Entities/Structures/Windows/plastitanium.yml
@@ -84,6 +84,11 @@
- FullTileMask
layer:
- GlassLayer
+ - type: Airtight
+ noAirWhenFullyAirBlocked: false
+ airBlockedDirection:
+ - South
+ - East
- type: DamageVisuals
damageOverlay:
sprite: Structures/Windows/cracks_diagonal.rsi
diff --git a/Resources/Prototypes/Entities/Structures/Windows/reinforced.yml b/Resources/Prototypes/Entities/Structures/Windows/reinforced.yml
index 18da78f1b5b..1c79644ce4d 100644
--- a/Resources/Prototypes/Entities/Structures/Windows/reinforced.yml
+++ b/Resources/Prototypes/Entities/Structures/Windows/reinforced.yml
@@ -160,6 +160,11 @@
- FullTileMask
layer:
- GlassLayer
+ - type: Airtight
+ noAirWhenFullyAirBlocked: false
+ airBlockedDirection:
+ - South
+ - East
- type: DamageVisuals
damageOverlay:
sprite: Structures/Windows/cracks_diagonal.rsi
diff --git a/Resources/Prototypes/Entities/Structures/Windows/rplasma.yml b/Resources/Prototypes/Entities/Structures/Windows/rplasma.yml
index 9281e0c7ff9..d81204be071 100644
--- a/Resources/Prototypes/Entities/Structures/Windows/rplasma.yml
+++ b/Resources/Prototypes/Entities/Structures/Windows/rplasma.yml
@@ -143,6 +143,11 @@
- FullTileMask
layer:
- GlassLayer
+ - type: Airtight
+ noAirWhenFullyAirBlocked: false
+ airBlockedDirection:
+ - South
+ - East
- type: DamageVisuals
damageOverlay:
sprite: Structures/Windows/cracks_diagonal.rsi
diff --git a/Resources/Prototypes/Entities/Structures/Windows/ruranium.yml b/Resources/Prototypes/Entities/Structures/Windows/ruranium.yml
index 7b486dd3aae..6ed2cc59267 100644
--- a/Resources/Prototypes/Entities/Structures/Windows/ruranium.yml
+++ b/Resources/Prototypes/Entities/Structures/Windows/ruranium.yml
@@ -134,6 +134,11 @@
- FullTileMask
layer:
- GlassLayer
+ - type: Airtight
+ noAirWhenFullyAirBlocked: false
+ airBlockedDirection:
+ - South
+ - East
- type: DamageVisuals
damageOverlay:
sprite: Structures/Windows/cracks_diagonal.rsi
diff --git a/Resources/Prototypes/Entities/Structures/Windows/shuttle.yml b/Resources/Prototypes/Entities/Structures/Windows/shuttle.yml
index 532755dfa3d..df0874b3f46 100644
--- a/Resources/Prototypes/Entities/Structures/Windows/shuttle.yml
+++ b/Resources/Prototypes/Entities/Structures/Windows/shuttle.yml
@@ -81,6 +81,11 @@
- FullTileMask
layer:
- GlassLayer
+ - type: Airtight
+ noAirWhenFullyAirBlocked: false
+ airBlockedDirection:
+ - South
+ - East
- type: DamageVisuals
damageOverlay:
sprite: Structures/Windows/cracks_diagonal.rsi
diff --git a/Resources/Prototypes/Entities/Structures/Windows/uranium.yml b/Resources/Prototypes/Entities/Structures/Windows/uranium.yml
index 4152665fe0a..b956d369fa3 100644
--- a/Resources/Prototypes/Entities/Structures/Windows/uranium.yml
+++ b/Resources/Prototypes/Entities/Structures/Windows/uranium.yml
@@ -129,6 +129,11 @@
- FullTileMask
layer:
- GlassLayer
+ - type: Airtight
+ noAirWhenFullyAirBlocked: false
+ airBlockedDirection:
+ - South
+ - East
- type: DamageVisuals
damageOverlay:
sprite: Structures/Windows/cracks_diagonal.rsi
diff --git a/Resources/Prototypes/Entities/Structures/Windows/window.yml b/Resources/Prototypes/Entities/Structures/Windows/window.yml
index 2ca6b51e5c2..03d7622a23c 100644
--- a/Resources/Prototypes/Entities/Structures/Windows/window.yml
+++ b/Resources/Prototypes/Entities/Structures/Windows/window.yml
@@ -231,6 +231,11 @@
- FullTileMask
layer:
- GlassLayer
+ - type: Airtight
+ noAirWhenFullyAirBlocked: false
+ airBlockedDirection:
+ - South
+ - East
- type: DamageVisuals
damageOverlay:
sprite: Structures/Windows/cracks_diagonal.rsi