Add panic bunker UI and automatic panic bunker (#20954)
This commit is contained in:
@@ -248,6 +248,26 @@ namespace Content.Shared.CCVar
|
||||
public static readonly CVarDef<bool> PanicBunkerEnabled =
|
||||
CVarDef.Create("game.panic_bunker.enabled", false, CVar.NOTIFY | CVar.REPLICATED);
|
||||
|
||||
/// <summary>
|
||||
/// Whether or not the panic bunker will disable when an admin comes online.
|
||||
/// </summary>
|
||||
public static readonly CVarDef<bool> PanicBunkerDisableWithAdmins =
|
||||
CVarDef.Create("game.panic_bunker.disable_with_admins", false, CVar.SERVERONLY);
|
||||
|
||||
/// <summary>
|
||||
/// Whether or not the panic bunker will enable when no admins are online.
|
||||
/// </summary>
|
||||
public static readonly CVarDef<bool> PanicBunkerEnableWithoutAdmins =
|
||||
CVarDef.Create("game.panic_bunker.enable_without_admins", false, CVar.SERVERONLY);
|
||||
|
||||
/// <summary>
|
||||
/// Whether or not the panic bunker will count deadminned admins for
|
||||
/// <see cref="PanicBunkerDisableWithAdmins"/> and
|
||||
/// <see cref="PanicBunkerEnableWithoutAdmins"/>
|
||||
/// </summary>
|
||||
public static readonly CVarDef<bool> PanicBunkerCountDeadminnedAdmins =
|
||||
CVarDef.Create("game.panic_bunker.count_deadminned_admins", false, CVar.SERVERONLY);
|
||||
|
||||
/// <summary>
|
||||
/// Show reason of disconnect for user or not.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user