A fixed seed fixes every fit: RunStart seeds the run's item draws from the galaxy's seed
ScenarioStage.Generated picked from ItemManager.Random, which is clock-seeded per process and advances in play, so a relaunch of Djinni Shakedown or Long Haul in one session gave the player a different fit; every branded lot's workmanship and role fills came from the same clock stream, so arena gear and explicit fits varied in quality too. Galaxy now keeps the seed it was generated at, and RunStart.GenerateArena and Stage each reseed the item manager's random from it, one stream per step, so what runs between them cannot shift either. SeedRules relaunches every fixed-seed scenario around a clock-free Main Galaxy launch and a scrambled item random, and compares the galaxy (links, factions, homes, exit too), the arena down to each item's maker and workmanship, and the staged fits. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
4d1334e044
commit
02e7fd4b7e
5 changed files with 69 additions and 20 deletions
|
|
@ -10,7 +10,8 @@ public abstract class Scenario
|
|||
public abstract string Brief { get; }
|
||||
|
||||
// Zero draws the seed from the clock, so each launch is a new galaxy. Anything else fixes the galaxy, its
|
||||
// background and its arena, so every launch has the same layout.
|
||||
// background, its arena and every fit, each item's maker and workmanship included, so every launch has the same
|
||||
// layout.
|
||||
public virtual uint Seed => 0;
|
||||
|
||||
// False: the arena keeps its planets, orbits and stations but generates no ship or turret, so nothing wanders into
|
||||
|
|
|
|||
Loading…
Reference in a new issue