Files
CalamityModPublic/Walls/ShellTrimBrickWall.cs

23 lines
601 B
C#

using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Walls
{
public class ShellTrimBrickWall : ModWall, IVisibleThroughWater
{
int IVisibleThroughWater.WaterMapEntry { get; set; }
public override void SetStaticDefaults()
{
Main.wallHouse[Type] = false;
DustType = DustID.CorruptionThorns;
this.AddMapEntryWithWaterVisibility(new Color(75, 71, 85));
}
public override void NumDust(int i, int j, bool fail, ref int num) => num = fail ? 1 : 3;
}
}