312 {
313
314 if (parent.IsInherited(Transport) && parent.IsRuined())
315 {
316 InventoryLocation loc = new InventoryLocation();
317 if (GetInventory().GetCurrentInventoryLocation(loc))
318 {
320 }
321
322 return false;
323 }
324
325 if (!super.CanPutAsAttachment(parent))
326 return false;
327
328 return true;
329 }
InventoryLocationType
types of Inventory Location
proto native int GetType()
returns type of InventoryLocation