isnorden
Amnesiac Modder
I'm currently working on a mod for a building that any Scandinavian civ can have. Although XML can't directly define which civilizations are Scandinavian or not, I decided to list the ones that qualify (even with modcivs, there are only a few). Will the code I wrote here work as I planned? If not, please tell me what needs editing.
Code:
<!-- Any early Scandinavian civilization may build Runestones in place of the Amphitheater; -->
<!-- I'm including the official Denmark and Sweden on that list, as well as JFD's versions -->
<!-- of Iceland and Norway. If you've coded a Norse civilization and want me to include it -->
<!-- in a future release of this mod, please let me know! -->
<Civilization_BuildingClassOverrides>
<Row>
<CivilizationType>CIVILIZATION_DENMARK</CivilizationType>
<BuildingClassType>BUILDINGCLASS_AMPHITHEATER</BuildingClassType>
<BuildingType>BUILDING_RUNESTONE_ISN</BuildingType>
</Row>
<Row>
<CivilizationType>CIVILIZATION_SWEDEN</CivilizationType>
<BuildingClassType>BUILDINGCLASS_AMPHITHEATER</BuildingClassType>
<BuildingType>BUILDING_RUNESTONE_ISN</BuildingType>
</Row>
<Row>
<CivilizationType>CIVILIZATION_JFD_NORWAY</CivilizationType>
<BuildingClassType>BUILDINGCLASS_AMPHITHEATER</BuildingClassType>
<BuildingType>BUILDING_RUNESTONE_ISN</BuildingType>
</Row>
<Row>
<CivilizationType>CIVILIZATION_JFD_ICELAND</CivilizationType>
<BuildingClassType>BUILDINGCLASS_AMPHITHEATER</BuildingClassType>
<BuildingType>BUILDING_RUNESTONE_ISN</BuildingType>
</Row>
</Civilization_BuildingClassOverrides>