323 {
324
325 if (parent.IsInherited(Transport) && parent.IsRuined())
326 {
327 InventoryLocation loc = new InventoryLocation();
328 if (GetInventory().GetCurrentInventoryLocation(loc))
329 {
331 }
332
333 return false;
334 }
335
336 if (!super.CanPutAsAttachment(parent))
337 return false;
338
339 return true;
340 }
InventoryLocationType
types of Inventory Location
proto native int GetType()
returns type of InventoryLocation