public void CreateItem(Mobile from, Type type, Type typeRes, BaseTool tool, CraftItem realCraftItem) { CraftItem craftItem = m_CraftItems.SearchFor(type); if (craftItem != null) { realCraftItem.Craft(from, this, typeRes, tool); } }
public void CreateItem(Mobile from, Type type, Type typeRes, BaseTool tool, CraftItem realCraftItem, bool showGumps) { // Verify if the type is in the list of the craftable item CraftItem craftItem = m_CraftItems.SearchFor(type); if (craftItem != null) { realCraftItem.Craft(from, this, typeRes, tool, showGumps); } }
public void CreateItem(Mobile from, Type type, Type typeRes, BaseTool tool, CraftItem realCraftItem) { // Verify if the type is in the list of the craftable item CraftItem craftItem = m_CraftItems.SearchFor(type); if (craftItem != null) { // The item is in the list, try to create it // Test code: items like sextant parts can be crafted either directly from ingots, or from different parts realCraftItem.Craft(from, this, typeRes, tool); //craftItem.Craft( from, this, typeRes, tool ); } }