Files
CalamityModPublic/Walls/NavystoneWall.cs
T

18 lines
496 B
C#

using Microsoft.Xna.Framework;
using Terraria.ModLoader;
namespace CalamityMod.Walls
{
public class NavystoneWall : ModWall, IVisibleThroughWater
{
int IVisibleThroughWater.WaterMapEntry { get; set; }
public override void SetStaticDefaults()
{
DustType = 96;
this.AddMapEntryWithWaterVisibility(new Color(16, 45, 48));
}
public override void NumDust(int i, int j, bool fail, ref int num) => num = fail ? 1 : 3;
}
}