From: lzk <124214523+lzk228@users.noreply.github.com> Date: Fri, 13 Dec 2024 03:10:20 +0000 (+0100) Subject: Increase war ops evac time (#33628) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=115b3e0519928843e81e71b928d4e80fcd5c1e69;p=space-station-14.git Increase war ops evac time (#33628) --- diff --git a/Content.Server/GameTicking/Rules/Components/NukeopsRuleComponent.cs b/Content.Server/GameTicking/Rules/Components/NukeopsRuleComponent.cs index 14a837aab7..5626f11e0e 100644 --- a/Content.Server/GameTicking/Rules/Components/NukeopsRuleComponent.cs +++ b/Content.Server/GameTicking/Rules/Components/NukeopsRuleComponent.cs @@ -71,6 +71,12 @@ public sealed partial class NukeopsRuleComponent : Component [DataField] public TimeSpan WarNukieArriveDelay = TimeSpan.FromMinutes(15); + /// + /// Time crew can't call emergency shuttle after war declaration. + /// + [DataField] + public TimeSpan WarEvacShuttleDisabled = TimeSpan.FromMinutes(25); + /// /// Minimal operatives count for war declaration /// diff --git a/Content.Server/GameTicking/Rules/NukeopsRuleSystem.cs b/Content.Server/GameTicking/Rules/NukeopsRuleSystem.cs index ca6548301a..e22626594f 100644 --- a/Content.Server/GameTicking/Rules/NukeopsRuleSystem.cs +++ b/Content.Server/GameTicking/Rules/NukeopsRuleSystem.cs @@ -312,7 +312,7 @@ public sealed class NukeopsRuleSystem : GameRuleSystem { // Nukies must wait some time after declaration of war to get on the station var warTime = Timing.CurTime.Subtract(nukeops.WarDeclaredTime.Value); - if (warTime < nukeops.WarNukieArriveDelay) + if (warTime < nukeops.WarEvacShuttleDisabled) { ev.Cancelled = true; ev.Reason = Loc.GetString("war-ops-shuttle-call-unavailable");