Files
CalamityModPublic/Walls/SulphurousSandstoneWall.cs
doze-zoze 837b3691df abyss fixes
fixed broken old abysses due to renames of tiles.
abyss tiles refill water when broken if in the abyss. this prevents a bunch of water updates from water falling, and also prevents sulphur sea from sinking slowly
2026-02-02 17:43:38 -05:00

22 lines
623 B
C#

using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Walls
{
[LegacyName("SulphurousSandstoneWallSafe")]
public class SafeSulphurousSandstoneWall : ModWall
{
public override string Texture => "CalamityMod/Walls/SulphurousSandstoneWall";
public override void SetStaticDefaults()
{
Main.wallHouse[Type] = true;
DustType = DustID.Sand;
AddMapEntry(new Color(57, 45, 38));
}
public override void NumDust(int i, int j, bool fail, ref int num) => num = fail ? 1 : 3;
}
}