using CalamityMod.Dusts; using Microsoft.Xna.Framework; using Terraria; using Terraria.ModLoader; namespace CalamityMod.Tiles.Astral { public class AstralNormalSmallPiles : ModTile { public override void SetDefaults() { Main.tileFrameImportant[Type] = true; Main.tileNoFail[Type] = true; Main.tileObsidianKill[Type] = true; dustType = ModContent.DustType(); AddMapEntry(new Color(79, 61, 97)); base.SetDefaults(); } public override void SetDrawPositions(int i, int j, ref int width, ref int offsetY, ref int height) { offsetY = 2; } public override void NumDust(int i, int j, bool fail, ref int num) { num = fail ? 1 : 4; } } }