本文整理汇总了C#中Terraria.ModLoader.ModRecipe.AddIngredient方法的典型用法代码示例。如果您正苦于以下问题:C# ModRecipe.AddIngredient方法的具体用法?C# ModRecipe.AddIngredient怎么用?C# ModRecipe.AddIngredient使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Terraria.ModLoader.ModRecipe
的用法示例。
在下文中一共展示了ModRecipe.AddIngredient方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: AddRecipes
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();
}
示例2: AddRecipes
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(ItemID.WorkBench);
recipe.AddIngredient(null, "ExampleBlock", 10);
recipe.SetResult(this);
recipe.AddRecipe();
}
示例3: AddRecipes
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(ItemID.Torch, 3);
recipe.AddIngredient(null, "ExampleBlock");
recipe.SetResult(this, 3);
recipe.AddRecipe();
}
示例4: AddRecipes
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(null, "SpiritWoodItem", 8);
recipe.AddIngredient(TileID.WorkBenches);
recipe.SetResult(this);
recipe.AddRecipe();
}
示例5: AddRecipes
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);
}
示例6: AddRecipes
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(null,"SpiritWoodItem", 4);
recipe.AddIngredient(225, 5);
recipe.SetResult(this);
recipe.AddRecipe();
}
示例7: AddRecipes
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(ItemID.StoneBlock);
recipe.AddIngredient(null, "MharadiumOre");
recipe.SetResult(this);
recipe.AddRecipe();
}
示例8: AddRecipes
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();
}
示例9: AddRecipes
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();
}
示例10: AddRecipes
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();
}
示例11: AddRecipes
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();
}
示例12: AddRecipes
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();
}
示例13: AddRecipes
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();
}
示例14: AddRecipes
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();
}
示例15: AddRecipes
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();
}