Files
CalamityModPublic/Items/Placeables/FurnitureProfaned/ProfanedRock.cs
T
Ozzatron 9e9fe7e493 Renamed WallTiles back to Walls.
Moved all wall placeables into the Placeables/Walls folder.
2019-10-20 18:58:04 -04:00

48 lines
1.5 KiB
C#

using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Walls;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.FurnitureProfaned
{
public class ProfanedRock : ModItem
{
public override void SetStaticDefaults()
{
}
public override void SetDefaults()
{
item.width = 12;
item.height = 12;
item.maxStack = 999;
item.useTurn = true;
item.autoReuse = true;
item.useAnimation = 15;
item.useTime = 10;
item.useStyle = 1;
item.consumable = true;
item.createTile = ModContent.TileType<Tiles.FurnitureProfaned.ProfanedRock>();
}
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(ModContent.ItemType<ProfanedRockWall>(), 4);
recipe.SetResult(this);
recipe.AddTile(18);
recipe.AddRecipe();
recipe = new ModRecipe(mod);
recipe.AddIngredient(ModContent.ItemType<UnholyEssence>());
recipe.AddIngredient(ItemID.StoneBlock, 20);
recipe.SetResult(this, 20);
recipe.AddTile(412);
recipe.AddRecipe();
recipe = new ModRecipe(mod);
recipe.AddIngredient(ModContent.ItemType<ProfanedPlatform>(), 2);
recipe.SetResult(this);
recipe.AddTile(412);
recipe.AddRecipe();
}
}
}