]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Enable panic bunker by default (#23252)
authorChief-Engineer <119664036+Chief-Engineer@users.noreply.github.com>
Wed, 3 Jan 2024 09:26:13 +0000 (03:26 -0600)
committerGitHub <noreply@github.com>
Wed, 3 Jan 2024 09:26:13 +0000 (03:26 -0600)
* update cvars

* vote 1984

* rip

* add custom reason

* make panic_bunker.enabled a server cvar

I am kind of guessing

---------

Co-authored-by: DrSmugleaf <drsmugleaf@gmail.com>
Content.Shared/CCVar/CCVars.cs
Resources/ConfigPresets/WizardsDen/leviathan.toml
Resources/ConfigPresets/WizardsDen/lizard.toml
Resources/ConfigPresets/WizardsDen/wizardsDen.toml

index 9342796c1f4d7dfbce8cef5f48132b970493fe56..a3eb8246ca293910b23071b6a0eb613af17f75e2 100644 (file)
@@ -258,7 +258,7 @@ namespace Content.Shared.CCVar
         /// Whether or not panic bunker is currently enabled.
         /// </summary>
         public static readonly CVarDef<bool> PanicBunkerEnabled =
-            CVarDef.Create("game.panic_bunker.enabled", false, CVar.NOTIFY | CVar.REPLICATED);
+            CVarDef.Create("game.panic_bunker.enabled", false, CVar.NOTIFY | CVar.REPLICATED | CVar.SERVER);
 
         /// <summary>
         /// Whether or not the panic bunker will disable when an admin comes online.
index 2bf39cfd849e3e07673a73d29ac2400a8bcc858b..ed909929752442c74b2428c442bd6718fe0f8ac5 100644 (file)
@@ -4,6 +4,9 @@
 
 [game]
 hostname = "[EN] Wizard's Den Leviathan [US East 1]"
+panic_bunker.enabled = false
+panic_bunker.disable_with_admins = false
+panic_bunker.enable_without_admins = false
 
 [hub]
 tags = "lang:en,region:am_n_e,rp:low"
index 2e3809a87dc9de6cd65a9e0151694c9175c80ea2..be65cf02696cd9c173b9b8cf0f5d253cc343c56b 100644 (file)
@@ -4,6 +4,9 @@
 
 [game]
 hostname = "[EN] Wizard's Den Lizard [US West]"
+panic_bunker.enabled = false
+panic_bunker.disable_with_admins = false
+panic_bunker.enable_without_admins = false
 
 [hub]
 tags = "lang:en,region:am_n_w,rp:low"
index 07d4ab5e10a1ef767aa399388b4e2d46a50ad970..e3826b46787ed43f09234d8c02f86ba9adce368a 100644 (file)
@@ -5,6 +5,11 @@
 desc             = "Official English Space Station 14 servers. Vanilla, low roleplay."
 lobbyenabled     = true
 soft_max_players = 80
+panic_bunker.enabled = true
+panic_bunker.disable_with_admins = true
+panic_bunker.enable_without_admins = true
+panic_bunker.show_reason = true
+panic_bunker.custom_reason = "You have not played on Wizard's Den server long enough to connect to this server. Please play on Wizard's Den Lizard or Wizard's Den Leviathan until you have more playtime."
 
 [infolinks]
 bug_report = "https://github.com/space-wizards/space-station-14/issues/new/choose"