34 {
35 Object target_object = action_data.m_Target.GetObject();
36 FireplaceIndoor fireplace_indoor = FireplaceIndoor.Cast( target_object );
37
39 InventoryLocation targetIL = new InventoryLocation;
41 if ( found )
42 {
43
44 lambda.OverrideNewLocation( targetIL );
45 action_data.m_Player.ServerReplaceItemWithNew( lambda );
46 }
47 }
void TakeFireplaceFromIndoorLambda(EntityAI old_item, string new_item_type, PlayerBase player)
FindInventoryLocationType
flags for searching locations in inventory