1347 {
1348 if (LogManager.IsInventoryMoveLogEnable())
inventoryDebugPrint(
"[inv] I::LocalDestroyEntity inv item=" + item);
1349 InventoryLocation src = new InventoryLocation();
1350 if (item.GetInventory().GetCurrentInventoryLocation(src))
1351 {
1353 Error(
"[inv] Source location == HANDS, player has to handle this");
1354
1356 return true;
1357 }
1358
1359 Error(
"LocalDestroyEntity: No inventory location");
1360 return false;
1361 }
void inventoryDebugPrint(string s)
InventoryLocationType
types of Inventory Location
proto native int GetType()
returns type of InventoryLocation
proto native EntityAI GetItem()
returns item of current inventory location
void Error(string err)
Messagebox with error message.