Files
CalamityModPublic/Systems/Collections/CalamityTileSets.cs
T
Altixal d8f8a49bec Removed Living Fire set
Archaic list originally used to circumvent placement jank; we have no plans to use it
2025-05-04 01:53:57 +07:00

23 lines
936 B
C#

using CalamityMod.Tiles.LivingFire;
using ReLogic.Reflection;
using Terraria.ID;
using Terraria.ModLoader;
using static Terraria.ModLoader.ModContent;
namespace CalamityMod.Systems.Collections
{
[ReinitializeDuringResizeArrays]
public static class CalamityTileSets
{
public static SetFactory Factory = new SetFactory(TileLoader.TileCount, "CalamityMod/TileID", Search);
public static IdDictionary Search = IdDictionary.Create<TileID, int>();
/// <summary>
/// Should only contain modded tiles. If <see langword="true"/> for a tile type, then that tile can be replaced by the Abyss during world generation.<br/>
/// Unused by Calamity itself, and is only used for external mods to add to through reflection.<br/>
/// Defaults to <see langword="false"/>.
/// </summary>
public static bool[] CanBeReplacedByAbyssGeneration = Factory.CreateBoolSet();
}
}