Skip to content
This repository has been archived by the owner on Jan 19, 2025. It is now read-only.

[Resonance] SCPSL 14.0 #2801

Draft
wants to merge 13 commits into
base: dev
Choose a base branch
from
5 changes: 5 additions & 0 deletions Exiled.API/Enums/AdminToyType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,10 @@ public enum AdminToyType
/// ShootingTarget toy.
/// </summary>
ShootingTarget,

/// <summary>
/// Speaker toy.
/// </summary>
Speaker,
}
}
2 changes: 0 additions & 2 deletions Exiled.API/Enums/BloodType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ namespace Exiled.API.Enums
/// <summary>
/// Unique identifier for the different types of blood decals.
/// </summary>
/// <seealso cref="Features.Map.PlaceBlood(UnityEngine.Vector3, UnityEngine.Vector3)"/>
/// <seealso cref="Features.Player.PlaceBlood(UnityEngine.Vector3)"/>
public enum BloodType
{
/// <summary>
Expand Down
13 changes: 13 additions & 0 deletions Exiled.API/Enums/CameraType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,19 @@ public enum CameraType
Hcz173ContChamber,
Hcz173Hallway,
HczCurve,
HczJunkMain,
HczJunkHallway,
HczCornerDeep,
HczDss08,
HczMicroHidStairs,
HczPipesHallway,
HczWarheadStarboardElevator,
HczMicroHidMain,
HczWarheadTopElevators,
HczWarheadConnector,
HczWarheadPortElevator,
HczMicroHidLab,
HczPipesMain,
#endregion
}
}
5 changes: 5 additions & 0 deletions Exiled.API/Enums/DamageType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -249,5 +249,10 @@ public enum DamageType
/// Damage caused by the marshmallow man.
/// </summary>
Marshmallow,

/// <summary>
/// Damage caused by <see cref="ItemType.SCP1344"/>.
/// </summary>
Scp1344,
}
}
43 changes: 31 additions & 12 deletions Exiled.API/Enums/DoorType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@

namespace Exiled.API.Enums
{
using Exiled.API.Features.Doors;

using static Interactables.Interobjects.ElevatorManager;
using Features.Doors;
using Interactables.Interobjects;

/// <summary>
/// Unique identifier for the different types of doors.
Expand Down Expand Up @@ -158,20 +157,25 @@ public enum DoorType
/// </summary>
HeavyContainmentDoor,

/// <summary>
/// Represents the new door style introduced in 14.0 (Bulk Doors in Heavy).
/// </summary>
HeavyBulkDoor,

/// <summary>
/// Represents the HID door.
/// </summary>
HID,
HidChamber,

/// <summary>
/// Represents the HID_LEFT door.
/// Represents the HID_UPPER door.
/// </summary>
HIDLeft,
HidUpper,

/// <summary>
/// Represents the HID_RIGHT door.
/// Represents the HID_LOWER door.
/// </summary>
HIDRight,
HidLower,

/// <summary>
/// Represents the INTERCOM door.
Expand Down Expand Up @@ -229,9 +233,14 @@ public enum DoorType
Scp330Chamber,

/// <summary>
/// Represents the Gate in the Checkpoint between EZ and HCZ.
/// Represents the Gate in the Checkpoint between EZ and HCZ (Checkpoint A).
/// </summary>
CheckpointGateA,

/// <summary>
/// Represents the Gate in the Checkpoint between EZ and HCZ (Checkpoint B).
/// </summary>
CheckpointGate,
CheckpointGateB,

/// <summary>
/// Represents the Gate in the Checkpoint between EZ and HCZ.
Expand Down Expand Up @@ -269,9 +278,14 @@ public enum DoorType
ElevatorGateB,

/// <summary>
/// Represents the Elevator door for <see cref="ElevatorGroup.Nuke"/>.
/// Represents the Elevator door for <see cref="ElevatorGroup.Nuke01"/>.
/// </summary>
ElevatorNuke1,

/// <summary>
/// Represents the Elevator door for <see cref="ElevatorGroup.Nuke02"/>.
/// </summary>
ElevatorNuke,
ElevatorNuke2,

/// <summary>
/// Represents the Elevator door for <see cref="ElevatorGroup.Scp049"/>.
Expand Down Expand Up @@ -307,5 +321,10 @@ public enum DoorType
/// Represents the New Gate where Scp173 spawn in the <see cref="RoomType.Hcz049"/>.
/// </summary>
Scp173NewGate,

/// <summary>
/// Represents the ESCAPE_FINAL door.
/// </summary>
EscapeFinal,
}
}
22 changes: 21 additions & 1 deletion Exiled.API/Enums/EffectType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Exiled.API.Enums
{
using System;

using Exiled.API.Extensions;
using Extensions;

/// <summary>
/// Status effects as enum.
Expand Down Expand Up @@ -239,5 +239,25 @@ public enum EffectType
/// <see cref="CustomPlayerEffects.Slowness"/>.
/// </summary>
Slowness,

/// <summary>
/// <see cref="CustomPlayerEffects.Scp1344"/>.
/// </summary>
Scp1344,

/// <summary>
/// <see cref="CustomPlayerEffects.SeveredEyes"/>.
/// </summary>
SeveredEyes,

/// <summary>
/// <see cref="CustomPlayerEffects.PitDeath"/>.
/// </summary>
PitDeath,

/// <summary>
/// <see cref="CustomPlayerEffects.Blurred"/>.
/// </summary>
Blurred,
}
}
9 changes: 7 additions & 2 deletions Exiled.API/Enums/ElevatorType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,14 @@ public enum ElevatorType : byte
GateB,

