Files
CalamityModPublic/Walls/AstralSandstoneWall.cs
Heart-Plus-Up 674b60cffd Unsafe Walls and the retirement of "safe" walls.
Also using return false on Drop for Walls doesn't seem to stop the unsafe wall from dropping
2025-09-21 19:55:08 -07:00

25 lines
675 B
C#

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