PopulatedRadiusTests: the belt fixture carries the asteroid curves a zone with a belt reads
The belt fixture's PlanetSettings lacked AsteroidSize, AsteroidHitpoints and AsteroidRespawnTime, so building the zone threw before the bound was read. Builds; the previous commit's belt test fails without this. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
74e51586c2
commit
e2d78b984c
1 changed files with 4 additions and 1 deletions
|
|
@ -40,7 +40,10 @@ public sealed class PopulatedRadiusTests : IDisposable
|
|||
BodyRadius = Flat(20f),
|
||||
WellStrength = new ExponentialCurve { Multiplier = 100f, Exponent = 1f },
|
||||
RocheLimit = new ExponentialCurve { Multiplier = 10f, Exponent = 1f },
|
||||
LightRadius = Flat(0f)
|
||||
LightRadius = Flat(0f),
|
||||
AsteroidSize = new ExponentialLerp { Minimum = 2f, Maximum = 9f, Exponent = 1.7f },
|
||||
AsteroidHitpoints = new ExponentialLerp { Minimum = 10f, Maximum = 300f, Exponent = 2f },
|
||||
AsteroidRespawnTime = new ExponentialLerp { Minimum = 5f, Maximum = 60f, Exponent = 1f }
|
||||
};
|
||||
|
||||
private sealed class Scene
|
||||
|
|
|
|||
Loading…
Reference in a new issue