Delete galaxy zone blueprint cache
This commit is contained in:
parent
d52fa4894a
commit
3eab07c9dc
4 changed files with 5 additions and 3 deletions
Binary file not shown.
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -604,7 +604,6 @@ public class GalaxyZone
|
|||
public Faction[] Factions;
|
||||
public Faction Owner;
|
||||
public Zone Contents;
|
||||
public RuntimeZoneBlueprint RuntimeBlueprint;
|
||||
public bool NamedZone;
|
||||
public List<LocationStory> Locations = new List<LocationStory>();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue