3 override int GetDamageSystemVersionChange()
8 override bool CanPutInCargo(
EntityAI parent)
10 if (!super.CanPutInCargo(parent))
13 if (parent && parent.IsKindOf(
"WaterproofBag_ColorBase"))
30 override bool CanPutInCargo(
EntityAI parent)
32 if (!super.CanPutInCargo(parent))
35 if (parent && parent.IsKindOf(
"AmmoBox"))
38 if (parent && parent.IsKindOf(
"PlateCarrierPouches"))
44 override bool CanReceiveItemIntoCargo(
EntityAI item )
46 if (!super.CanReceiveItemIntoCargo(item))
49 if (GetInventory().IsAttachment())
51 return !GetHierarchyParent().GetInventory().IsInCargo() && (!item.GetInventory().GetCargo() || (item.GetInventory().GetCargo().GetItemCount() == 0 || item.IsContainer()));
54 return !item.GetInventory().GetCargo() || (item.GetInventory().GetCargo().GetItemCount() == 0 || item.IsContainer());
57 override bool CanLoadItemIntoCargo(
EntityAI item )
59 if (!super.CanLoadItemIntoCargo(item))
62 return !item.GetInventory().GetCargo() || (item.GetInventory().GetCargo().GetItemCount() == 0 || item.IsContainer());
70 override int GetDamageSystemVersionChange()