From: ScarKy0 <106310278+ScarKy0@users.noreply.github.com> Date: Wed, 21 May 2025 20:45:34 +0000 (+0200) Subject: Tweak "Help a fellow traitor" objective to allow yellowtexting (#37679) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=572b20464c493c297364679dc4efb28955ac961d;p=space-station-14.git Tweak "Help a fellow traitor" objective to allow yellowtexting (#37679) init --- 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.