Note: Does not include item rarities, and appears to shown nonexistant using directive movement in the commit. This does not really affect anything, however.
34 lines
827 B
C#
34 lines
827 B
C#
|
|
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<AstralBasic>();
|
|
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;
|
|
}
|
|
}
|
|
}
|