Hi
I've been trying to make a small mod that changes the prereq of the national wonders from having eg. libraries in all cities to having only 5 spread throughout your cities.
Made a small mod (see below) but it doesn't seem to do anything. Oh, and I did remember the onactivate action.
Can anyone please give advice??
\Skodkim
I've been trying to make a small mod that changes the prereq of the national wonders from having eg. libraries in all cities to having only 5 spread throughout your cities.
Made a small mod (see below) but it doesn't seem to do anything. Oh, and I did remember the onactivate action.
Spoiler :
<GameData>
<Building_PrereqBuildingClasses>
<Update>
<Where BuildingType="BUILDING_HEROIC_EPIC" BuildingClassType="BUILDINGCLASS_BARRACKS" />
<Set NumBuildingNeeded="5"/>
</Update>
<Update>
<Where BuildingType="BUILDING_NATIONAL_EPIC" BuildingClassType="BUILDINGCLASS_MONUMENT" />
<Set NumBuildingNeeded="5"/>
</Update>
<Update>
<Where BuildingType="BUILDING_CIRCUS_MAXIMUS" BuildingClassType="BUILDINGCLASS_COLOSSEUM" />
<Set NumBuildingNeeded="5"/>
</Update>
<Update>
<Where BuildingType="BUILDING_NATIONAL_TREASURY" BuildingClassType="BUILDINGCLASS_MARKET" />
<Set NumBuildingNeeded="5"/>
</Update>
<Update>
<Where BuildingType="BUILDING_NATIONAL_COLLEGE" BuildingClassType="BUILDINGCLASS_LIBRARY" />
<Set NumBuildingNeeded="5"/>
</Update>
<Update>
<Where BuildingType="BUILDING_IRONWORKS" BuildingClassType="BUILDINGCLASS_WORKSHOP" />
<Set NumBuildingNeeded="5"/>
</Update>
<Update>
<Where BuildingType="BUILDING_OXFORD_UNIVERSITY" BuildingClassType="BUILDINGCLASS_UNIVERSITY" />
<Set NumBuildingNeeded="5"/>
</Update>
<Update>
<Where BuildingType="BUILDING_HERMITAGE" BuildingClassType="BUILDINGCLASS_MUSEUM" />
<Set NumBuildingNeeded="5"/>
</Update>
</Building_PrereqBuildingClasses>
</GameData>
<Building_PrereqBuildingClasses>
<Update>
<Where BuildingType="BUILDING_HEROIC_EPIC" BuildingClassType="BUILDINGCLASS_BARRACKS" />
<Set NumBuildingNeeded="5"/>
</Update>
<Update>
<Where BuildingType="BUILDING_NATIONAL_EPIC" BuildingClassType="BUILDINGCLASS_MONUMENT" />
<Set NumBuildingNeeded="5"/>
</Update>
<Update>
<Where BuildingType="BUILDING_CIRCUS_MAXIMUS" BuildingClassType="BUILDINGCLASS_COLOSSEUM" />
<Set NumBuildingNeeded="5"/>
</Update>
<Update>
<Where BuildingType="BUILDING_NATIONAL_TREASURY" BuildingClassType="BUILDINGCLASS_MARKET" />
<Set NumBuildingNeeded="5"/>
</Update>
<Update>
<Where BuildingType="BUILDING_NATIONAL_COLLEGE" BuildingClassType="BUILDINGCLASS_LIBRARY" />
<Set NumBuildingNeeded="5"/>
</Update>
<Update>
<Where BuildingType="BUILDING_IRONWORKS" BuildingClassType="BUILDINGCLASS_WORKSHOP" />
<Set NumBuildingNeeded="5"/>
</Update>
<Update>
<Where BuildingType="BUILDING_OXFORD_UNIVERSITY" BuildingClassType="BUILDINGCLASS_UNIVERSITY" />
<Set NumBuildingNeeded="5"/>
</Update>
<Update>
<Where BuildingType="BUILDING_HERMITAGE" BuildingClassType="BUILDINGCLASS_MUSEUM" />
<Set NumBuildingNeeded="5"/>
</Update>
</Building_PrereqBuildingClasses>
</GameData>
Can anyone please give advice??
\Skodkim
