Files
CalamityModPublic/Walls/SulphurousSandWallSafe.cs
T

20 lines
531 B
C#

using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ModLoader;
namespace CalamityMod.Walls
{
public class SulphurousSandWallSafe : ModWall
{
public override void SetDefaults()
{
Main.wallHouse[Type] = true;
dustType = 32;
drop = ModContent.ItemType<Items.Placeables.Walls.SulphurousSandWall>();
AddMapEntry(new Color(84, 71, 46));
}
public override void NumDust(int i, int j, bool fail, ref int num) => num = fail ? 1 : 3;
}
}