public override void AddRecipes() { EclipseRecipe recipe = new EclipseRecipe(mod); if (IndustrialPickaxes.RedemptionLoaded) { recipe.AddIngredient(IndustrialPickaxes.Redemption.ItemType("XeniumBar")); } if (IndustrialPickaxes.AALoaded) { recipe.AddIngredient(IndustrialPickaxes.AncientsAwakened.ItemType("DaybreakIncinerite")); recipe.AddIngredient(IndustrialPickaxes.AncientsAwakened.ItemType("EventideAbyssium")); } if (IndustrialPickaxes.CalamityLoaded) { recipe.AddIngredient(IndustrialPickaxes.Calamity.ItemType("AuricBar")); } if (IndustrialPickaxes.SoALoaded) { recipe.AddIngredient(IndustrialPickaxes.SacredTools.ItemType("MoonstoneBar")); } if (IndustrialPickaxes.ThoriumLoaded) { recipe.AddIngredient(IndustrialPickaxes.Thorium.ItemType("TerrariumCore")); } else { recipe.AddIngredient(ItemID.HallowedBar); recipe.AddIngredient(ItemID.ChlorophyteBar); } recipe.AddIngredient(ItemID.LunarBar); if (IndustrialPickaxes.CalamityLoaded) { recipe.AddTile(IndustrialPickaxes.Calamity.TileType("DraedonsForge")); } else if (IndustrialPickaxes.SoALoaded) { recipe.AddTile(IndustrialPickaxes.SacredTools.TileType("LunarAltar")); } else { recipe.AddTile(TileID.LunarCraftingStation); } recipe.SetResult(this); recipe.AddRecipe(); }
public override void AddRecipes() { EclipseRecipe recipe = new EclipseRecipe(mod); if (IndustrialPickaxes.RedemptionLoaded) { recipe.AddIngredient(IndustrialPickaxes.Redemption.ItemType("XeniumBar")); } if (IndustrialPickaxes.AALoaded) { recipe.AddIngredient(IndustrialPickaxes.AncientsAwakened.ItemType("DaybreakIncinerite")); recipe.AddIngredient(IndustrialPickaxes.AncientsAwakened.ItemType("EventideAbyssium")); } if (IndustrialPickaxes.CalamityLoaded) { if (IndustrialPickaxes.Calamity.GetItem("AuricBar") != null) { recipe.AddIngredient(IndustrialPickaxes.Calamity.ItemType("AuricBar")); } else { recipe.AddIngredient(IndustrialPickaxes.Calamity.ItemType("BarofLife")); recipe.AddIngredient(IndustrialPickaxes.Calamity.ItemType("Phantoplasm")); recipe.AddIngredient(IndustrialPickaxes.Calamity.ItemType("NightmareFuel")); recipe.AddIngredient(IndustrialPickaxes.Calamity.ItemType("EndothermicEnergy")); recipe.AddIngredient(IndustrialPickaxes.Calamity.ItemType("DarksunFragment")); recipe.AddIngredient(IndustrialPickaxes.Calamity.ItemType("HellcasterFragment")); } } if (IndustrialPickaxes.SoALoaded) { recipe.AddIngredient(IndustrialPickaxes.SacredTools.ItemType("MoonstoneBar")); } if (IndustrialPickaxes.ThoriumLoaded) { recipe.AddIngredient(IndustrialPickaxes.Thorium.ItemType("TerrariumCore")); } else { recipe.AddIngredient(ItemID.HallowedBar); recipe.AddIngredient(ItemID.ChlorophyteBar); } recipe.AddIngredient(ItemID.LunarBar); if (IndustrialPickaxes.CalamityLoaded) { recipe.AddTile(IndustrialPickaxes.Calamity.TileType("DraedonsForge")); } else if (IndustrialPickaxes.SoALoaded) { recipe.AddTile(IndustrialPickaxes.SacredTools.TileType("LunarAltar")); } else { recipe.AddTile(TileID.LunarCraftingStation); } recipe.SetResult(this); recipe.AddRecipe(); }