Files
CalamityModPublic/Walls/EutrophicSandWallSafe.cs
T
Ozzatron 9e9fe7e493 Renamed WallTiles back to Walls.
Moved all wall placeables into the Placeables/Walls folder.
2019-10-20 18:58:04 -04:00

25 lines
685 B
C#

using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ModLoader;
namespace CalamityMod.Walls
{
public class EutrophicSandWallSafe : ModWall
{
public override void SetDefaults()
{
Main.wallHouse[Type] = true;
dustType = 108;
drop = ModContent.ItemType<Items.Placeables.Walls.EutrophicSandWallSafe>();
ModTranslation name = CreateMapEntryName();
name.SetDefault("Eutrophic Sand Wall Safe");
AddMapEntry(new Color(100, 100, 150), name);
}
public override void NumDust(int i, int j, bool fail, ref int num)
{
num = fail ? 1 : 3;
}
}
}