AddIngredient() public méthode

public AddIngredient ( Mod mod, string itemName, int stack = 1 ) : void
mod Mod
itemName string
stack int
Résultat void
Exemple #1
0
        public override void AddRecipes()
        {
            ModRecipe recipe = new ModRecipe(mod);
            recipe.AddIngredient(ItemID.Amethyst);
            recipe.AddIngredient(ItemID.RottenChunk, 10);
            recipe.AddIngredient(ItemID.ShadowScale, 10);
            recipe.AddIngredient(ItemID.SoulofNight, 5);
            recipe.AddIngredient(null, "PowerlessRing");
            recipe.AddTile(TileID.MythrilAnvil);
            recipe.SetResult(this);
            recipe.AddRecipe();
            recipe = new ModRecipe(mod);
            recipe.AddIngredient(ItemID.Amethyst);
            recipe.AddIngredient(ItemID.Vertebrae, 10);
            recipe.AddIngredient(ItemID.TissueSample, 10);
            recipe.AddIngredient(ItemID.SoulofNight, 5);
            recipe.AddIngredient(null, "PowerlessRing");
            recipe.AddTile(TileID.MythrilAnvil);
            recipe.SetResult(this);
            recipe.AddRecipe();

            // DEBUGGING, REMOVE WHEN PUBLISHING
            recipe = new ModRecipe(mod);
            recipe.AddIngredient(ItemID.DirtBlock);
            recipe.SetResult(this);
            recipe.AddRecipe();
        }
		public override void AddRecipes()
		{
			ModRecipe recipe = new ModRecipe(mod);
			recipe.AddIngredient(ItemID.WorkBench);
			recipe.AddIngredient(null, "ExampleBlock", 10);
			recipe.SetResult(this);
			recipe.AddRecipe();
		}
		public override void AddRecipes()
		{
			ModRecipe recipe = new ModRecipe(mod);
			recipe.AddIngredient(ItemID.Torch, 3);
			recipe.AddIngredient(null, "ExampleBlock");
			recipe.SetResult(this, 3);
			recipe.AddRecipe();
		}
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(null, "SpiritWoodItem", 8);
     recipe.AddIngredient(TileID.WorkBenches);
     recipe.SetResult(this);
     recipe.AddRecipe();
 }
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(null, "AerialiteBar", 8);
     recipe.AddIngredient(ItemID.SunplateBlock, 3);
     recipe.AddTile(TileID.SkyMill);
     recipe.SetResult(this);
 }
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(null,"SpiritWoodItem", 4);
     recipe.AddIngredient(225, 5);
     recipe.SetResult(this);
     recipe.AddRecipe();
 }
Exemple #7
0
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(ItemID.StoneBlock);
     recipe.AddIngredient(null, "MharadiumOre");
     recipe.SetResult(this);
     recipe.AddRecipe();
 }
Exemple #8
0
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(161, 50);
     recipe.AddIngredient(331, 1);
     recipe.AddTile(TileID.Anvils);
     recipe.SetResult(this, 50);
     recipe.AddRecipe();
 }
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(Terraria.ID.ItemID.ChlorophyteClaymore, 1);
     recipe.AddIngredient(Terraria.ID.ItemID.ChlorophyteBar, 60);
     recipe.AddTile(TileID.MythrilAnvil);
     recipe.SetResult(this);
     recipe.AddRecipe();
 }
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(Terraria.ID.ItemID.RedPhasesaber, 1);
     recipe.AddIngredient(Terraria.ID.ItemID.CrystalShard, 200);
     recipe.AddTile(TileID.Anvils);
     recipe.SetResult(this);
     recipe.AddRecipe();
 }
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(null, "DraedonBar", 9);
     recipe.AddIngredient(ItemID.BeetleHelmet, 1);
     recipe.AddTile(null, "ParticleAccelerator");
     recipe.SetResult(this);
     recipe.AddRecipe();
 }
Exemple #12
0
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(null, "DarkEnergy", 10);
     recipe.AddIngredient(ItemID.DemoniteBar, 10);
     recipe.AddTile(TileID.Anvils);
     recipe.SetResult(this);
     recipe.AddRecipe();
 }
