Tests follow the allocator: warm-up, free thruster power, heat-detuned drives

The allocator reads Item.Active every tick, so fixtures that fire a thruster on their
first update warm its performance first; flight fixtures take the thrusters' energy draw
to zero so a brownout does not scale the turn; the Duel drives are mismatched after they
heat apart, and degraded by heat (the Large Drive has no durability term); the
consumer sits at (2,1), the Skiff's interior centre column. ReachIsWhatTheShipCanDo's
Longinus ceiling is 1.3 (measured 1.195 nose-on, 1.249 broadside).

Previous test commits do not build or pass; this one is unverified until the full run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-10 14:24:05 +02:00
commit ab450e72d3
7 changed files with 32 additions and 9 deletions

View file

@ -89,6 +89,8 @@ public sealed class ThrottleLockTests : IDisposable
zone.Entities.Add(ship);
ship.Aim = float3(0, 0, 1);
ship.Activate();
// A thruster is live from its first performance update; the allocator reads that every tick.
foreach (var item in ship.Equipment) item.UpdatePerformance();
var thrusters = ship.GetBehaviors<Thruster>().ToArray();
return new Fixture