Files

23 lines
562 B
C#

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