Files
CalamityModPublic/Items/Placeables/Walls/ProfanedCrystalWall.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

36 lines
1.0 KiB
C#

using CalamityMod.Items.Placeables.FurnitureProfaned;
using Terraria.ModLoader;
using WallTiles = CalamityMod.Walls;
namespace CalamityMod.Items.Placeables.Walls
{
public class ProfanedCrystalWall : 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 = 7;
item.useStyle = 1;
item.consumable = true;
item.createWall = ModContent.WallType<WallTiles.ProfanedCrystalWall>();
}
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(ModContent.ItemType<ProfanedCrystal>());
recipe.SetResult(this, 4);
recipe.AddTile(18);
recipe.AddRecipe();
}
}
}