21 lines
529 B
C#
21 lines
529 B
C#
using Microsoft.Xna.Framework;
|
|
using Terraria;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Walls
|
|
{
|
|
public class PyreMantleWallSafe : ModWall
|
|
{
|
|
public override string Texture => "CalamityMod/Walls/PyreMantleWall";
|
|
|
|
public override void SetStaticDefaults()
|
|
{
|
|
DustType = 33;
|
|
Main.wallHouse[Type] = true;
|
|
AddMapEntry(new Color(6, 10, 54));
|
|
}
|
|
|
|
public override void NumDust(int i, int j, bool fail, ref int num) => num = fail ? 1 : 3;
|
|
}
|
|
}
|