]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Tweak "Help a fellow traitor" objective to allow yellowtexting (#37679)
authorScarKy0 <106310278+ScarKy0@users.noreply.github.com>
Wed, 21 May 2025 20:45:34 +0000 (22:45 +0200)
committerGitHub <noreply@github.com>
Wed, 21 May 2025 20:45:34 +0000 (16:45 -0400)
init

Content.Server/Objectives/Systems/HelpProgressConditionSystem.cs
Resources/Locale/en-US/objectives/conditions/other-traitor-progress.ftl

index 1816896ecc9b59b2905e9d6809b1e9799c71bd82..0e07830092e762005471caf0dbbcb06cc8a18456 100644 (file)
@@ -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;
     }
 }
index 4ee832d7ce0f6e9cff9ff91c5226fcbdd1660862..beefa44277f12bb84c6c633121844c77bc300b07 100644 (file)
@@ -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.