/// <summary>
/// Heavy Containment Zone Nuke elevator.
/// Heavy Containment Zone Nuke 1 elevator.
/// </summary>
Nuke,
Nuke1,

/// <summary>
/// Heavy Containment Zone Nuke 2 elevator.
/// </summary>
Nuke2,

/// <summary>
/// Heavy Containment Zone SCP-049 elevator.
Expand Down
17 changes: 3 additions & 14 deletions Exiled.API/Enums/RespawnEffectType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,30 +7,19 @@

namespace Exiled.API.Enums
{
using Features;

using PlayerRoles;

/// <summary>
/// Layers game respawn effects.
/// </summary>
/// <seealso cref="Respawn.PlayEffect(RespawnEffectType)"/>
/// <seealso cref="Respawn.PlayEffects(RespawnEffectType[])"/>
public enum RespawnEffectType : byte
public enum RespawnEffectType
{
/// <summary>
/// Plays the <see cref="Side.ChaosInsurgency"/> music to alive <see cref="RoleTypeId.ClassD"/> and <see cref="Side.ChaosInsurgency"/>.
/// </summary>
PlayChaosInsurgencyMusic = 0,

/// <summary>
/// Summons the <see cref="Side.ChaosInsurgency"/> van.
/// </summary>
SummonChaosInsurgencyVan = 128,
SummonChaosInsurgencyVan,

/// <summary>
/// Summons the NTF chopper.
/// </summary>
SummonNtfChopper = 129,
SummonNtfChopper,
}
}
51 changes: 48 additions & 3 deletions Exiled.API/Enums/RoomType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,15 @@ public enum RoomType
EzGateB,

/// <summary>
/// Entrance Zone's Shelter rfoom.
/// Entrance Zone's Shelter room.
/// </summary>
EzShelter,

/// <summary>
/// Entrance Zone's straight hall with Chef's locked room.
/// </summary>
EzChef,

/// <summary>
/// The Pocket Dimension.
/// </summary>
Expand All @@ -265,9 +270,14 @@ public enum RoomType
Lcz330,

/// <summary>
/// Entrance Zone's straight hall before the entrance/heavy checkpoint.
/// Entrance Zone's straight hall before the entrance/heavy checkpoint (Checkpoint Hallway A).
/// </summary>
EzCheckpointHallway,
EzCheckpointHallwayA,

