Using CanDisplayCargo, for child entities as attachments is not actually working. Trying to hide the inventory cargo of an item when it's an attachment, still shows the inventory. A work around is to lock the inventory from script, but that prevents seeing the attachments. Additional example below.
Description
Description
Details
Details
- Severity
- Minor
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 10 x64
- Category
- General
Additional Information
Clothing attached to 'CoatRack' still show the cargo when attached.
modded class Clothing { override bool CanDisplayCargo() { if (!super.CanDisplayCargo()) return false; if (GetHierarchyParent().IsKindOf("CoatRack")) return false; return true; } }