• Civilization 7 has been announced. For more info please check the forum here .

Civ5

JA_Lamb

Warlord
Joined
Aug 19, 2009
Messages
253
Location
The changing Dark Continent
Hi, can someone please explain what this Tag from Buildings means and does? Modiki is a bit closemouthed about it.

<Column name="ReplacementBuildingClass" type="text" reference="BuildingClasses(Type)" default="NULL"/>

Thank you.
 
It looks like this is not currently being used but I did a quick check of the dll files and it looks like you can set this to a building class. Once you do that then the original building will no longer be able to be built once the player is able to build the ReplacementBuildingClass. I only know enough C++ to be dangerous but that's what it looks like it does.
 
Ah, it doesn't change the earlier one with the latter one then. Pity. Thank you. Looks like a Lua requirement for that. Come to think of it, it's still useful then and not a dead end stub. Thanks once again. ;)
 
It's quite useful if you want opportunity based buildings. Like a wonder that can only be built before you have access to harbours, for example.
 
Top Bottom