diff --git a/.voidbot/state/aetheria.cc b/.voidbot/state/aetheria.cc index f05bd04b5..50262821a 100644 Binary files a/.voidbot/state/aetheria.cc and b/.voidbot/state/aetheria.cc differ diff --git a/Assets/Scripts/UI/Menu/InventoryMenu.cs b/Assets/Scripts/UI/Menu/InventoryMenu.cs index 6be495120..b36741493 100644 --- a/Assets/Scripts/UI/Menu/InventoryMenu.cs +++ b/Assets/Scripts/UI/Menu/InventoryMenu.cs @@ -214,10 +214,7 @@ public class InventoryMenu : MonoBehaviour .ToArray(); } - var shape = GameManager.ItemManager.GetData(item).Shape; - return shape.Coordinates - .Select(cell => shape.Rotate(cell, item.Rotation) + position) - .ToArray(); + return Array.Empty(); } private static AetheriaRuntimeCatalogItem FindTypedInventoryItem(ItemInstance item) diff --git a/Assets/Scripts/UI/Menu/InventoryPanel.cs b/Assets/Scripts/UI/Menu/InventoryPanel.cs index 577e12784..6971c3d8e 100644 --- a/Assets/Scripts/UI/Menu/InventoryPanel.cs +++ b/Assets/Scripts/UI/Menu/InventoryPanel.cs @@ -883,7 +883,7 @@ public class InventoryPanel : MonoBehaviour, IPointerClickHandler if (typedItem != null && typedItem.ShapeCells.Count > 0) return ToShape(typedItem); - return GameManager.ItemManager.GetData(item).Shape; + return new Shape(1, 1); } private static Shape ToShape(AetheriaRuntimeCatalogItem item) diff --git a/docs/aetheria-perfect-machine-map.md b/docs/aetheria-perfect-machine-map.md index c4bee1d06..609ee303e 100644 --- a/docs/aetheria-perfect-machine-map.md +++ b/docs/aetheria-perfect-machine-map.md @@ -157,13 +157,16 @@ legacy catalog cache, and legacy UI paths should be migration-only or deleted. base mass, and max durability for item presentation before hydrating legacy DTOs for behavior reflection and thermal curves that have not yet moved to typed behavior surfaces. Inventory selection highlighting now uses typed item - shape cells for UI tint geometry before falling back to legacy `ItemData.Shape`. + shape cells only for UI tint geometry; incomplete typed rows produce no + selected-cell mask instead of falling back to legacy `ItemData.Shape`. Inventory cargo cell tint now uses typed hardpoint facets only; incomplete typed rows receive the generic tint instead of falling back to legacy `EquippableItemData.HardpointType`. Inventory HUD durability tint uses typed max durability before falling back to legacy `ItemData.Durability`. - Inventory drag preview occupancy now projects typed item shape cells into the - local `Shape` grid before falling back to legacy `ItemData.Shape`. + Inventory drag preview occupancy now projects typed item shape cells only into + the local `Shape` grid; final fit and equip acceptance still belong to + `ItemFits`, `TryEquip`, and inventory mutation paths until those simulation + owners are rebuilt. - `Galaxy` generation no longer accepts a runtime item catalog reader or `ItemManager`. Sector and tutorial generation receive the package-owned typed runtime catalog. `Galaxy` projects typed corporation v2 records into temporary legacy