isenchine
Empress
The difference is that the BuildingClassInfo has two buildings types: the 'normal' one and the 'specific' one.
There are different xml solutions to this:
Create a generic Pyramid Building not buildable at all (cost = -1) and make a Pyramid_Egypt building only buildable by Egypt in the CivilizationInfos file
OR
Make the Building_Pyramid with a Prereq Tech Nation_Egypt, disabled, only available to Egypt (eventually, this Tech could be conquered (as in certain mods) or acquired by any other xml means).
Tricks, tricks, tricks...
There are different xml solutions to this:
Create a generic Pyramid Building not buildable at all (cost = -1) and make a Pyramid_Egypt building only buildable by Egypt in the CivilizationInfos file
OR
Make the Building_Pyramid with a Prereq Tech Nation_Egypt, disabled, only available to Egypt (eventually, this Tech could be conquered (as in certain mods) or acquired by any other xml means).
Tricks, tricks, tricks...