32 lines
891 B
C#
32 lines
891 B
C#
using Microsoft.Xna.Framework;
|
|
using Terraria;
|
|
using Terraria.ModLoader;
|
|
using Terraria.ID;
|
|
|
|
namespace CalamityMod.Tiles.DraedonStructures
|
|
{
|
|
public class LaboratoryPlating : ModTile
|
|
{
|
|
public override void SetDefaults()
|
|
{
|
|
Main.tileSolid[Type] = true;
|
|
Main.tileBlockLight[Type] = true;
|
|
|
|
CalamityUtils.MergeWithGeneral(Type);
|
|
|
|
soundType = SoundID.Tink;
|
|
dustType = 30;
|
|
minPick = 30;
|
|
drop = ModContent.ItemType<Items.Placeables.DraedonStructures.LaboratoryPlating> ();
|
|
AddMapEntry(new Color(162, 157, 150));
|
|
}
|
|
|
|
public override bool CanExplode(int i, int j) => false;
|
|
|
|
public override bool TileFrame(int i, int j, ref bool resetFrame, ref bool noBreak)
|
|
{
|
|
return TileFraming.BetterGemsparkFraming(i, j, resetFrame);
|
|
}
|
|
}
|
|
}
|