本文整理匯總了C#中Terraria.ModLoader.ModRecipe.AddTile方法的典型用法代碼示例。如果您正苦於以下問題:C# ModRecipe.AddTile方法的具體用法?C# ModRecipe.AddTile怎麽用?C# ModRecipe.AddTile使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Terraria.ModLoader.ModRecipe
的用法示例。
在下文中一共展示了ModRecipe.AddTile方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。
示例1: AddRecipes
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(ItemID.Diamond, 1);
recipe.AddTile(TileID.Anvils);
recipe.SetResult(this, 50);
}
示例2: AddRecipes
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(null, "AerialiteOre", 5);
recipe.AddTile(TileID.Furnaces);
recipe.SetResult(this);
}
示例3: AddRecipes
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(ItemID.SiltBlock, 100);
recipe.AddTile(TileID.Furnaces);
recipe.SetResult(this);
}
示例4: 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();
}
示例5: AddRecipes
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(this);
recipe.AddIngredient(Terraria.ID.ItemID.Wood, 5);
recipe.SetResult(ItemID.Wood, 999);
recipe.AddRecipe();
recipe = new ModRecipe(this);
recipe.AddIngredient(Terraria.ID.ItemID.CopperBar, 1);
recipe.AddIngredient(Terraria.ID.ItemID.SilverBar, 1);
recipe.AddIngredient(Terraria.ID.ItemID.GoldBar, 1);
recipe.AddTile(TileID.Tables);
recipe.AddTile(TileID.Chairs);
recipe.SetResult(Terraria.ID.ItemID.DepthMeter, 1);
recipe.AddRecipe();
}
示例6: AddRecipes
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(null, "ForestEnergy", 10);
recipe.AddTile(TileID.Anvils);
recipe.SetResult(this);
recipe.AddRecipe();
}
示例7: AddRecipes
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(null, "ExampleItem", 10);
recipe.AddTile(TileID.WorkBenches);
recipe.SetResult(this);
recipe.AddRecipe();
}
示例8: AddRecipes
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(ItemID.LunarBar, 12);
recipe.AddTile(TileID.LunarCraftingStation);
recipe.SetResult(this);
recipe.AddRecipe();
}
示例9: AddRecipes
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(null, "Dirt Block", 1);
recipe.AddTile(null, "Work Bench");
recipe.SetResult(this);
recipe.AddRecipe();
}
示例10: AddRecipes
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(ItemID.SpectreBar, 10);
recipe.AddTile(TileID.MythrilAnvil);
recipe.SetResult(this, 1);
recipe.AddRecipe();
}
示例11: AddRecipes
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(null, "FloranBar", 10);
recipe.AddTile(TileID.Anvils);
recipe.SetResult(this, 1);
recipe.AddRecipe();
}
示例12: AddRecipes
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(null, "MharadiumOre", 6);
recipe.AddTile(null, "MharadiumForge");
recipe.SetResult(this);
recipe.AddRecipe();
}
示例13: AddRecipes
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(null,"SpiritOre", 4);
recipe.AddTile(TileID.AdamantiteForge);
recipe.SetResult(this);
recipe.AddRecipe();
}
示例14: AddRecipes
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(ItemID.AdamantiteBar, 12);
recipe.AddTile(TileID.MythrilAnvil);
recipe.SetResult(this);
recipe.AddRecipe();
}
示例15: AddRecipes
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(null, "PlutoniumBar", 15);
recipe.AddTile(null, "ParticleAccelerator");
recipe.SetResult(this);
recipe.AddRecipe();
}