StationPlacementTests: the narrative station belongs to a faction, as authored stories do
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
89a481fd16
commit
2bc09f832f
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ public sealed class StationPlacementTests : IDisposable
|
|||
foreach (var galaxyZone in galaxy.Zones.Take(zonesPerSeed))
|
||||
{
|
||||
if (storyTurrets > 0)
|
||||
galaxyZone.Locations.Add(new LocationStory { Zone = galaxyZone, Name = "Test station", Type = LocationType.Station, Turrets = storyTurrets });
|
||||
galaxyZone.Locations.Add(new LocationStory { Zone = galaxyZone, Name = "Test station", Faction = galaxy.Factions[0], Type = LocationType.Station, Turrets = storyTurrets });
|
||||
var pack = ZoneGenerator.GenerateZone(items, authored.Read<ZoneGenerationSettings>("ZoneSettings"), galaxy, galaxyZone,
|
||||
galaxyZone == galaxy.Entrance && galaxy.IsPrelude, true);
|
||||
var zone = new Zone(items, authored.Read<PlanetSettings>("PlanetSettings"), pack, galaxyZone, galaxy);
|
||||
|
|
|
|||
Loading…
Reference in a new issue