317 {
318
319 if (parent.IsInherited(Transport) && parent.IsRuined())
320 {
321 InventoryLocation loc = new InventoryLocation();
322 if (GetInventory().GetCurrentInventoryLocation(loc))
323 {
325 }
326
327 return false;
328 }
329
330 if (!super.CanPutAsAttachment(parent))
331 return false;
332
333 return true;
334 }
InventoryLocationType
types of Inventory Location
proto native int GetType()
returns type of InventoryLocation