/// <summary>
/// Entrance Zone's straight hall before the entrance/heavy checkpoint (Checkpoint Hallway B).
/// </summary>
EzCheckpointHallwayB,

/// <summary>
/// Heavy Containment Zone's test room's straight hall.
Expand All @@ -283,5 +293,40 @@ public enum RoomType
/// Heavy Containment Elevator Zone's System B room.
/// </summary>
HczElevatorB,

/// <summary>
/// Waterfall Room.
/// </summary>
HczCrossRoomWater,

/// <summary>
/// Heavy Containment Corner Room.
/// </summary>
HczCornerDeep,

/// <summary>
/// Heavy Containment Junk Intersection.
/// </summary>
HczIntersectionJunk,

/// <summary>
/// Intersection in Heavy Containment.
/// </summary>
HczIntersection,

/// <summary>
/// Straight Hallway variant in Heavy Containment.
/// </summary>
HczStraightC,

/// <summary>
/// Straight Hallway with Pipes in Heavy Containment.
/// </summary>
HczStraightPipeRoom,

/// <summary>
/// Straight Hallway variant in Heavy Containment.
/// </summary>
HczStraightVariant,
}
}
35 changes: 35 additions & 0 deletions Exiled.API/Enums/SpawnableWave.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
// -----------------------------------------------------------------------
// <copyright file="SpawnableWave.cs" company="Exiled Team">
// Copyright (c) Exiled Team. All rights reserved.
// Licensed under the CC BY-SA 3.0 license.
// </copyright>
// -----------------------------------------------------------------------

namespace Exiled.API.Enums
{
/// <summary>
/// All spawnable factions and mini-waves available.
/// </summary>
public enum SpawnableWave
{
/// <summary>
/// Represents a normal spawnable Ntf wave.
/// </summary>
NtfWave,

/// <summary>
/// Represents a spawnable smaller Ntf wave.
/// </summary>
NtfMiniWave,

/// <summary>
/// Represents a normal spawnable Chaos wave.
/// </summary>
ChaosWave,

/// <summary>
/// Represents a spawnable smaller Chaos wave.
/// </summary>
ChaosMiniWave,
}
}
7 changes: 6 additions & 1 deletion Exiled.API/Enums/ZoneType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,14 @@ public enum ZoneType
/// </summary>
Surface = 8,

/// <summary>
/// The Pocket Dimension.
/// </summary>
Pocket = 16,

/// <summary>
/// An unknown type of zone.
/// </summary>
Other = 16,
Other = 32,
}
}
1 change: 1 addition & 0 deletions Exiled.API/Extensions/DamageTypeExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public static class DamageTypeExtensions
{ DeathTranslations.MicroHID, DamageType.MicroHid },
{ DeathTranslations.Hypothermia, DamageType.Hypothermia },
{ DeathTranslations.MarshmallowMan, DamageType.Marshmallow },
{ DeathTranslations.Scp1344, DamageType.Scp1344 },
};

private static readonly Dictionary<ItemType, DamageType> ItemConversionInternal = new()
Expand Down
2 changes: 1 addition & 1 deletion Exiled.API/Extensions/DoorTypeExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ public static bool IsGate(this DoorType door) => door is DoorType.GateA or DoorT
/// <param name="door">The door to be checked.</param>
/// <returns>Returns whether the <see cref="DoorType"/> is an elevator or not.</returns>
public static bool IsElevator(this DoorType door) => door is DoorType.ElevatorGateA or DoorType.ElevatorGateB
or DoorType.ElevatorLczA or DoorType.ElevatorLczB or DoorType.ElevatorNuke or DoorType.ElevatorScp049;
or DoorType.ElevatorLczA or DoorType.ElevatorLczB or DoorType.ElevatorNuke1 or DoorType.ElevatorNuke2 or DoorType.ElevatorScp049;
}
}
Loading
Loading