20 lines
535 B
C#
20 lines
535 B
C#
using Microsoft.Xna.Framework;
|
|
using Terraria;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Walls
|
|
{
|
|
public class EutrophicSandWallSafe : ModWall
|
|
{
|
|
public override void SetDefaults()
|
|
{
|
|
Main.wallHouse[Type] = true;
|
|
dustType = 108;
|
|
drop = ModContent.ItemType<Items.Placeables.Walls.EutrophicSandWallSafe>();
|
|
AddMapEntry(new Color(80, 80, 120));
|
|
}
|
|
|
|
public override void NumDust(int i, int j, bool fail, ref int num) => num = fail ? 1 : 3;
|
|
}
|
|
}
|