37 lines
1.1 KiB
C#
37 lines
1.1 KiB
C#
using Robust.Shared.Audio;
|
|
using Robust.Shared.Map;
|
|
using Robust.Shared.Utility;
|
|
|
|
namespace Content.Server._White.ERTRecruitment;
|
|
|
|
[RegisterComponent, Access(typeof(ERTRecruitmentRule))]
|
|
public sealed partial class ERTRecruitmentRuleComponent : Component
|
|
{
|
|
public static string EventName = "ERTRecruitment";
|
|
[ViewVariables]
|
|
public MapId? MapId = null;
|
|
|
|
/// <summary>
|
|
/// Minimal amount of players, who will become ERT recruits.
|
|
/// </summary>
|
|
[DataField] public int MinPlayers = 3;
|
|
|
|
/// <summary>
|
|
/// Minimal playtime to be eligible for recruitment.
|
|
/// </summary>
|
|
[DataField] public TimeSpan OverallPlaytime = TimeSpan.FromHours(10);
|
|
|
|
public static SoundSpecifier ERTYes = new SoundPathSpecifier("/Audio/Announcements/ert_yes.ogg");
|
|
public static SoundSpecifier ERTNo = new SoundPathSpecifier("/Audio/Announcements/ert_no.ogg");
|
|
|
|
[ViewVariables]
|
|
public bool IsBlocked = false;
|
|
|
|
[ViewVariables]
|
|
public EntityUid? Outpost;
|
|
//[ViewVariables]
|
|
// public EntityUid? Shuttle;
|
|
[ViewVariables]
|
|
public EntityUid? TargetStation;
|
|
}
|