After killing all nuclear operatives, shuttle will be called instead of instant round end (#19850)
* ☢️🕵️💀🚫📄🚀 * 🚀📢❌📥📜 * 🔧🐛📢🚹🚉➡👑👑 * 😪 * 🧱 * 🚀🛬🕔➡️🕙 * ☢️⚙️🔵🔚🔨➡️🔵🔚⚙️ these commit names are literally evil who tf does this
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Content.Server.NPC.Components;
|
||||
using Content.Server.RoundEnd;
|
||||
using Content.Server.StationEvents.Events;
|
||||
using Content.Shared.Dataset;
|
||||
using Content.Shared.Roles;
|
||||
@@ -31,10 +32,34 @@ public sealed partial class NukeopsRuleComponent : Component
|
||||
public int MaxOperatives = 5;
|
||||
|
||||
/// <summary>
|
||||
/// Whether or not all of the nuclear operatives dying will end the round. Used by LoneOpsSpawn event.
|
||||
/// What will happen if all of the nuclear operatives will die. Used by LoneOpsSpawn event.
|
||||
/// </summary>
|
||||
[DataField("endsRound")]
|
||||
public bool EndsRound = true;
|
||||
[DataField("roundEndBehavior")]
|
||||
public RoundEndBehavior RoundEndBehavior = RoundEndBehavior.ShuttleCall;
|
||||
|
||||
/// <summary>
|
||||
/// Text for shuttle call if RoundEndBehavior is ShuttleCall.
|
||||
/// </summary>
|
||||
[DataField("roundEndTextSender")]
|
||||
public string RoundEndTextSender = "comms-console-announcement-title-centcom";
|
||||
|
||||
/// <summary>
|
||||
/// Text for shuttle call if RoundEndBehavior is ShuttleCall.
|
||||
/// </summary>
|
||||
[DataField("roundEndTextShuttleCall")]
|
||||
public string RoundEndTextShuttleCall = "nuke-ops-no-more-threat-announcement-shuttle-call";
|
||||
|
||||
/// <summary>
|
||||
/// Text for announcement if RoundEndBehavior is ShuttleCall. Used if shuttle is already called
|
||||
/// </summary>
|
||||
[DataField("roundEndTextAnnouncement")]
|
||||
public string RoundEndTextAnnouncement = "nuke-ops-no-more-threat-announcement";
|
||||
|
||||
/// <summary>
|
||||
/// Time to emergency shuttle to arrive if RoundEndBehavior is ShuttleCall.
|
||||
/// </summary>
|
||||
[DataField("evacShuttleTime")]
|
||||
public TimeSpan EvacShuttleTime = TimeSpan.FromMinutes(10);
|
||||
|
||||
/// <summary>
|
||||
/// Whether or not to spawn the nuclear operative outpost. Used by LoneOpsSpawn event.
|
||||
|
||||
Reference in New Issue
Block a user