Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions EXILED/Exiled.API/Enums/SpawnLocationType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -143,5 +143,30 @@ public enum SpawnLocationType
/// Just inside the LCZ WC door.
/// </summary>
InsideLczWc,

/// <summary>
/// Inside the Glass Box in GR-18.
/// </summary>
InsideGr18Glass,

/// <summary>
/// Inside 106's Primary Door
/// </summary>
Inside106Primary,

/// <summary>
/// Inside 106's Secondary Door
/// </summary>
Inside106Secondary,

/// <summary>
/// Inside 939 Cryo Chamber
/// </summary>
Inside939Cryo,

/// <summary>
/// Inside SCP-079's Armory
/// </summary>
Inside079Armory,
}
}
6 changes: 6 additions & 0 deletions EXILED/Exiled.API/Extensions/SpawnExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public static class SpawnExtensions
SpawnLocationType.Inside914,
SpawnLocationType.Inside049Armory,
SpawnLocationType.InsideLczCafe,
SpawnLocationType.Inside939Cryo,
};

/// <summary>
Expand Down Expand Up @@ -102,6 +103,11 @@ public static Vector3 GetPosition(this SpawnLocationType location)
SpawnLocationType.Inside173Connector => "173_CONNECTOR",
SpawnLocationType.InsideEscapePrimary => "ESCAPE_PRIMARY",
SpawnLocationType.InsideEscapeSecondary => "ESCAPE_SECONDARY",
SpawnLocationType.InsideGr18Glass => "GR18_INNER",
SpawnLocationType.Inside106Primary => "106_PRIMARY",
SpawnLocationType.Inside106Secondary => "106_SECONDARY",
SpawnLocationType.Inside939Cryo => "939_CRYO",
SpawnLocationType.Inside079Armory => "079_ARMORY",
_ => default,
};
}
Expand Down