From ecc35c3ea662470b538c0c1a89226f639fb84b90 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sun, 14 Jun 2026 01:47:25 +0100 Subject: [PATCH] Use typed hardpoints for cargo tint --- .voidbot/state/aetheria.cc | Bin 57715 -> 57989 bytes Assets/Scripts/UI/Menu/InventoryPanel.cs | 2 -- docs/aetheria-perfect-machine-map.md | 7 ++++--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.voidbot/state/aetheria.cc b/.voidbot/state/aetheria.cc index 2fbad78ae523dbd1887992a2422ef466c9c97d85..f05bd04b56c725836e3bf9917858634123a8d11d 100644 GIT binary patch delta 1199 zcmZuxJ!lj`6xJjLqbLLv5e+^BQ6yPoOoFG4koXf(6iE<+B9qy7dqZ|-)|uIhXLE|A z6=ixGf3Z=yRuDxSV>`*!A=@B7~O-tV{Fi|@N%Jnrfn9Xm2y z35E|=+|A{kZmDZ=L%T9EHhXXFR;Rjel$ApxzOue&pzHJL*501+nby8Hu+d$(w7BQ$ zl&qt)N;iNr9Vy@#$6$rDAk_j`jm#Q%<=wU>Fax%Rpk&;DRHLD5%nBueWwxfYu#Mmm zkC{lmuU*$cJPr3n{eB_q^OWpQj^j`4Z0RK$q!1{}YZi8N(%F-}=b zCYfcyDW=0_s)*EdBSokZNI_Q62~ReFi!~%BpfhPjg7n|ASVf>oL`)AD`e*5K2sHxp zSoAzcJLpAuAdMVF9SfNeO4NcERtRaD7Fh_Y3bjV4NwBKZf?CdUM-N$;3eaEE2ok)7Gzyc z`Ok^WW*R{h0cq0fGgCRPA>t~FL*RAEDZBZH2)Wh)l5)0Shn9qpK+hM tx0f4bbd)yAa=AN3EA4I4>u!8iWp%8*QC4nsDt_yy#?9e*wcjwVVI| delta 998 zcmZvbziSjh6vxe7F#f<&6p8Y>Kuj*2mt0J=iND}16cST-g)qDO+#7FqW|^72xM>bS zK~NCc+AbQg@CS>HjVJ_cENn~ycK!)=+W2NRF$q}CyqP!O@8|pG!CLj#=jz)RmHdf6 zRGqB1pAH<&*D8|tr}OIDys(uPgcI2Ek*{Li}}M~xqp8SO$QZc&|w<5 z(IA%uaFL`26viw`xClXK+F*PR76msMv}|?3Z2{NdvnavOD}6M-P@*2{S5rNrSe zzl$QMtr`@XL~O3kfnc1TF0sTsB-2)%FVl#C_&yI%7{Zg0Oc_hFb(AD_cu080`@0`t zo;Hg4wgp8YjC3+~L=!q9YNhKW;>NN;#q=KQc$aHqVLR7!kPEE6E1R}ry5>8Ho3Ah6 zZK<#iJ_Quo3#G{txk@RQ*dd_V5aAfmBsevD`|lbKr>l#Yko!1xA}L=Nug#wZ#LNC= z1gVHnYhcq5V8lJLL2MLyDJO8T?4gaoPSkc{wO35|6y7}E)<5=nMWZvipYu!7Ph&z{ z239(_x^Vp(crq0MQ`s1FG4mu-0R)_=(eNcq(ZK9FVYMcxv=oe}x~T4;OTmgm8%KV= zHC((A?`y^HXQxJwHEx_~%uY6E>-AcFW~#knSV*F76%$|n3>Nb@PaiJYUymH5Z+9sF uxqjSzzvh(toG-tBw9A2JF4rHs!gRwGPHfyOmrc7YK5Trl_lK&}Gwr_}EO_Ps diff --git a/Assets/Scripts/UI/Menu/InventoryPanel.cs b/Assets/Scripts/UI/Menu/InventoryPanel.cs index 6e6ee3265..577e12784 100644 --- a/Assets/Scripts/UI/Menu/InventoryPanel.cs +++ b/Assets/Scripts/UI/Menu/InventoryPanel.cs @@ -851,8 +851,6 @@ public class InventoryPanel : MonoBehaviour, IPointerClickHandler var c = float3(1); if (TryGetTypedHardpointType(item, out var typedHardpoint)) c = HardpointData.GetColor(typedHardpoint); - else if (GameManager.ItemManager.GetData(item) is EquippableItemData equippable) - c = HardpointData.GetColor(equippable.HardpointType); if(!highlight) c *= .7071f; diff --git a/docs/aetheria-perfect-machine-map.md b/docs/aetheria-perfect-machine-map.md index 965dc5e2d..c4bee1d06 100644 --- a/docs/aetheria-perfect-machine-map.md +++ b/docs/aetheria-perfect-machine-map.md @@ -158,9 +158,10 @@ legacy catalog cache, and legacy UI paths should be migration-only or deleted. 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`. - Inventory cargo cell tint now uses typed hardpoint facets before falling back - to legacy `EquippableItemData.HardpointType`. Inventory HUD durability tint - uses typed max durability before falling back to legacy `ItemData.Durability`. + 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`. - `Galaxy` generation no longer accepts a runtime item catalog reader or `ItemManager`.