1304 {
1305 if (LogManager.IsInventoryMoveLogEnable())
inventoryDebugPrint(
"[inv] I::LocalDestroyEntity inv item=" + item);
1306 InventoryLocation src = new InventoryLocation();
1307 if (item.GetInventory().GetCurrentInventoryLocation(src))
1308 {
1310 Error(
"[inv] Source location == HANDS, player has to handle this");
1311
1313 return true;
1314 }
1315
1316 Error(
"LocalDestroyEntity: No inventory location");
1317 return false;
1318 }
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.