]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Disable magnet wrecks (#23664)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Sun, 7 Jan 2024 06:36:18 +0000 (17:36 +1100)
committerGitHub <noreply@github.com>
Sun, 7 Jan 2024 06:36:18 +0000 (23:36 -0700)
Until we can manage these code-wise better and not rely upon people who aren't even around anymore to balance them.

Content.Server/Salvage/Magnet/SalvageMagnetDataComponent.cs
Content.Server/Salvage/SalvageSystem.Magnet.cs

index 4c4a222280108890b1d94fcfdc95dbf8a53f413b..7d62b84a27323e7b360d47ee6523c872f8564d9c 100644 (file)
@@ -44,7 +44,7 @@ public sealed partial class SalvageMagnetDataComponent : Component
     public List<int> Offered = new();
 
     [DataField]
-    public int OfferCount = 6;
+    public int OfferCount = 3;
 
     [DataField]
     public int ActiveSeed;
index bc7a6801e3e9bb168b6545dbe7adad7fdde8752a..27eee5360e73b4087b8a42ecadefe63112c0a424 100644 (file)
@@ -167,10 +167,12 @@ public sealed partial class SalvageSystem
             // Fuck with the seed to mix wrecks and asteroids.
             seed = (int) (seed / 10f) * 10;
 
+            /* Asteroid only for now chump.
             if (i >= data.Comp.OfferCount / 2)
             {
                 seed++;
             }
+            */
 
             data.Comp.Offered.Add(seed);
         }