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).
30 lines
786 B
C#
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);
|
|
}
|
|
}
|
|
}
|