23 lines
553 B
C#
23 lines
553 B
C#
using CalamityMod.Items.Materials;
|
|
using Microsoft.Xna.Framework;
|
|
using Terraria;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Tiles
|
|
{
|
|
public class AerialiteBarTile : ModTile
|
|
{
|
|
public override void SetStaticDefaults()
|
|
{
|
|
this.SetUpBar(ModContent.ItemType<AerialiteBar>(), new Color(141, 232, 246));
|
|
DustType = 187;
|
|
}
|
|
|
|
public override bool CreateDust(int i, int j, ref int type)
|
|
{
|
|
type = Main.rand.NextBool() ? 187 : 16;
|
|
return true;
|
|
}
|
|
}
|
|
}
|