From c8effa5d3227e21520e12e727b70d55fbe32655c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mustafa=20SAVA=C5=9E?= Date: Thu, 12 Mar 2026 02:28:09 +0300 Subject: [PATCH 1/3] f'x --- EXILED/Exiled.API/Enums/DoorType.cs | 5 +++++ EXILED/Exiled.API/Extensions/DoorTypeExtensions.cs | 2 +- EXILED/Exiled.API/Features/Doors/Door.cs | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/EXILED/Exiled.API/Enums/DoorType.cs b/EXILED/Exiled.API/Enums/DoorType.cs index 5863d6e79a..5e99c32a22 100644 --- a/EXILED/Exiled.API/Enums/DoorType.cs +++ b/EXILED/Exiled.API/Enums/DoorType.cs @@ -374,5 +374,10 @@ public enum DoorType /// Represents the door in . /// HczLoadingBay, + + /// + /// Represents a spawnable unsecured gate. + /// + SpawnableUnsecuredGate, } } \ No newline at end of file diff --git a/EXILED/Exiled.API/Extensions/DoorTypeExtensions.cs b/EXILED/Exiled.API/Extensions/DoorTypeExtensions.cs index a4380d81cf..d319080d03 100644 --- a/EXILED/Exiled.API/Extensions/DoorTypeExtensions.cs +++ b/EXILED/Exiled.API/Extensions/DoorTypeExtensions.cs @@ -20,7 +20,7 @@ public static class DoorTypeExtensions /// The door to be checked. /// Returns whether the is a gate. public static bool IsGate(this DoorType door) => door is DoorType.GateA or DoorType.GateB or DoorType.Scp914Gate or - DoorType.Scp049Gate or DoorType.GR18Gate or DoorType.SurfaceGate or DoorType.Scp173Gate; + DoorType.Scp049Gate or DoorType.GR18Gate or DoorType.SurfaceGate or DoorType.Scp173Gate or DoorType.Scp173NewGate or DoorType.CheckpointGateA or DoorType.CheckpointGateB or DoorType.UnknownGate; /// /// Checks if a door type is a checkpoint. diff --git a/EXILED/Exiled.API/Features/Doors/Door.cs b/EXILED/Exiled.API/Features/Doors/Door.cs index 81dcb427f4..e62118b177 100644 --- a/EXILED/Exiled.API/Features/Doors/Door.cs +++ b/EXILED/Exiled.API/Features/Doors/Door.cs @@ -651,6 +651,7 @@ private DoorType GetDoorType() ElevatorGroup.LczB01 or ElevatorGroup.LczB02 => DoorType.ElevatorLczB, _ => DoorType.UnknownElevator, }, + "Spawnable Unsecured Pryable GateDoor" => DoorType.SpawnableUnsecuredGate, _ => DoorType.UnknownDoor, }; } From 801e784b5574f0459253f789caa06c9a1c3e8855 Mon Sep 17 00:00:00 2001 From: MS-crew <100300664+MS-crew@users.noreply.github.com> Date: Thu, 12 Mar 2026 04:17:38 +0300 Subject: [PATCH 2/3] Update DoorTypeExtensions.cs --- EXILED/Exiled.API/Extensions/DoorTypeExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EXILED/Exiled.API/Extensions/DoorTypeExtensions.cs b/EXILED/Exiled.API/Extensions/DoorTypeExtensions.cs index d319080d03..dc216ea06d 100644 --- a/EXILED/Exiled.API/Extensions/DoorTypeExtensions.cs +++ b/EXILED/Exiled.API/Extensions/DoorTypeExtensions.cs @@ -20,7 +20,7 @@ public static class DoorTypeExtensions /// The door to be checked. /// Returns whether the is a gate. public static bool IsGate(this DoorType door) => door is DoorType.GateA or DoorType.GateB or DoorType.Scp914Gate or - DoorType.Scp049Gate or DoorType.GR18Gate or DoorType.SurfaceGate or DoorType.Scp173Gate or DoorType.Scp173NewGate or DoorType.CheckpointGateA or DoorType.CheckpointGateB or DoorType.UnknownGate; + DoorType.Scp049Gate or DoorType.GR18Gate or DoorType.SurfaceGate or DoorType.Scp173Gate or DoorType.Scp173NewGate or DoorType.CheckpointGateA or DoorType.CheckpointGateB or DoorType.UnknownGate or DoorType.SpawnableUnsecuredGate; /// /// Checks if a door type is a checkpoint. From f883bd199b6b424865bec0280c9115f96c17221a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mustafa=20SAVA=C5=9E?= Date: Thu, 12 Mar 2026 17:02:11 +0300 Subject: [PATCH 3/3] ordering --- EXILED/Exiled.API/Extensions/DoorTypeExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EXILED/Exiled.API/Extensions/DoorTypeExtensions.cs b/EXILED/Exiled.API/Extensions/DoorTypeExtensions.cs index dc216ea06d..1124771480 100644 --- a/EXILED/Exiled.API/Extensions/DoorTypeExtensions.cs +++ b/EXILED/Exiled.API/Extensions/DoorTypeExtensions.cs @@ -20,7 +20,7 @@ public static class DoorTypeExtensions /// The door to be checked. /// Returns whether the is a gate. public static bool IsGate(this DoorType door) => door is DoorType.GateA or DoorType.GateB or DoorType.Scp914Gate or - DoorType.Scp049Gate or DoorType.GR18Gate or DoorType.SurfaceGate or DoorType.Scp173Gate or DoorType.Scp173NewGate or DoorType.CheckpointGateA or DoorType.CheckpointGateB or DoorType.UnknownGate or DoorType.SpawnableUnsecuredGate; + DoorType.Scp049Gate or DoorType.GR18Gate or DoorType.SurfaceGate or DoorType.Scp173Gate or DoorType.Scp173NewGate or DoorType.CheckpointGateA or DoorType.CheckpointGateB or DoorType.SpawnableUnsecuredGate or DoorType.UnknownGate; /// /// Checks if a door type is a checkpoint.