diff --git a/.voidbot/state/aetheria.cc b/.voidbot/state/aetheria.cc index 3b11e2ad7..504f96d19 100644 Binary files a/.voidbot/state/aetheria.cc and b/.voidbot/state/aetheria.cc differ diff --git a/Assets/Scripts/Gameplay/ActionGameManager.cs b/Assets/Scripts/Gameplay/ActionGameManager.cs index 5f6903ac9..8a9bcf3c8 100644 --- a/Assets/Scripts/Gameplay/ActionGameManager.cs +++ b/Assets/Scripts/Gameplay/ActionGameManager.cs @@ -1759,7 +1759,7 @@ public class ActionGameManager : MonoBehaviour if (galaxyZone.Contents == null) { - galaxyZone.RuntimeBlueprint ??= ZoneGenerator.GenerateZone( + var runtimeBlueprint = ZoneGenerator.GenerateZone( ItemManager, RuntimeCatalog, Settings.ZoneSettings, @@ -1767,7 +1767,7 @@ public class ActionGameManager : MonoBehaviour galaxyZone, IsTutorial ); - galaxyZone.Contents = new Zone(ItemManager, Settings.PlanetSettings, galaxyZone.RuntimeBlueprint, galaxyZone, CurrentGalaxy); + galaxyZone.Contents = new Zone(ItemManager, Settings.PlanetSettings, runtimeBlueprint, galaxyZone, CurrentGalaxy); } Zone = galaxyZone.Contents; PlayMusic(MusicType.Overworld); diff --git a/Assets/Scripts/ServerShared/Galaxy.cs b/Assets/Scripts/ServerShared/Galaxy.cs index 26953c503..18258ab20 100644 --- a/Assets/Scripts/ServerShared/Galaxy.cs +++ b/Assets/Scripts/ServerShared/Galaxy.cs @@ -604,7 +604,6 @@ public class GalaxyZone public Faction[] Factions; public Faction Owner; public Zone Contents; - public RuntimeZoneBlueprint RuntimeBlueprint; public bool NamedZone; public List Locations = new List(); } diff --git a/docs/aetheria-perfect-machine-map.md b/docs/aetheria-perfect-machine-map.md index b1f0d9033..11948df27 100644 --- a/docs/aetheria-perfect-machine-map.md +++ b/docs/aetheria-perfect-machine-map.md @@ -1045,6 +1045,9 @@ First Aetheria surfaces to publish: body/entity DTOs; `SectorRenderer` now counts planets, belts, gas giants, stars, stations, turrets, and ships from `GalaxyZone.Contents` runtime wrappers and live entities. + - Done: delete `GalaxyZone.RuntimeBlueprint` as a persistent zone-side cache; + unvisited zone generation now feeds the `Zone` constructor directly, and + visited zone state is owned by `GalaxyZone.Contents`/`Zone.CaptureBlueprint`. - Done: delete the legacy `Behaviors` lists from `ConsumableItemData` and `EquippableItemData`; item DTOs can no longer carry behavior config state. - Done: move runtime blueprint price aggregation and conductivity restore