- 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
30 lines
895 B
C#
30 lines
895 B
C#
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Items.Placeables
|
|
{
|
|
public class Shellstone : ModItem, ILocalizedModType
|
|
{
|
|
public new string LocalizationCategory => "Items.Placeables";
|
|
public override void SetStaticDefaults()
|
|
{
|
|
Item.ResearchUnlockCount = 100;
|
|
ItemID.Sets.ShimmerTransformToItem[Type] = ModContent.ItemType<TimelessSand>();
|
|
}
|
|
|
|
public override void SetDefaults()
|
|
{
|
|
Item.width = 12;
|
|
Item.height = 12;
|
|
Item.maxStack = 9999;
|
|
Item.useTurn = true;
|
|
Item.autoReuse = true;
|
|
Item.useAnimation = 15;
|
|
Item.useTime = 10;
|
|
Item.useStyle = ItemUseStyleID.Swing;
|
|
Item.consumable = true;
|
|
Item.createTile = ModContent.TileType<Tiles.SunkenSea.Shellstone>();
|
|
}
|
|
}
|
|
}
|