Files
CalamityModPublic/Items/Placeables/Walls/ShellstoneSlabWall.cs
T
apotofkoolaid b0a19862f9 New Sunken Sea tiles
- Added Basalt
- Added Black, Pink, and White Pearl Piles
- Added Driftwood
- Added Polished Navystone Brick
- Added Shellstone
- Added Shellstone Slab and its wall
- Added Timeless Sand
2023-10-27 14:07:10 -05:00

38 lines
1.0 KiB
C#

using Terraria.ModLoader;
using WallTiles = CalamityMod.Walls;
using Terraria.ID;
namespace CalamityMod.Items.Placeables.Walls
{
public class ShellstoneSlabWall : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetStaticDefaults()
{
Item.ResearchUnlockCount = 400;
}
public override void SetDefaults()
{
Item.width = 12;
Item.height = 12;
Item.maxStack = 9999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 7;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.createWall = ModContent.WallType<WallTiles.ShellstoneSlabWall>();
}
public override void AddRecipes()
{
CreateRecipe(4).
AddIngredient<ShellstoneSlab>().
AddTile(TileID.WorkBenches).
Register();
}
}
}