Building Capital Only

Riker13

King
Joined
Nov 9, 2001
Messages
859
Location
UK
Hi Guys and Happy New Year,
I have made a Unique Building for my Civ but I only want it to be built in the Capital, I asumed that adding Capital="true" would do the trick but no, any ideas?

<Row BuildingType="BUILDING_ATLANTIAN_MONOLITH" Name="LOC_BUILDING_ATLANTIAN_MONOLITH_NAME" Description="LOC_BUILDING_ATLANTIAN_MONOLITH_DESCRIPTION" PrereqDistrict="DISTRICT_CITY_CENTER" Cost="100" PurchaseYield="YIELD_GOLD" AdvisorType="ADVISOR_GENERIC" Maintenance="1" CitizenSlots="1" Capital="true" TraitType="TRAIT_BUILDING_ATLANTIAN_MONOLITH"/>

Regards
Riker13 :crazyeye:
 
Make the Palace the building's Prereq in table <BuildingPrereqs>:
Code:
<BuildingPrereqs>
	<Row Building="BUILDING_X" PrereqBuilding="BUILDING_PALACE"/>
</BuildingPrereqs>
Like in Civ5, Capital="true" makes the game assign the "seat of governement" attribute to the building, rather than limiting the building to the player's capital city.
 
Ahhhh nice one LeeS, thanks very much.
Hope you had a good Christmas.
 
Back
Top Bottom