National wonders as UBs

Craig_Sutter

Deity
Joined
Aug 13, 2002
Messages
2,773
Location
Calgary, Canada
Has anyone tried this? Does it work? I'd like to know before I put in too much effort.

I'm thinking of making a Parliament National Wonder, but would like UBs for it such as Diet/Althing/etc. and others. Can I do this?

That being said, any ideas about said national wonder...

I'm thinking I'll require courthouses as the prior building class.... but beyond that, I'm open to suggestions.

Thanks.
 
Of course you could do this. The only thing that determines if a building is a National Wonder is whether or not you set the <MaxPlayerInstances> to 1 in the BuildingClasses table.

Then, the building requirement is set through Building_ClassesNeededInCity, the cost is set through <Cost>125</Cost> and <NumCityCostMod>30</NumCityCostMod>, and the most important thing is:

Code:
<Building_PrereqBuildingClasses>
		<Row>
			<BuildingType>BUILDING_HEROIC_EPIC</BuildingType>
			<BuildingClassType>BUILDINGCLASS_BARRACKS</BuildingClassType>
			[B]<NumBuildingNeeded>-1</NumBuildingNeeded>[/B]
		</Row>
</Building_PrereqBuildingClasses>

-1 means that it's required in every city.

Then just set that building as the unique building, replacing nothing....?
 
Back
Top Bottom