public override void AddRecipes() { Recipe recipe = CreateRecipe(); recipe.createItem = this.item.Clone(); recipe.createItem.stack = 1; recipe.AddRecipeGroup("MagicStorage:AnySnowBiomeBlock", 300); recipe.AddTile(null, "CraftingAccess"); recipe.Register(); }
public override void AddRecipes() { Recipe recipe = CreateRecipe(); recipe.createItem = this.item.Clone(); recipe.createItem.stack = 1; recipe.AddIngredient(null, "StorageComponent"); recipe.AddRecipeGroup("MagicStorage:AnyDiamond", 3); if (MagicStorage.legendMod == null) { recipe.AddIngredient(ItemID.Emerald, 7); } else { recipe.AddRecipeGroup("MagicStorage:AnyEmerald", 7); } recipe.AddTile(TileID.WorkBenches); recipe.Register(); }
public override void AddRecipes() { Recipe recipe = CreateRecipe(); recipe.createItem = this.item.Clone(); recipe.createItem.stack = 1; recipe.AddIngredient(Mod, "LocatorDisk"); recipe.AddIngredient(Mod, "RadiantJewel"); recipe.AddRecipeGroup("MagicStorage:AnyDiamond", 3); recipe.AddIngredient(ItemID.Ruby, 7); recipe.AddTile(TileID.LunarCraftingStation); recipe.Register(); Mod otherMod = MagicStorage.bluemagicMod; if (otherMod != null) { recipe = CreateRecipe(); recipe.createItem = this.item.Clone(); recipe.createItem.stack = 1; recipe.AddIngredient(Mod, "LocatorDisk"); recipe.AddIngredient(otherMod, "InfinityCrystal"); recipe.AddRecipeGroup("MagicStorage:AnyDiamond", 3); recipe.AddIngredient(ItemID.Ruby, 7); recipe.AddTile(otherMod, "PuriumAnvil"); recipe.Register(); } otherMod = ModLoader.GetMod("CalamityMod"); if (otherMod != null) { recipe = CreateRecipe(); recipe.createItem = this.item.Clone(); recipe.createItem.stack = 1; recipe.AddIngredient(Mod, "LocatorDisk"); recipe.AddIngredient(otherMod, "CosmiliteBar", 20); recipe.AddRecipeGroup("MagicStorage:AnyDiamond", 3); recipe.AddIngredient(ItemID.Ruby, 7); recipe.AddTile(TileID.LunarCraftingStation); recipe.Register(); } }
public override void AddRecipes() { Recipe recipe = CreateRecipe(); recipe.createItem = this.item.Clone(); recipe.createItem.stack = 1; recipe.AddIngredient(Mod.ItemType("StorageComponent")); recipe.AddRecipeGroup("MagicStorage:AnyChest"); recipe.AddIngredient(ItemID.SilverBar, 10); recipe.AddTile(TileID.WorkBenches); recipe.Register(); recipe = CreateRecipe(); recipe.createItem = this.item.Clone(); recipe.createItem.stack = 1; recipe.AddIngredient(Mod.ItemType("StorageComponent")); recipe.AddRecipeGroup("MagicStorage:AnyChest"); recipe.AddIngredient(ItemID.TungstenBar, 10); recipe.AddTile(TileID.WorkBenches); recipe.Register(); }
public override void AddRecipes() { Recipe recipe = CreateRecipe(); recipe.createItem = this.item.Clone(); recipe.createItem.stack = 1; recipe.AddIngredient(ItemID.HellstoneBar, 10); if (MagicStorage.legendMod == null) { recipe.AddIngredient(ItemID.Topaz); } else { recipe.AddRecipeGroup("MagicStorage:AnyTopaz"); } recipe.AddTile(TileID.Anvils); recipe.Register(); }
public override void AddRecipes() { Recipe recipe = CreateRecipe(); recipe.createItem = this.item.Clone(); recipe.createItem.stack = 1; recipe.AddIngredient(ItemID.ShroomiteBar, 5); recipe.AddIngredient(ItemID.SpectreBar, 5); recipe.AddIngredient(ItemID.BeetleHusk, 2); if (MagicStorage.legendMod == null) { recipe.AddIngredient(ItemID.Emerald); } else { recipe.AddRecipeGroup("MagicStorage:AnyEmerald"); } recipe.AddTile(TileID.MythrilAnvil); recipe.Register(); }
public override void AddRecipes() { Recipe recipe = CreateRecipe(); recipe.createItem = this.item.Clone(); recipe.createItem.stack = 1; recipe.AddIngredient(ItemID.HallowedBar, 10); recipe.AddIngredient(ItemID.SoulofFright); recipe.AddIngredient(ItemID.SoulofMight); recipe.AddIngredient(ItemID.SoulofSight); if (MagicStorage.legendMod == null) { recipe.AddIngredient(ItemID.Sapphire); } else { recipe.AddRecipeGroup("MagicStorage:AnySapphire"); } recipe.AddTile(TileID.MythrilAnvil); recipe.Register(); }
public override void AddRecipes() { Recipe recipe = CreateRecipe(); recipe.createItem = this.item.Clone(); recipe.createItem.stack = 1; recipe.AddIngredient(ItemID.LunarBar, 10); recipe.AddIngredient(ItemID.FragmentSolar, 5); recipe.AddIngredient(ItemID.FragmentVortex, 5); recipe.AddIngredient(ItemID.FragmentNebula, 5); recipe.AddIngredient(ItemID.FragmentStardust, 5); if (MagicStorage.legendMod == null) { recipe.AddIngredient(ItemID.Ruby); } else { recipe.AddRecipeGroup("MagicStorage:AnyRuby"); } recipe.AddTile(TileID.LunarCraftingStation); recipe.Register(); }
public override void SpellRecipe() { Recipe.AddIngredient(ItemID.Daybloom, 5); Recipe.AddRecipeGroup("Maggic:IronLeadOres", 5); }