1364 {
1365 InventoryLocation src = new InventoryLocation();
1366 if (lambda.
m_OldItem.GetInventory().GetCurrentInventoryLocation(src))
1367 {
1368 if (LogManager.IsInventoryMoveLogEnable())
inventoryDebugPrint(
"[inv] I::ReplaceItemWithNew executing lambda=" + lambda +
"on old_item=" + lambda.
m_OldItem);
1370 return true;
1371 }
1372
1373 Error(
"[inv] I::ReplaceItemWithNew - no inventory location");
1374 return false;
1375 }
void inventoryDebugPrint(string s)
void Execute(HumanInventoryWithFSM fsm_to_notify=null)
void Error(string err)
Messagebox with error message.