ОБР работает

This commit is contained in:
BIGZi0348
2024-12-26 00:10:19 +03:00
parent dc570dcdb5
commit bd9c8a75c0
12 changed files with 164 additions and 86 deletions

View File

@@ -11,7 +11,10 @@ public sealed partial class ERTRecruitmentRuleComponent : Component
[ViewVariables]
public MapId? MapId = null;
[DataField("minPlayer")] public int MinPlayer = 1;
/// <summary>
/// Minimal amount of players, who will become ERT recruits.
/// </summary>
[DataField] public int MinPlayers = 3;
public static SoundSpecifier ERTYes = new SoundPathSpecifier("/Audio/Announcements/ert_yes.ogg");
public static SoundSpecifier ERTNo = new SoundPathSpecifier("/Audio/Announcements/ert_no.ogg");