SS14-28662 Add Baby Jail: a Jail for Babies (inverse panic bunker) (#28763)

This commit is contained in:
Hannah Giovanna Dawson
2024-06-09 19:58:10 +01:00
committed by GitHub
parent f4e80b0dae
commit 3ceb92a0c4
19 changed files with 530 additions and 5 deletions

View File

@@ -46,6 +46,12 @@ namespace Content.Server.GameTicking
jObject["players"] = _playerManager.PlayerCount;
jObject["soft_max_players"] = _cfg.GetCVar(CCVars.SoftMaxPlayers);
jObject["panic_bunker"] = _cfg.GetCVar(CCVars.PanicBunkerEnabled);
/*
* TODO: Remove baby jail code once a more mature gateway process is established. This code is only being issued as a stopgap to help with potential tiding in the immediate future.
*/
jObject["baby_jail"] = _cfg.GetCVar(CCVars.BabyJailEnabled);
jObject["run_level"] = (int) _runLevel;
if (preset != null)
jObject["preset"] = Loc.GetString(preset.ModeTitle);