For a mod that I am currently working on, on acquisition of a social policy I want to add a hidden building to cities that already have a museum-class building at that time. Importantly, I also want to add this hidden building to cities that belong to civs that potentially replaced BUILDING_MUSEUM with a unique building of BUILDINGCLASS_MUSEUM. Accordingly, I have been wondering whether there is a simple way to extract the ID of the building from BUILDINGCLASS_MUSEUM that a player uses. Does anyone know of an according function that achieves this? Alternatively, if no such function exists, can anyone think of an approach that is at least more convenient than crawling all the Civilization_BuildingClassOverrides entries and checking whether any entry is of BUILDINGCLASS_MUSEUM and, if there is one, if the according CivilizationType matches the current player's? Granted, the aforementioned crawling could probably be reduced to one iteration in the beginning that stores all pairs of CivilizationTypes and BuildingTypes matching the BUILDINGCLASS_MUSEUM in a static or global table, but if there was a way to go without, I'd sure like to know.