]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Expedition loc + timer fixes (#15561)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Thu, 20 Apr 2023 05:51:10 +0000 (15:51 +1000)
committerGitHub <noreply@github.com>
Thu, 20 Apr 2023 05:51:10 +0000 (15:51 +1000)
Content.Server/Salvage/SalvageSystem.Runner.cs
Content.Shared/Salvage/Expeditions/Modifiers/SalvageTimeMod.cs
Resources/Locale/en-US/procedural/expeditions.ftl
Resources/Prototypes/Procedural/salvage_mods.yml

index 9cb56aeee9745a8b9c645e30214a0e1fb2ec7ee0..19c4a3dcad82bf6c5628b98a0ecf46f4e21f902c 100644 (file)
@@ -187,7 +187,7 @@ public sealed partial class SalvageSystem
 
             if (structureAnnounce)
             {
-                Announce(uid, Loc.GetString("salvage-expedition-structures-remaining", ("count", structure.Structures.Count)));
+                Announce(uid, Loc.GetString("salvage-expedition-structure-remaining", ("count", structure.Structures.Count)));
             }
         }
     }
index 4f1ab80b7cbe4d9891ad36dd383c82590fb10eea..689f5763eb31192c5a9a360dd913ac325b8f5f7b 100644 (file)
@@ -16,8 +16,8 @@ public sealed class SalvageTimeMod : IPrototype, ISalvageMod
     public float Cost { get; } = 0f;
 
     [DataField("minDuration")]
-    public int MinDuration = 600;
+    public int MinDuration = 1080;
 
     [DataField("maxDuration")]
-    public int MaxDuration = 660;
+    public int MaxDuration = 1200;
 }
index 126f2841765b831661ccdf40707bd821542586fb..b5cd2f28375daaa215590550245d292733e8c2c2 100644 (file)
@@ -1,4 +1,5 @@
 salvage-expedition-structure-examine = This is a [color=#B02E26]destruction[/color] objective
+salvage-expedition-structure-remaining = {$count} structures remaining.
 
 salvage-expedition-window-title = Salvage expeditions
 salvage-expedition-window-difficulty = Difficulty:
index d9e36a998db265a735e28e4b54ab725b04eb6cd4..fdc8fe443af3089f4ee1055f50cc79c9baec48f2 100644 (file)
@@ -75,8 +75,8 @@
 - type: salvageTimeMod
   id: RushTime
   desc: Rush
-  minDuration: 480
-  maxDuration: 540
+  minDuration: 900
+  maxDuration: 1020
   cost: 1
 
 # Misc mods