Files
CalamityModPublic/Walls/NavystoneWallSafe.cs
T

22 lines
642 B
C#

using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ModLoader;
namespace CalamityMod.Walls
{
public class NavystoneWallSafe : ModWall, IVisibleThroughWater
{
public override string Texture => "CalamityMod/Walls/NavystoneWall";
int IVisibleThroughWater.WaterMapEntry { get; set; }
public override void SetStaticDefaults()
{
Main.wallHouse[Type] = true;
DustType = 96;
this.AddMapEntryWithWaterVisibility(new Color(0, 50, 50));
}
public override void NumDust(int i, int j, bool fail, ref int num) => num = fail ? 1 : 3;
}
}