Files
CalamityModPublic/Walls/AstralStoneWallSafe.cs
T
tomat 67bceff6e7 Initial dotnet format pass.
This commit formats the entire codebase according to `dotnet format` and its limited understanding of our provided `.editorconfig`.
2024-02-28 21:49:50 -08:00

24 lines
623 B
C#

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