3 override bool IsContainer()
8 override bool CanPutInCargo(
EntityAI parent)
10 if (!super.CanPutInCargo(parent))
13 if (parent && (parent ==
this ||
GetType() == parent.GetType() || parent.GetInventory().IsCargoInHiearchy()))
19 override bool CanReceiveItemIntoCargo(
EntityAI item )
21 if (!super.CanReceiveItemIntoCargo(item))
25 if (GetInventory().IsCargoInHiearchy())
45 return "disableContainerDamage";
61 return super.CanReceiveAttachment(attachment, slotId);
69 return super.CanLoadAttachment(attachment);
77 return super.CanReceiveItemIntoCargo(item);
82 if (!super.CanLoadItemIntoCargo(item))
93 super.EEHealthLevelChanged(oldLevel,newLevel,zone);
95 if (newLevel ==
GameConstants.STATE_RUINED && !GetHierarchyParent())
96 MiscGameplayFunctions.DropAllItemsInInventoryInBounds(
this,
m_HalfExtents);