From 771a7fd0d8404016a8c0f8d4b9da619e142be8b9 Mon Sep 17 00:00:00 2001 From: Jabak <163307958+Jabaks@users.noreply.github.com> Date: Tue, 6 Aug 2024 21:40:06 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=BC=D0=B5=D0=BD=D1=8C=D1=88=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=BC=D0=B8=D0=BD=D0=B8=D0=BC=D0=B0=D0=BB=D1=8C=D0=BD?= =?UTF-8?q?=D0=BE=20=D0=BA=D0=BE=D0=BB=D0=B8=D1=87=D0=B5=D1=81=D1=82=D0=B2?= =?UTF-8?q?=D0=BE=20=D0=B8=D0=B3=D1=80=D0=BE=D0=BA=D0=BE=D0=B2=20=D0=B4?= =?UTF-8?q?=D0=BB=D1=8F=20=D1=80=D0=B5=D0=B6=D0=B8=D0=BC=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Content.Server/_White/Wizard/WizardRuleComponent.cs | 2 +- Content.Shared/CCVar/CCVars.cs | 2 +- Content.Shared/_White/WhiteCVars.cs | 2 +- Resources/Prototypes/game_presets.yml | 7 +++++-- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/Content.Server/_White/Wizard/WizardRuleComponent.cs b/Content.Server/_White/Wizard/WizardRuleComponent.cs index 9495e2b208..72f35c29b6 100644 --- a/Content.Server/_White/Wizard/WizardRuleComponent.cs +++ b/Content.Server/_White/Wizard/WizardRuleComponent.cs @@ -18,7 +18,7 @@ public sealed partial class WizardRuleComponent : Component public EntityUid? TargetStation; [DataField("minPlayers")] - public int MinPlayers = 20; + public int MinPlayers = 15; [DataField("announcementOnWizardDeath")] public bool AnnouncementOnWizardDeath = true; diff --git a/Content.Shared/CCVar/CCVars.cs b/Content.Shared/CCVar/CCVars.cs index 57019dbc82..460643fa4d 100644 --- a/Content.Shared/CCVar/CCVars.cs +++ b/Content.Shared/CCVar/CCVars.cs @@ -478,7 +478,7 @@ namespace Content.Shared.CCVar */ public static readonly CVarDef ZombieMinPlayers = - CVarDef.Create("zombie.min_players", 20); + CVarDef.Create("zombie.min_players", 15); /* * Pirates diff --git a/Content.Shared/_White/WhiteCVars.cs b/Content.Shared/_White/WhiteCVars.cs index 2a290fcf88..41cfec4f8d 100644 --- a/Content.Shared/_White/WhiteCVars.cs +++ b/Content.Shared/_White/WhiteCVars.cs @@ -367,7 +367,7 @@ public sealed class WhiteCVars */ public static readonly CVarDef CultMinPlayers = - CVarDef.Create("white.cult_min_players", 20, CVar.SERVERONLY | CVar.ARCHIVE); + CVarDef.Create("white.cult_min_players", 15, CVar.SERVERONLY | CVar.ARCHIVE); public static readonly CVarDef CultMaxStartingPlayers = CVarDef.Create("white.cult_max_starting_players", 4, CVar.SERVERONLY | CVar.ARCHIVE); diff --git a/Resources/Prototypes/game_presets.yml b/Resources/Prototypes/game_presets.yml index 9311b56a22..e177ddcf64 100644 --- a/Resources/Prototypes/game_presets.yml +++ b/Resources/Prototypes/game_presets.yml @@ -126,6 +126,7 @@ name: nukeops-title description: nukeops-description showInVote: true + minPlayers: 15 rules: - Nukeops - SubGamemodesRule @@ -142,6 +143,7 @@ name: rev-title description: rev-description showInVote: true + minPlayers: 15 rules: - Revolutionary - SubGamemodesRule @@ -160,6 +162,7 @@ name: zombie-title description: zombie-description showInVote: true + minPlayers: 15 rules: - Zombie - BasicStationEventScheduler @@ -187,7 +190,7 @@ name: cult-title description: cult-description showInVote: true - minPlayers: 20 + minPlayers: 15 rules: - Cult - SubGamemodesRule @@ -218,7 +221,7 @@ name: wizard-title description: wizard-description showInVote: true - minPlayers: 20 + minPlayers: 15 rules: - Wizard - SubGamemodesRule