diff --git a/Exiled.API/Enums/EffectType.cs b/Exiled.API/Enums/EffectType.cs index 63c62e2160..4ebdecdc6e 100644 --- a/Exiled.API/Enums/EffectType.cs +++ b/Exiled.API/Enums/EffectType.cs @@ -7,6 +7,8 @@ namespace Exiled.API.Enums { + using System; + using Exiled.API.Extensions; /// @@ -199,5 +201,26 @@ public enum EffectType /// Teleports the player to the pocket dimension and drains health until the player escapes or is killed. The amount of damage recieved increases the longer the effect is applied. /// PocketCorroding, + + /// + /// Reduces walking sound by 10%. + /// + SilentWalk, + + /// + /// Makes you a marshmallow guy. + /// + [Obsolete("Not functional in-game")] + Marshmallow, + + /// + /// The effect that is given to the player when getting attacked by SCP-3114's Strangle ability. + /// + Strangled, + + /// + /// Makes the player nearly invisible, and allows them to pass through doors. + /// + Ghostly, } } diff --git a/Exiled.API/Extensions/EffectTypeExtension.cs b/Exiled.API/Extensions/EffectTypeExtension.cs index 8bdd6886b7..a6b427dda1 100644 --- a/Exiled.API/Extensions/EffectTypeExtension.cs +++ b/Exiled.API/Extensions/EffectTypeExtension.cs @@ -12,11 +12,9 @@ namespace Exiled.API.Extensions using System.Linq; using CustomPlayerEffects; - using Enums; - + using InventorySystem.Items.MarshmallowMan; using InventorySystem.Items.Usables.Scp244.Hypothermia; - using PlayerRoles.FirstPersonControl; /// @@ -66,6 +64,10 @@ public static class EffectTypeExtension { EffectType.Traumatized, typeof(Traumatized) }, { EffectType.AntiScp207, typeof(AntiScp207) }, { EffectType.Scanned, typeof(Scanned) }, + { EffectType.SilentWalk, typeof(SilentWalk) }, + { EffectType.Marshmallow, typeof(MarshmallowEffect) }, + { EffectType.Strangled, typeof(Strangled) }, + { EffectType.Ghostly, typeof(Ghostly) }, }; ///