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