本文整理汇总了C#中Terraria.ModLoader.ModRecipe.SetResult方法的典型用法代码示例。如果您正苦于以下问题:C# ModRecipe.SetResult方法的具体用法?C# ModRecipe.SetResult怎么用?C# ModRecipe.SetResult使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Terraria.ModLoader.ModRecipe
的用法示例。
在下文中一共展示了ModRecipe.SetResult方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: AddRecipes
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(null, "BismiteCrystal", 8);
recipe.SetResult(this, 1);
recipe.AddRecipe();
}
示例2: AddRecipes
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(null, "Aurawood", 30);
recipe.SetResult(this);
recipe.AddRecipe();
}
示例3: AddRecipes
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(ItemID.Diamond, 1);
recipe.AddTile(TileID.Anvils);
recipe.SetResult(this, 50);
}
示例4: AddRecipes
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(ItemID.DirtBlock);
recipe.SetResult(this);
recipe.AddRecipe();
}
示例5: AddRecipes
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(ItemID.SiltBlock, 100);
recipe.AddTile(TileID.Furnaces);
recipe.SetResult(this);
}
示例6: AddRecipes
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(null, "AerialiteOre", 5);
recipe.AddTile(TileID.Furnaces);
recipe.SetResult(this);
}
示例7: AddRecipes
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(null, "ExampleItem");
recipe.SetResult(this);
recipe.AddRecipe();
}
示例8: AddRecipes
public override void AddRecipes()
{
ModRecipe modRecipe = new ModRecipe(mod);
modRecipe.AddIngredient(2, 1);
modRecipe.SetResult(this, 1);
modRecipe.AddRecipe();
}
示例9: AddRecipes
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(null,"SpiritWoodItem", 10);
recipe.SetResult(this);
recipe.AddRecipe();
}
示例10: AddRecipes
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(this);
recipe.AddIngredient(null, "ExampleItem");
recipe.SetResult(ItemID.Wood, 999);
recipe.AddRecipe();
recipe = new ModRecipe(this);
recipe.AddIngredient(null, "ExampleItem");
recipe.SetResult(ItemID.Silk, 999);
recipe.AddRecipe();
recipe = new ModRecipe(this);
recipe.AddIngredient(null, "ExampleItem");
recipe.SetResult(ItemID.IronOre, 999);
recipe.AddRecipe();
recipe = new ModRecipe(this);
recipe.AddIngredient(null, "ExampleItem");
recipe.SetResult(ItemID.GravitationPotion, 20);
recipe.AddRecipe();
recipe = new ModRecipe(this);
recipe.AddIngredient(null, "ExampleItem");
recipe.SetResult(ItemID.GoldChest);
recipe.AddRecipe();
recipe = new ModRecipe(this);
recipe.AddIngredient(null, "ExampleItem");
recipe.SetResult(ItemID.MusicBoxDungeon);
recipe.AddRecipe();
RecipeHelper.AddBossRecipes(this);
}
示例11: 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();
}
示例12: AddRecipes
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(null, "GaseousVacuumMixture");
recipe.SetResult(this, 999);
recipe.AddRecipe();
}
示例13: AddRecipes
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(null, "FloranBar", 10);
recipe.SetResult(this, 1);
recipe.AddRecipe();
}
示例14: AddRecipes
//How to craft this item
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(null, "FloranBar", 14); //you need 10 Wood
recipe.AddTile(TileID.Anvils); //at work bench
recipe.SetResult(this);
recipe.AddRecipe();
}
示例15: 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);
}