add cvar for custom panic bunker reason (#23267)

Panic bunker cvar
This commit is contained in:
LankLTE
2023-12-31 18:53:49 -08:00
committed by GitHub
parent ab982b17e4
commit e76d8390bd
2 changed files with 21 additions and 1 deletions

View File

@@ -298,6 +298,13 @@ namespace Content.Shared.CCVar
public static readonly CVarDef<int> PanicBunkerMinOverallHours =
CVarDef.Create("game.panic_bunker.min_overall_hours", 10, CVar.SERVERONLY);
/// <summary>
/// A custom message that will be used for connections denied to the panic bunker
/// If not empty, then will overwrite <see cref="PanicBunkerShowReason"/>
/// </summary>
public static readonly CVarDef<string> PanicBunkerCustomReason =
CVarDef.Create("game.panic_bunker.custom_reason", string.Empty, CVar.SERVERONLY);
/// <summary>
/// Make people bonk when trying to climb certain objects like tables.
/// </summary>