Can I remove promotions with traits.

Evalis

Prince
Joined
Mar 2, 2009
Messages
505
So this is probably going to get an answer that I don't want to hear but.. is it possible to remove penalty type promotions with a trait in xml? Is it possible to require a promotion to require two promotions. Looking through the xml I found neither a 'remove promotion' trait nor a promotionprereqand, but I might just be blind or stupid, or perhaps both. Specifically I am looking to remove the defensive penalty from mounted units among other things.

The second issue is in relation to the forest spreading mod. I was interested in causing resources to spread, but is there information available to determine if a plot already has a resource?

Assistance in getting started with this would be greatly appreciated. I'll buy you a cookie.. an.. imaginary, digital cookie.
 
The second issue is in relation to the forest spreading mod. I was interested in causing resources to spread, but is there information available to determine if a plot already has a resource?

Probably best to ask two disparate questions in two posts ... but yes you can tell if a plot has a resource by using pPlot:GetResourceType(iTeam) (see http://wiki.2kgames.com/civ5/index.php/Lua_Game_Objects/Plot#GetResourceType) use iTeam=-1 if you want to check the plot regardless of "is this revelaed by tech"
 
Back
Top Bottom