Files
CalamityModPublic/Walls/HardenedAstralSandWallSafe.cs
T
Altixal 4c24f6ddbf Tile map localization complete
- Consistent cage map colors to vanilla
- Consistent map entry with Thank You painting
- Removed map entry names from vines
- Removed map entry names from some common decorative blocks
- Cleaned up the other furnitures and item drops
2023-04-23 04:47:05 +07:00

24 lines
644 B
C#

using Terraria;
using Microsoft.Xna.Framework;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Walls
{
public class HardenedAstralSandWallSafe : ModWall
{
public override void SetStaticDefaults()
{
// TODO -- Change this dust to be one more befitting Hardened Astral Sand.
DustType = DustID.Shadowflame;
Main.wallHouse[Type] = true;
WallID.Sets.Conversion.HardenedSand[Type] = true;
AddMapEntry(new Color(10, 9, 21));
}
public override void NumDust(int i, int j, bool fail, ref int num) => num = fail ? 1 : 3;
}
}