From 0cb9e803e53a16d83d5266db6216b337ea56849d Mon Sep 17 00:00:00 2001 From: ScarKy0 <106310278+ScarKy0@users.noreply.github.com> Date: Thu, 22 May 2025 05:25:07 +0200 Subject: [PATCH] Tweak "Escape" objective to allow yellowtexting (#37680) init --- .../Objectives/Systems/EscapeShuttleConditionSystem.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Content.Server/Objectives/Systems/EscapeShuttleConditionSystem.cs b/Content.Server/Objectives/Systems/EscapeShuttleConditionSystem.cs index 5f8f680d9e..125e15e615 100644 --- a/Content.Server/Objectives/Systems/EscapeShuttleConditionSystem.cs +++ b/Content.Server/Objectives/Systems/EscapeShuttleConditionSystem.cs @@ -30,8 +30,9 @@ public sealed class EscapeShuttleConditionSystem : EntitySystem return 0f; // You're not escaping if you're restrained! + // Granting 50% as to allow for partial completion of the objective. if (TryComp(mind.OwnedEntity, out var cuffed) && cuffed.CuffedHandCount > 0) - return 0f; + return _emergencyShuttle.IsTargetEscaping(mind.OwnedEntity.Value) ? 0.5f : 0f; // Any emergency shuttle counts for this objective, but not pods. return _emergencyShuttle.IsTargetEscaping(mind.OwnedEntity.Value) ? 1f : 0f; -- 2.51.2