AddTile() public method

public AddTile ( Mod mod, string tileName ) : void
mod Mod
tileName string
return void
コード例 #1
0
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(ItemID.Diamond, 1);
     recipe.AddTile(TileID.Anvils);
     recipe.SetResult(this, 50);
 }
コード例 #2
0
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(null, "AerialiteOre", 5);
     recipe.AddTile(TileID.Furnaces);
     recipe.SetResult(this);
 }
コード例 #3
0
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(ItemID.SiltBlock, 100);
     recipe.AddTile(TileID.Furnaces);
     recipe.SetResult(this);
 }
コード例 #4
0
ファイル: ShadowRing.cs プロジェクト: Eldrazi/Pletharia
        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
0
        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
0
ファイル: ForestBlast.cs プロジェクト: ColinAV516/EnergyMod
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(null, "ForestEnergy", 10);
     recipe.AddTile(TileID.Anvils);
     recipe.SetResult(this);
     recipe.AddRecipe();
 }
コード例 #7
0
ファイル: SpectreGun.cs プロジェクト: DrakoGlyph/tModLoader
		public override void AddRecipes()
		{
			ModRecipe recipe = new ModRecipe(mod);
			recipe.AddIngredient(null, "ExampleItem", 10);
			recipe.AddTile(TileID.WorkBenches);
			recipe.SetResult(this);
			recipe.AddRecipe();
		}
コード例 #8
0
		public override void AddRecipes()
		{
			ModRecipe recipe = new ModRecipe(mod);
			recipe.AddIngredient(ItemID.LunarBar, 12);
			recipe.AddTile(TileID.LunarCraftingStation);
			recipe.SetResult(this);
			recipe.AddRecipe();
		}
コード例 #9
0
ファイル: FlashMask.cs プロジェクト: raaaasmus/tHeroes-Old
 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
0
ファイル: SpectreRing.cs プロジェクト: ColinAV516/Spirit-Mod
 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
0
ファイル: FBow.cs プロジェクト: ColinAV516/Spirit-Mod
 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
0
ファイル: MharadiumBar.cs プロジェクト: Eldrazi/Mharadium
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(null, "MharadiumOre", 6);
     recipe.AddTile(null, "MharadiumForge");
     recipe.SetResult(this);
     recipe.AddRecipe();
 }
コード例 #13
0
ファイル: SpiritBar.cs プロジェクト: ColinAV516/Spirit-Mod
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(null,"SpiritOre", 4);
     recipe.AddTile(TileID.AdamantiteForge);
     recipe.SetResult(this);
     recipe.AddRecipe();
 }
コード例 #14
0
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(ItemID.AdamantiteBar, 12);
     recipe.AddTile(TileID.MythrilAnvil);
     recipe.SetResult(this);
     recipe.AddRecipe();
 }
コード例 #15
0
ファイル: BismiteBow.cs プロジェクト: ColinAV516/Spirit-Mod
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(null, "BismiteCrystal", 10);
     recipe.AddTile(TileID.Anvils);
     recipe.SetResult(this);
     recipe.AddRecipe();
 }
コード例 #16
0
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(null, "PlutoniumBar", 15);
     recipe.AddTile(null, "ParticleAccelerator");
     recipe.SetResult(this);
     recipe.AddRecipe();
 }
コード例 #17
0
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(null, "Aurastone", 2);
     recipe.AddTile(TileID.Furnaces);
     recipe.SetResult(this);
     recipe.AddRecipe();
 }
コード例 #18
0
ファイル: RunicHamaxe.cs プロジェクト: ColinAV516/Spirit-Mod
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(null, "Rune", 12);
     recipe.AddTile(TileID.MythrilAnvil);
     recipe.SetResult(this);
     recipe.AddRecipe();
 }
コード例 #19
0
 public override void AddRecipes()
 {
     ModRecipe modRecipe = new ModRecipe(mod);
     modRecipe.AddIngredient(null, "SpiritBar", 18);
     modRecipe.AddTile(134);
     modRecipe.SetResult(this, 1);
     modRecipe.AddRecipe();
 }
コード例 #20
0
ファイル: FLegs.cs プロジェクト: ColinAV516/Spirit-Mod
 //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();
 }
コード例 #21
0
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(null, "DarkGel", 15);
     recipe.AddTile(TileID.Anvils);
     recipe.SetResult(this);
     recipe.AddRecipe();
 }
コード例 #22
0
ファイル: Wisp.cs プロジェクト: DrakoGlyph/tModLoader
		public override void AddRecipes()
		{
			ModRecipe recipe = new ModRecipe(mod);
			recipe.AddIngredient(ItemID.Ectoplasm);
			recipe.AddTile(TileID.WorkBenches);
			recipe.SetResult(this, 50);
			recipe.AddRecipe();
		}
コード例 #23
0
 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);
 }
コード例 #24
0
ファイル: DevilmiteShard.cs プロジェクト: Eldrazi/Mharadium
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(ItemID.DirtBlock);
     recipe.AddTile(null, "MharadiumAnvil");
     recipe.SetResult(this);
     recipe.AddRecipe();
 }
コード例 #25
0
ファイル: IronFist.cs プロジェクト: ColinAV516/EnergyMod
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(ItemID.IronBar, 12);
     recipe.AddTile(TileID.Anvils);
     recipe.SetResult(this, 1);
     recipe.AddRecipe();
 }
コード例 #26
0
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(ItemID.DirtBlock, 1);
     recipe.AddTile(TileID.WorkBenches);
     recipe.SetResult(this);
     recipe.AddRecipe();
 }
コード例 #27
0
ファイル: VileGeyserWand.cs プロジェクト: Eldrazi/Gyrolite
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(ItemID.DemoniteBar, 8);
     recipe.AddTile(TileID.DemonAltar);
     recipe.SetResult(this);
     recipe.AddRecipe();
 }
コード例 #28
0
		public override void AddRecipes()
		{
			ModRecipe recipe = new ModRecipe(mod);
			recipe.AddIngredient(null, "ExampleBlock");
			recipe.SetResult(this, 2);
			recipe.AddTile(null, "ExampleWorkbench");
			recipe.AddRecipe();
		}
コード例 #29
0
ファイル: ExampleHood.cs プロジェクト: DrakoGlyph/tModLoader
		public override void AddRecipes()
		{
			ModRecipe recipe = new ModRecipe(mod);
			recipe.AddIngredient(null, "EquipMaterial", 30);
			recipe.AddTile(null, "ExampleWorkbench");
			recipe.SetResult(this);
			recipe.AddRecipe();
		}
コード例 #30
0
 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(ItemID.PalladiumBar, 10);
     recipe.AddTile(Terraria.ID.TileID.Anvils);
     recipe.SetResult(this, 1);
     recipe.AddRecipe();
 }