diff --git a/Tiles/Furniture/CraftingStations/MonolithCrafting.cs b/Tiles/Furniture/CraftingStations/MonolithCrafting.cs index 681bbc9ac1..9b32885d81 100644 --- a/Tiles/Furniture/CraftingStations/MonolithCrafting.cs +++ b/Tiles/Furniture/CraftingStations/MonolithCrafting.cs @@ -11,7 +11,7 @@ namespace CalamityMod.Tiles.Furniture.CraftingStations { public override void SetDefaults() { - this.SetUpBookcase(true, false); + this.SetUpBookcase(true, false, false); ModTranslation name = CreateMapEntryName(); name.SetDefault("Monolith Amalgam"); AddMapEntry(new Color(191, 142, 111), name); diff --git a/Utilities/FurnitureSetupUtils.cs b/Utilities/FurnitureSetupUtils.cs index c6b5de2ffd..6180a44049 100644 --- a/Utilities/FurnitureSetupUtils.cs +++ b/Utilities/FurnitureSetupUtils.cs @@ -604,7 +604,8 @@ namespace CalamityMod /// The ModTile which is being initialized. /// Whether this tile is supposed to be immune to lava. Defaults to false. /// Whether this tile is supposed to have a solid top. Defaults to true. - internal static void SetUpBookcase(this ModTile mt, bool lavaImmune = false, bool solidTop = true) + /// Whether this tile counts as a table for housing. Defaults to true. + internal static void SetUpBookcase(this ModTile mt, bool lavaImmune = false, bool solidTop = true, bool table = true) { Main.tileSolidTop[mt.Type] = solidTop; Main.tileLighted[mt.Type] = true; @@ -616,8 +617,9 @@ namespace CalamityMod TileObjectData.newTile.LavaDeath = !lavaImmune; TileObjectData.addTile(mt.Type); - // All bookcases count as tables. - mt.AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTable); + // All bookcases count as tables. Monolith Amalgam does not count as a table. + if (table) + mt.AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTable); } ///