using CalamityMod.Tiles.SunkenSea; using CalamityMod.Walls; using CalamityMod.Walls.UnsafeWalls; 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(); /// /// Should only contain modded tiles. If for a tile type, then that tile can be replaced by the Abyss during world generation.
/// Unused by Calamity itself, and is only used for external mods to add to through reflection.
/// Defaults to . ///
public static bool[] CanBeReplacedByAbyssGeneration = Factory.CreateBoolSet(); /// /// If for a tile type, it will not perform its BlendMerge in the PostDraw hook, and instead will be drawn after every solid tile has been drawn to the screen.
/// Defaults to . ///
public static bool[] DrawBlendMergeAfterSolidTile = Factory.CreateBoolSet(TileType()); /// /// If for a tile type, it will be considered an Abyss background wall for various effects. /// Defaults to /// public static bool[] IsAbyssWall = Factory.CreateBoolSet(WallType(), WallType(), WallType(), WallType(), WallType(), WallType()); } }