From 572b20464c493c297364679dc4efb28955ac961d Mon Sep 17 00:00:00 2001 From: ScarKy0 <106310278+ScarKy0@users.noreply.github.com> Date: Wed, 21 May 2025 22:45:34 +0200 Subject: [PATCH] Tweak "Help a fellow traitor" objective to allow yellowtexting (#37679) init --- .../Objectives/Systems/HelpProgressConditionSystem.cs | 2 +- .../en-US/objectives/conditions/other-traitor-progress.ftl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Server/Objectives/Systems/HelpProgressConditionSystem.cs b/Content.Server/Objectives/Systems/HelpProgressConditionSystem.cs index 1816896ecc..0e07830092 100644 --- a/Content.Server/Objectives/Systems/HelpProgressConditionSystem.cs +++ b/Content.Server/Objectives/Systems/HelpProgressConditionSystem.cs @@ -53,6 +53,6 @@ public sealed class HelpProgressConditionSystem : EntitySystem // require 50% completion for this one to be complete var completion = total / max; - return completion >= 0.5f ? 1f : completion / 0.5f; + return completion; } } diff --git a/Resources/Locale/en-US/objectives/conditions/other-traitor-progress.ftl b/Resources/Locale/en-US/objectives/conditions/other-traitor-progress.ftl index 4ee832d7ce..beefa44277 100644 --- a/Resources/Locale/en-US/objectives/conditions/other-traitor-progress.ftl +++ b/Resources/Locale/en-US/objectives/conditions/other-traitor-progress.ftl @@ -1 +1 @@ -objective-condition-other-traitor-progress-title = Ensure fellow traitor {$targetName}, {CAPITALIZE($job)} achieves at least half their objectives. +objective-condition-other-traitor-progress-title = Ensure fellow traitor {$targetName}, {CAPITALIZE($job)} completes their objectives. -- 2.51.2