Files
CalamityModPublic/Walls/ShellstoneWall.cs
T

22 lines
556 B
C#

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