diff --git a/.voidbot/state/aetheria.cc b/.voidbot/state/aetheria.cc index 298aa328e..6994eb2fe 100644 Binary files a/.voidbot/state/aetheria.cc and b/.voidbot/state/aetheria.cc differ diff --git a/Assets/Scripts/UI/Menu/SectorRenderer.cs b/Assets/Scripts/UI/Menu/SectorRenderer.cs index eee41cf9f..b2ca4433b 100644 --- a/Assets/Scripts/UI/Menu/SectorRenderer.cs +++ b/Assets/Scripts/UI/Menu/SectorRenderer.cs @@ -117,11 +117,8 @@ public class SectorRenderer : MonoBehaviour, IBeginDragHandler, IDragHandler, IS private bool HasHullType(RuntimeEntityBlueprint entity, HullType hullType) { var typedItem = FindTypedHull(entity); - if (typedItem != null) - return string.Equals(typedItem.HullType, hullType.ToString(), StringComparison.Ordinal); - - return GameManager.ItemManager.GetData(entity.Hull) is HullData hullData && - hullData.HullType == hullType; + return typedItem != null && + string.Equals(typedItem.HullType, hullType.ToString(), StringComparison.Ordinal); } private static AetheriaRuntimeCatalogItem FindTypedHull(RuntimeEntityBlueprint entity) diff --git a/docs/aetheria-perfect-machine-map.md b/docs/aetheria-perfect-machine-map.md index 96bcd8de7..c8783c149 100644 --- a/docs/aetheria-perfect-machine-map.md +++ b/docs/aetheria-perfect-machine-map.md @@ -143,8 +143,8 @@ legacy catalog cache, and legacy UI paths should be migration-only or deleted. applies typed row prefilters for size, hardpoint type, and behavior kind before hydrating `ItemData` projections for legacy commodity filters, columns, and buy actions. The sector properties UI also resolves station/turret/ship - counts through typed hull classifications from the runtime catalog before - falling back to legacy `HullData` projection for missing rows. Loot pickup + counts only through typed hull classifications from the runtime catalog; + missing typed hull rows no longer fall back to legacy `HullData`. Loot pickup presentation now uses typed catalog category/name rows to choose weapon-vs-gear pickup visuals and scan labels before falling back to legacy item projections. The item properties panel also reads typed catalog description, manufacturer,