1321 {
1322 InventoryLocation src = new InventoryLocation();
1323 if (lambda.
m_OldItem.GetInventory().GetCurrentInventoryLocation(src))
1324 {
1325 if (LogManager.IsInventoryMoveLogEnable())
inventoryDebugPrint(
"[inv] I::ReplaceItemWithNew executing lambda=" + lambda +
"on old_item=" + lambda.
m_OldItem);
1327 return true;
1328 }
1329
1330 Error(
"[inv] I::ReplaceItemWithNew - no inventory location");
1331 return false;
1332 }
void inventoryDebugPrint(string s)
void Execute(HumanInventoryWithFSM fsm_to_notify=null)
void Error(string err)
Messagebox with error message.