20 lines
524 B
C#
20 lines
524 B
C#
using Microsoft.Xna.Framework;
|
|
using Terraria;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Walls
|
|
{
|
|
public class NavystoneWallSafe : ModWall
|
|
{
|
|
public override void SetDefaults()
|
|
{
|
|
Main.wallHouse[Type] = true;
|
|
dustType = 96;
|
|
drop = ModContent.ItemType<Items.Placeables.Walls.NavystoneWallSafe>();
|
|
AddMapEntry(new Color(0, 50, 50));
|
|
}
|
|
|
|
public override void NumDust(int i, int j, bool fail, ref int num) => num = fail ? 1 : 3;
|
|
}
|
|
}
|