Recipe groups for Draedons forge

This commit is contained in:
Shucks committed 2019-11-23 18:11:26 -06:00
1 parent 7a66add4b8
commit ef31a8aaad
2 files changed
+16 -32

No files matched your search

@@ -31,38 +31,8 @@ namespace CalamityMod.Items.Placeables.Furniture.CraftingStations
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(ItemID.AdamantiteForge);
recipe.AddIngredient(ItemID.MythrilAnvil);
recipe.AddIngredient(ItemID.LunarCraftingStation);
recipe.AddIngredient(ItemID.LunarBar, 5);
recipe.AddIngredient(ModContent.ItemType<CosmiliteBar>(), 5);
recipe.AddIngredient(ModContent.ItemType<NightmareFuel>(), 20);
recipe.AddIngredient(ModContent.ItemType<EndothermicEnergy>(), 20);
recipe.SetResult(this);
recipe.AddRecipe();
recipe = new ModRecipe(mod);
recipe.AddIngredient(ItemID.TitaniumForge);
recipe.AddIngredient(ItemID.MythrilAnvil);
recipe.AddIngredient(ItemID.LunarCraftingStation);
recipe.AddIngredient(ItemID.LunarBar, 5);
recipe.AddIngredient(ModContent.ItemType<CosmiliteBar>(), 5);
recipe.AddIngredient(ModContent.ItemType<NightmareFuel>(), 20);
recipe.AddIngredient(ModContent.ItemType<EndothermicEnergy>(), 20);
recipe.SetResult(this);
recipe.AddRecipe();
recipe = new ModRecipe(mod);
recipe.AddIngredient(ItemID.TitaniumForge);
recipe.AddIngredient(ItemID.OrichalcumAnvil);
recipe.AddIngredient(ItemID.LunarCraftingStation);
recipe.AddIngredient(ItemID.LunarBar, 5);
recipe.AddIngredient(ModContent.ItemType<CosmiliteBar>(), 5);
recipe.AddIngredient(ModContent.ItemType<NightmareFuel>(), 20);
recipe.AddIngredient(ModContent.ItemType<EndothermicEnergy>(), 20);
recipe.SetResult(this);
recipe.AddRecipe();
recipe = new ModRecipe(mod);
recipe.AddIngredient(ItemID.AdamantiteForge);
recipe.AddIngredient(ItemID.OrichalcumAnvil);
recipe.AddRecipeGroup("HardmodeForge");
recipe.AddRecipeGroup("HardmodeAnvil");
recipe.AddIngredient(ItemID.LunarCraftingStation);
recipe.AddIngredient(ItemID.LunarBar, 5);
recipe.AddIngredient(ModContent.ItemType<CosmiliteBar>(), 5);
+14
View File
@@ -793,6 +793,20 @@ namespace CalamityMod
});
RecipeGroup.RegisterGroup("SiltGroup", group);
group = new RecipeGroup(() => "Any Hardmode Anvil", new int[]
{
ItemID.MythrilAnvil,
ItemID.OrichalcumAnvil
});
RecipeGroup.RegisterGroup("HardmodeAnvil", group);
group = new RecipeGroup(() => "Any Hardmode Forge", new int[]
{
ItemID.AdamantiteForge,
ItemID.TitaniumForge
});
RecipeGroup.RegisterGroup("HardmodeForge", group);
group = new RecipeGroup(() => "Any Lunar Pickaxe", new int[]
{
ItemID.SolarFlarePickaxe,