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