- Added support for animated projectiles - Refactoring - Removed useless fields - Fixed swords not dealing damages - Added Hour Hand (from Evie's PR)
33 lines
893 B
C#
33 lines
893 B
C#
using Microsoft.Xna.Framework;
|
|
using Terraria;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace Decimation.Content.Tiles.ShrineoftheMoltenOne
|
|
{
|
|
class DeadEarth : ModTile
|
|
{
|
|
|
|
public override void SetDefaults()
|
|
{
|
|
Main.tileSolid[Type] = true;
|
|
Main.tileMergeDirt[Type] = true;
|
|
Main.tileBlockLight[Type] = true;
|
|
Main.tileLighted[Type] = true;
|
|
dustType = DustID.Sandnado;
|
|
drop = ModContent.ItemType<Items.Placeable.ShrineoftheMoltenOne.DeadEarth>();
|
|
AddMapEntry(new Color(33, 28, 25));
|
|
}
|
|
|
|
public override void NumDust(int i, int j, bool fail, ref int num)
|
|
{
|
|
num = fail ? 1 : 3;
|
|
}
|
|
|
|
public override bool CanKillTile(int i, int j, ref bool blockDamaged)
|
|
{
|
|
return DecimationWorld.downedArachnus;
|
|
}
|
|
}
|
|
}
|