Tests: reuse the existing EvDjinni fit instead of a second one
The previous commit added a duplicate EvDjinni and did not build (CS0111). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
b753dbe337
commit
0a4a2cf56a
1 changed files with 1 additions and 14 deletions
|
|
@ -52,20 +52,7 @@ public sealed partial class RunStartTests
|
|||
return (arena, longinus, djinni);
|
||||
}
|
||||
|
||||
// The Djinni fitted by name: a Talaria on each of its thruster hardpoints (the hull's own positions and rotations), the
|
||||
// reactor and the cockpit. What the thrusters push with is then the gear the test names, not what the generator drew.
|
||||
private ScenarioFit EvDjinni(ScenarioStage stage)
|
||||
{
|
||||
var hull = _cache.GetByName<HullData>("Djinni");
|
||||
var slots = hull.Hardpoints.Where(h => h.Type == HardpointType.Thruster).Select(h => ("Talaria", h.Position, h.Rotation)).ToList();
|
||||
var reactor = hull.Hardpoints.First(h => h.Type == HardpointType.Reactor);
|
||||
var cockpit = hull.Hardpoints.First(h => h.Type == HardpointType.ControlModule);
|
||||
slots.Add(("Core Power", reactor.Position, reactor.Rotation));
|
||||
slots.Add(("Cockpit 2x2", cockpit.Position, cockpit.Rotation));
|
||||
return stage.Fit("Djinni", slots.ToArray());
|
||||
}
|
||||
|
||||
// The two ships the flight tests measure, fitted by name and far apart in the fixture arena: the Djinni's eight Talaria
|
||||
// The two ships the flight tests measure, fitted by name and far apart in the fixture arena: EvDjinni's eight Talaria
|
||||
// and the Longinus's two Large Drives and two Talaria (EvLonginus). Neither follows the catalog's census: the generator
|
||||
// draws from the run's item stream, so a catalog cut would change which gear a generated hull carried (sensor-catalog h1).
|
||||
private (Zone arena, Ship longinus, Ship djinni) EvFitted()
|
||||
|
|
|
|||
Loading…
Reference in a new issue