Retire the prelude and the tutorial: the cast, the scenario and the save own what they bundled

Galaxy.IsPrelude, SavedGame.IsTutorial (key 11 retired), TutorialGalaxy, TutorialGenerationSettings, its Settings.asset block and the
dead GalaxyStage/Galaxy constructor parameters (PlayerSettings, narrative directory) are gone. The rules they bundled move to their
owners: GalaxyCast.InfluenceScale (demo and test cast .5, main 1) carried by Galaxy and saved as SavedGame key 17, so a pre-cut run is
refused at Continue with a message; Scenario.EntranceStation (MainGalaxy false) decides the forced entrance station instead of the
galaxy; GalaxyStage.Cast(cast) replaces Prelude. The six arenas that read the authored cast generate DemoTerminus.Cast; Development
lists only Main Galaxy. TutorialBackgroundSettings is renamed CastBackgroundSettings in the asset YAML. Tests build their galaxy from
TestCasts.Wide and Background, the retired block's values, so every test galaxy is unchanged.

Suite at 8b2d1f544: 4 red (font credits, chunk info, trojan swarm, two-ai digest, Windows). After: the same 4, digest unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
soul 2026-11-19 20:14:26 +01:00
commit 40a5457c9e
54 changed files with 334 additions and 321 deletions

View file

@ -94,8 +94,10 @@ public class SectorGenerationSettings
public int BossCount;
}
[Serializable, MessagePackObject(keyAsPropertyName:true), JsonObject]
public class TutorialGenerationSettings
// The fixed cast of a galaxy a scenario generates through GalaxyStage.Cast: who plays which part, how big the galaxy is,
// and how far the factions' authored influence reaches (Galaxy.InfluenceOf). Held by the scenario that casts it; no
// asset or store holds one.
public class GalaxyCast
{
public string ProtagonistFaction;
public string AntagonistFaction;
@ -106,6 +108,8 @@ public class TutorialGenerationSettings
public int ZoneCount = 32;
// Zones per resource province (Provinces.Partition): calibration, not a gate.
public int ProvinceZones = Provinces.DefaultZonesPerProvince;
// Multiplies every faction's authored InfluenceDistance in this galaxy (rounding up); 1 leaves them as authored.
public float InfluenceScale = 1;
}
[Serializable, MessagePackObject(keyAsPropertyName:true), JsonObject]