using Terraria; using Terraria.Localization; using Terraria.ModLoader; using Terraria.ID; namespace FabusMod; public class FabusMod : Mod { public override void AddRecipeGroups() { RecipeGroup group = new(() => Language.GetTextValue("LegacyMisc.37") + " Fox Ears", new int[3] { Find("FoxEars").Type, Find("PinkFoxEars").Type, Find("BlueFoxEars").Type }); RecipeGroup.RegisterGroup("FabusMod:FoxEars", group); RecipeGroup group2 = new(() => Language.GetTextValue("LegacyMisc.37") + " Punk's Pulse", new int[2] { Find("PunksPulse").Type, Find("PunksPulseUltraviolet").Type }); RecipeGroup.RegisterGroup("FabusMod:PunksPulse", group2); RecipeGroup group3 = new(() => Language.GetTextValue("LegacyMisc.37") + " Pulse Sprayer", new int[2] { Find("PulseSprayer").Type, Find("PulseSprayerCadet").Type }); RecipeGroup.RegisterGroup("FabusMod:PulseSprayer", group3); RecipeGroup group4 = new(() => Language.GetTextValue("LegacyMisc.37") + " Rainbow Demon", new int[6] { Find("TheRainbowDemon").Type, Find("TheRainbowDemonClaymore").Type, Find("TheRainbowDemonRanged").Type, Find("TheRainbowDemonThrowing").Type, Find("TheRainbowDemonMagic").Type, Find("TheRainbowDemonShredder").Type }); RecipeGroup.RegisterGroup("FabusMod:TheRainbowDemon", group4); RecipeGroup group5 = new(() => Language.GetTextValue("LegacyMisc.37") + " The Stinger", new int[2] { Find("TheStinger").Type, Find("TheStingerBlackCat").Type }); RecipeGroup.RegisterGroup("FabusMod:TheStinger", group5); RecipeGroup group6 = new(() => Language.GetTextValue("LegacyMisc.37") + " Shivering Shotgun", new int[2] { Find("HellshiverGun").Type, Find("HellshiverGunHellfire").Type }); RecipeGroup.RegisterGroup("FabusMod:HellshiverGun", group6); RecipeGroup group7 = new(() => Language.GetTextValue("LegacyMisc.37") + " Hellraiser", new int[2] { Find("HellkinShotgun").Type, Find("HellkinShotgunDracula").Type }); RecipeGroup.RegisterGroup("FabusMod:HellkinShotgun", group7); RecipeGroup group8 = new(() => Language.GetTextValue("LegacyMisc.37") + " Carbon Shuriken", new int[2] { Find("CarbonShuriken").Type, Find("CarbonShurikenNihon").Type }); RecipeGroup.RegisterGroup("FabusMod:CarbonShuriken", group8); RecipeGroup group9 = new(() => Language.GetTextValue("LegacyMisc.37") + " Solitude", new int[2] { Find("Peacegunner").Type, Find("PeacegunnerAmerican").Type }); RecipeGroup.RegisterGroup("FabusMod:Peacegunner", group9); RecipeGroup group10 = new(() => Language.GetTextValue("LegacyMisc.37") + " Silencer", new int[2] { Find("Peaceforcer").Type, Find("PeaceforcerVanHelsing").Type }); RecipeGroup.RegisterGroup("FabusMod:Peaceforcer", group10); RecipeGroup group11 = new(() => Language.GetTextValue("LegacyMisc.37") + " Carbon Sword", new int[2] { Find("CarbonSword").Type, Find("CarbonSwordNihon").Type }); RecipeGroup.RegisterGroup("FabusMod:CarbonSword", group11); RecipeGroup group12 = new(() => Language.GetTextValue("LegacyMisc.37") + " Light's Bane", new int[2] { 46, 795 }); RecipeGroup.RegisterGroup("FabusMod:LightsBane", group12); RecipeGroup group13 = new(() => Language.GetTextValue("LegacyMisc.37") + " Carbon Dagger", new int[2] { Find("CarbonDagger").Type, Find("CarbonDaggerNihon").Type }); RecipeGroup.RegisterGroup("FabusMod:CarbonDagger", group13); RecipeGroup group14 = new(() => Language.GetTextValue("LegacyMisc.37") + " Sorcerer's Hellstaff", new int[2] { Find("SorcerersHellstaff").Type, Find("SorcerersHellstaffWhite").Type }); RecipeGroup.RegisterGroup("FabusMod:SorcerousHellstaff", group14); RecipeGroup group15 = new(() => Language.GetTextValue("LegacyMisc.37") + " Fox Pistol", new int[2] { Find("FoxPistol").Type, Find("FoxPistolBlue").Type }); RecipeGroup.RegisterGroup("FabusMod:FoxPistol", group15); RecipeGroup group16 = new(() => Language.GetTextValue("LegacyMisc.37") + " Demonite Bar", new int[2] { 57, 1257 }); RecipeGroup.RegisterGroup("FabusMod:DemoniteBar", group16); /*RecipeGroup group17 = new(() => Language.GetTextValue("LegacyMisc.37") + " Elemental Water Staff", new int[4] { Find("ElementalWaterStaff").Type, Find("ElementalWaterStaffRed").Type, Find("ElementalWaterStaffGreen").Type, Find("ElementalWaterStaffYellow").Type }); RecipeGroup.RegisterGroup("FabusMod:ElementalWaterStaff", group17);*/ RecipeGroup group18 = new(() => Language.GetTextValue("LegacyMisc.37") + " Gold Bar", new int[2] { 19, 706 }); RecipeGroup.RegisterGroup("FabusMod:GoldBar", group18); RecipeGroup group19 = new(() => Language.GetTextValue("LegacyMisc.37") + " Adamantite Bar", new int[2] { 391, 1198 }); RecipeGroup.RegisterGroup("FabusMod:AdamantiteBar", group19); RecipeGroup group20 = new(() => Language.GetTextValue("LegacyMisc.37") + " Protective Fusion", new int[2] { Find("ProtectionFuser").Type, Find("ProtectionFuserCarbonFiber").Type }); RecipeGroup.RegisterGroup("FabusMod:ProtectionFuser", group20); RecipeGroup group21 = new(() => Language.GetTextValue("LegacyMisc.37") + " Orichalcum Bar", new int[2] { 1191, 382 }); RecipeGroup.RegisterGroup("FabusMod:OrichalcumBar", group21); RecipeGroup group22 = new(() => Language.GetTextValue("LegacyMisc.37") + " Verano", new int[2] { Find("Verano").Type, Find("VeranoRime").Type }); RecipeGroup.RegisterGroup("FabusMod:Verano", group22); } public override void AddRecipes() { Recipe val = Recipe.Create(ModContent.ItemType()); val.AddRecipeGroup("FabusMod:FoxEars", 1); val.AddIngredient(ItemID.OrangeDye, 1); val.AddTile(TileID.DyeVat); val.Register(); Recipe val2 = Recipe.Create(ModContent.ItemType()); val2.AddRecipeGroup("FabusMod:FoxEars", 1); val2.AddIngredient(ItemID.PinkDye, 1); val2.AddTile(TileID.DyeVat); val2.Register(); Recipe val3 = Recipe.Create(ModContent.ItemType()); val3.AddRecipeGroup("FabusMod:FoxEars", 1); val3.AddIngredient(ItemID.SkyBlueDye, 1); val3.AddTile(TileID.DyeVat); val3.Register(); } }