39 {
40 bool is_hidden_stash_exception = false;
41
42 if ( parent.IsInherited( UndergroundStash ) )
43 is_hidden_stash_exception = true;
44
46 {
47 EntityAI cargoParent = parent.GetHierarchyParent();
49 if (cargoParent)
50 return !(parent.IsClothing() && cargoParent.IsClothing()) || ( parentClothing && parentClothing.SmershException(cargoParent) );
51
52 return true;
53 }
54
55 return false;
56 }
int GetNumberOfItems()
Returns the number of items in cargo, otherwise returns 0(non-cargo objects). Recursive.