Disable magnet wrecks (#23664)
Until we can manage these code-wise better and not rely upon people who aren't even around anymore to balance them.
This commit is contained in:
@@ -44,7 +44,7 @@ public sealed partial class SalvageMagnetDataComponent : Component
|
|||||||
public List<int> Offered = new();
|
public List<int> Offered = new();
|
||||||
|
|
||||||
[DataField]
|
[DataField]
|
||||||
public int OfferCount = 6;
|
public int OfferCount = 3;
|
||||||
|
|
||||||
[DataField]
|
[DataField]
|
||||||
public int ActiveSeed;
|
public int ActiveSeed;
|
||||||
|
|||||||
@@ -167,10 +167,12 @@ public sealed partial class SalvageSystem
|
|||||||
// Fuck with the seed to mix wrecks and asteroids.
|
// Fuck with the seed to mix wrecks and asteroids.
|
||||||
seed = (int) (seed / 10f) * 10;
|
seed = (int) (seed / 10f) * 10;
|
||||||
|
|
||||||
|
/* Asteroid only for now chump.
|
||||||
if (i >= data.Comp.OfferCount / 2)
|
if (i >= data.Comp.OfferCount / 2)
|
||||||
{
|
{
|
||||||
seed++;
|
seed++;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
data.Comp.Offered.Add(seed);
|
data.Comp.Offered.Add(seed);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user