Add support for antag-before-job selection (#35789)

* Add support for antag-before-job selection

* Include logging
This commit is contained in:
SlamBamActionman
2025-03-12 16:48:39 +01:00
committed by GitHub
parent 44c8e05d1f
commit 2ff59f153e
6 changed files with 188 additions and 42 deletions

View File

@@ -17,7 +17,7 @@ public enum AntagAcceptability
/// <summary>
/// Choose anyone
/// </summary>
All
All,
}
public enum AntagSelectionTime : byte
@@ -28,8 +28,14 @@ public enum AntagSelectionTime : byte
/// </summary>
PrePlayerSpawn,
/// <summary>
/// Antag roles are selected to the player session before job assignment and spawning.
/// Unlike PrePlayerSpawn, this does not remove you from the job spawn pool.
/// </summary>
IntraPlayerSpawn,
/// <summary>
/// Antag roles get assigned after players have been assigned jobs and have spawned in.
/// </summary>
PostPlayerSpawn
PostPlayerSpawn,
}