Files
CalamityModPublic/Tiles/SunkenSea/ShellstoneSlab.cs
T
Ozzatron ac3c348ae3 1 - Fix memory leak in universal tile merging system.
2 - Re-enable universal tile merging system.
3 - Move all tile framing into a ModSystem for consistent unloading.
4 - Move all recipe management into a ModSystem.
5 - Moved some framing stuff from CalamityGlobalTile into the sealed GlobalTile.
6 - CalamityRecipes and TileFraming no longer exist (they are now RecipeSystem and TileFramingSystem).
2024-06-06 21:18:08 -04:00

30 lines
786 B
C#

using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ModLoader;
using Terraria.ID;
using CalamityMod.Systems;
namespace CalamityMod.Tiles.SunkenSea
{
public class ShellstoneSlab : 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 = 17;
AddMapEntry(new Color(156, 191, 199));
}
public override bool TileFrame(int i, int j, ref bool resetFrame, ref bool noBreak)
{
return TileFramingSystem.BetterGemsparkFraming(i, j, resetFrame);
}
}
}