Hi all,
I am trying to create a new unit type that has an improvement type as a prereq. I can use a faction trait or a tech as a prereq easy enough, but i'm having trouble setting an improvement type as as prereq.
Essentially what i'm after is.... Unit X can only be trained in a city if the city contains improvement X. I have tried this:
<Prereq>
<Type>BuildingRequirement</Type>
<Attribute>My_Improvement</Attribute>
</Prereq>
But it doesn't seem to work 
Any ideas?
Thanks.
EDIT -> Doh, meant to post this in the Mod section.