Demo Terminus tests: the Pirates fixture carries a name file, as generating zone names needs one
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
1997a3da33
commit
c7c56e152c
1 changed files with 4 additions and 1 deletions
|
|
@ -15,7 +15,10 @@ public sealed partial class RunStartTests
|
|||
private static readonly uint[] DemoSeeds = { 1, 2, 3, 4, 5 };
|
||||
|
||||
// The catalog record the demo's protagonist needs, until the shipped catalog has one.
|
||||
private void AddPirates() => _cache.Upsert(new Faction { Name = "Pirates", ShortName = "Pirates" });
|
||||
private void AddPirates() => _cache.Upsert(new Faction
|
||||
{
|
||||
Name = "Pirates", ShortName = "Pirates", GeonameFile = _cache.RefOf(_cache.GetAll<NameFile>().First())
|
||||
});
|
||||
|
||||
private Galaxy DemoGalaxy(uint seed) => RunStart.Generate(new DemoTerminus(), Inputs(() => seed));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue