35 lines
1.1 KiB
C#
35 lines
1.1 KiB
C#
using CalamityMod.Systems;
|
|
using CalamityMod.Tiles.SunkenSea;
|
|
using Microsoft.Xna.Framework;
|
|
using Terraria;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Tiles.FurnitureShellstone
|
|
{
|
|
public class ShellTrimBrick : ModTile
|
|
{
|
|
public override void SetStaticDefaults()
|
|
{
|
|
Main.tileSolid[Type] = true;
|
|
Main.tileBlockLight[Type] = true;
|
|
|
|
CalamityUtils.MergeWithGeneral(Type);
|
|
TileID.Sets.HasSlopeFrames[Type] = true;
|
|
|
|
HitSound = SoundID.Tink;
|
|
DustType = DustID.CorruptPlants;
|
|
AddMapEntry(new Color(156, 191, 199));
|
|
|
|
this.RegisterBlendMergeWith(ModContent.TileType<Navystone>());
|
|
this.RegisterBlendMergeWith(ModContent.TileType<EutrophicSand>());
|
|
this.RegisterBlendMergeWith(ModContent.TileType<Runestone>());
|
|
}
|
|
|
|
public override bool TileFrame(int i, int j, ref bool resetFrame, ref bool noBreak)
|
|
{
|
|
return TileFramingSystem.BetterGemsparkFraming(i, j, resetFrame);
|
|
}
|
|
}
|
|
}
|