using Microsoft.Xna.Framework; using Terraria; using Terraria.ModLoader; namespace CalamityMod.Tiles { public class PerennialBar : ModTile { public override void SetStaticDefaults() { this.SetUpBar(ModContent.ItemType(), new Color(157, 255, 0)); DustType = 44; } public override bool CreateDust(int i, int j, ref int type) { type = Main.rand.NextBool() ? 44 : 157; return true; } } }