/** * <summary>Combines the item with another.</summary> * <param name = "otherItemID">The ID number of the inventory item to combine with</param> */ public void CombineWithItem(int otherItemID) { InvInstance newInstance = new InvInstance(this); newInstance.Combine(new InvInstance(otherItemID)); }
/** * <summary>Combines the item with another.</summary> * <param name = "otherItem">The inventory item to combine with</param> */ public void CombineWithItem(InvItem otherItem) { InvInstance newInstance = new InvInstance(this); newInstance.Combine(new InvInstance(otherItem)); }
/** * <summary>Combines the item with itself. This is normally only available when combining items via Hotspot-based InventoryBox elements, but this allows it to be enforced.</summary> */ public void CombineWithSelf() { InvInstance newInstance = new InvInstance(this); newInstance.Combine(newInstance, true); }