Exemple #13
0
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(null, "NightSky", 1);
     recipe.AddIngredient(ItemID.Ectoplasm, 16);
     recipe.AddTile(TileID.MythrilAnvil);
     recipe.SetResult(this, 1);
     recipe.AddRecipe();
 }
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(Terraria.ID.ItemID.WoodenSword, 1);
     recipe.AddIngredient(Terraria.ID.ItemID.Wood, 14);
     recipe.AddTile(TileID.WorkBenches);
     recipe.SetResult(this);
     recipe.AddRecipe();
 }
Exemple #15
0
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(ItemID.BorealWood, 10);
     recipe.AddIngredient(ItemID.Cobweb, 20);
     recipe.AddTile(TileID.Anvils);
     recipe.SetResult(this, 1);
     recipe.AddRecipe();
 }
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(Terraria.ID.ItemID.FieryGreatsword, 1);
     recipe.AddIngredient(Terraria.ID.ItemID.HellstoneBar, 70);
     recipe.AddTile(TileID.Anvils);
     recipe.SetResult(this);
     recipe.AddRecipe();
 }
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(null, "PlutoniumBar", 24);
     recipe.AddIngredient(ItemID.HallowedPlateMail, 1);
     recipe.AddTile(null, "ParticleAccelerator");
     recipe.SetResult(this);
     recipe.AddRecipe();
 }
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(Terraria.ID.ItemID.CobaltSword, 1);
     recipe.AddIngredient(Terraria.ID.ItemID.CobaltBar, 40);
     recipe.AddTile(TileID.Anvils);
     recipe.SetResult(this);
     recipe.AddRecipe();
 }
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(Terraria.ID.ItemID.SilverShortsword, 1);
     recipe.AddIngredient(Terraria.ID.ItemID.SilverBar, 16);
     recipe.AddTile(TileID.Anvils);
     recipe.SetResult(this);
     recipe.AddRecipe();
 }
Exemple #20
0
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(ItemID.CrystalShard, 1);
     recipe.AddIngredient(ItemID.PearlstoneBlock, 10);
     recipe.AddTile(TileID.MythrilAnvil);
     recipe.SetResult(this, 100);
     recipe.AddRecipe();
 }
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(ItemID.Silk, 1);
     recipe.AddIngredient(ItemID.LeadBar, 10);
     recipe.AddTile(16);
     recipe.SetResult(this, 30);
     recipe.AddRecipe();
 }
Exemple #22
0
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(null, "LivingTwig");
     recipe.AddIngredient(null, "ManaStar");
     recipe.AddTile(114);
     recipe.SetResult(this);
     recipe.AddRecipe();
 }
Exemple #23
0
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(null, "YellowStar");
     recipe.AddIngredient(ItemID.BandofStarpower, 1);
     recipe.AddTile(114);
     recipe.SetResult(this);
     recipe.AddRecipe();
 }
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(null, "BossEnergy", 2);
     recipe.AddIngredient(ItemID.Topaz, 10);
     recipe.AddTile(TileID.Anvils);
     recipe.SetResult(this);
     recipe.AddRecipe();
 }
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(null, "PlutoniumBar");
     recipe.AddIngredient(null, "CoreofCinder");
     recipe.AddTile(null, "ParticleAccelerator");
     recipe.SetResult(this);
     recipe.AddRecipe();
 }
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(Terraria.ID.ItemID.LeadBroadsword, 1);
     recipe.AddIngredient(Terraria.ID.ItemID.LeadBar, 24);
     recipe.AddTile(TileID.Anvils);
     recipe.SetResult(this);
     recipe.AddRecipe();
 }
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(null, "VerstaltiteBar", 18);
     recipe.AddIngredient(ItemID.ShroomiteBreastplate, 1);
     recipe.AddTile(null, "ParticleAccelerator");
     recipe.SetResult(this);
     recipe.AddRecipe();
 }
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(null, "CruptixBar", 18);
     recipe.AddIngredient(ItemID.SpectreRobe, 1);
     recipe.AddTile(null, "ParticleAccelerator");
     recipe.SetResult(this);
     recipe.AddRecipe();
 }
Exemple #29
0
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(null, "UndeadEnergy", 10);
     recipe.AddIngredient(ItemID.Bone, 20);
     recipe.AddTile(TileID.Anvils);
     recipe.SetResult(this);
     recipe.AddRecipe();
 }
Exemple #30
0
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(ItemID.TurtleShell, 1);
     recipe.AddIngredient(ItemID.ChlorophyteBar, 18);
     recipe.AddTile(TileID.MythrilAnvil);
     recipe.SetResult(this);
     recipe.AddRecipe();
 }