Files
CalamityModPublic/Walls/SulphurousShaleWall.cs

22 lines
607 B
C#

using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Walls
{
[LegacyName("SulphurousShaleWallSafe")]
public class SulphurousShaleWall : ModWall
{
public override string Texture => "CalamityMod/Walls/SulphurousShaleWall";
public override void SetStaticDefaults()
{
Main.wallHouse[Type] = true;
DustType = DustID.Sand;
AddMapEntry(new Color(59, 40, 63));
}
public override void NumDust(int i, int j, bool fail, ref int num) => num = fail ? 1 : 3;
}
}