From 3eab07c9dcfd5e662ec0a27ce5a13578391be9ee Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sun, 14 Jun 2026 18:59:14 +0100 Subject: [PATCH] Delete galaxy zone blueprint cache --- .voidbot/state/aetheria.cc | Bin 85268 -> 85717 bytes Assets/Scripts/Gameplay/ActionGameManager.cs | 4 ++-- Assets/Scripts/ServerShared/Galaxy.cs | 1 - docs/aetheria-perfect-machine-map.md | 3 +++ 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.voidbot/state/aetheria.cc b/.voidbot/state/aetheria.cc index 3b11e2ad7b2aa902449101bb97f72300beab64b4..504f96d192babde9801dea53bc22d4d904f2028e 100644 GIT binary patch delta 1449 zcmZ`(&2QX96qnPa9~?MAf*NQaNJvz4olV-31f-_fq(qevg^Hl6d{ndc+x3v~jF}lH zEF4x)!5>f~86j~3RDn1Y2~nvB4jkJHAW^CO7rk-h&DhTFQn*>;H*bDl?|uH|%%5M) z+`KV$XywJFm2hdfg!SO5;_lRE%|Y?tz+9mYd~~=fSXnBcUJquA!_&v7&VF(2#PqEb z)4|H}^Jf^^1T|-^J`?PNLF+>$v88iqd5W#B$T8Dg+E$d?GJ7<5d$_gb>#k54NCiU4 zK58&lX*6)Dy61j&nybJJ>~g~`#=be#GK=B2kzhRiD|q5HmF0p?Ucp@y)N&8{C{fdi z0rpVGp+nq#+>?y!Kli>2!FVtq(y1XOASD9 z>??r44X8bdF?0t&5<#WO5W!P-4@4}pxuy!6XqER9|0mq2PDlKS3MouQi~vH$G!ufD zj^U_f8(ryf6mfWiz!{=-{}1=%mRIFG3GLZ=6vlEPAUF7sPEMwi&{6SVlUa5WF6u6~ z)h9tOZvH&?o>OsLy@i?&Y`$@kB(aI2zU~`LqH;leNiHsP5-6eeJ6!gmiwP$s>>wi< zys;i!ogdiKEXzDyM@BXvJgEyZn?p!{$ygX_(HXboj+TDQc2l`)L7r!lDc%W&OX$ z>;I$fGvZvsGF%JRgS9eS3mzL|+r(ys#wlL@G9MfZZWr&rezg31Etnr}Z%b|m^#qXM zlqjM46HeEDsWjylOsaN}l5Py8g7vIVzq?0nLW~04u!df`+g0l>vr&?&7~zF>yB(em zmwJoeP{QJ$xl)nOBSLNzyw<_<|i*&VKqzB9SPLNe4r`n5to0i{o Zf=`;GGydq-g^l3XBS-wwJ=I>l@((@u5S0J` delta 1180 zcmbVMziSjh6lO08NrYG_fhhVK1CiV%=bhvy5#V9!mnKvBpt zVM}m|cU)7vExa^c!n~s|x05n8$}K9X?Bx0`;Z&<}AWBmym<0{$#@}m1!5Sm@!gvdm zCKAu^M>E0kpAMu<)3^o7VZH)e3J(^DOCE%E1W=gE0CZtBCGmYK6%fpE*(L?V$26k~ z7{}_w0%1cfr5`_0bpz^4##G>@L2dj%&H)9!m!LVr-5Z!$zaRFAf z1C$)QiV#q55x5peip?{z?bIWTGrk60TK^`plynd4C5RL>nRY;jK2}VySi%fE6d6#f zj+e5g!R+#)D!d`wbcC!?TRo1xPM?cD{v2Ij|I1kDMD;&D2*C-kJyJB$ONii@OsUhO zZ~evS`OJ{0uQ(Ju;v;ucNJ{~Z5~Op~9gbsj6bqL)A`UcT^CHbv&U6S3qD{vW76n(B z>xF%~$t=oE^pvf3w_iwVzmGOMedAud#7sLNH;`zvJ`KK_V223m~N5s2Pdu>p9Zs|Qn~&IpMtWx 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