platyping
Sleeping Dragon
Upgradeable Buildings
A pure python version of Upgradeable Buildings by TheLopez.
For Mac Lovers
Features
Allows Buildings to "Upgrade" to higher order of same type of buildings.
Barracks for instance can upgrade to Advanced Barracks and then to Modern Barracks.
When Advanced Barracks is built, Barracks is removed from city, and when Modern Barracks is built, Advanced Barracks is removed.
This is pretty much a modification from "Hidden Promotions" codes.
All you need to do is ensure that <Type> goes in logical numeric order.
The first building however does not need a number, so you do not have to change all other XML files like CivilizationInfos.xml
In other words, examples would be:
<Type>BUILDING_BARRACKS</Type>
<Type>BUILDING_BARRACKS2</Type>
<Type>BUILDING_BARRACKS3</Type>
or
<Type>BUILDING_GRANARY</Type>
<Type>BUILDING_GRANARY2</Type>
<Type>BUILDING_GRANARY3</Type>
So long as it follows this order, you do not have to touch the python files.
They have been coded for all cases.
P.S.
Can handle up to 9 upgrades for each Building. (Up to BUILDING_XXX9)
Note that only the <Type> has to be in order, you can name the buildings whatever you want, like what I did, or simply Barracks I, II and III
Edit:
The moment I post, I noticed the Heroic Epic...
Will not be able to build that after you upgrade... Hmm, look into it later.
A pure python version of Upgradeable Buildings by TheLopez.
For Mac Lovers
Features
Allows Buildings to "Upgrade" to higher order of same type of buildings.
Spoiler :
Barracks for instance can upgrade to Advanced Barracks and then to Modern Barracks.
When Advanced Barracks is built, Barracks is removed from city, and when Modern Barracks is built, Advanced Barracks is removed.
Spoiler :
This is pretty much a modification from "Hidden Promotions" codes.
All you need to do is ensure that <Type> goes in logical numeric order.
The first building however does not need a number, so you do not have to change all other XML files like CivilizationInfos.xml
In other words, examples would be:
<Type>BUILDING_BARRACKS</Type>
<Type>BUILDING_BARRACKS2</Type>
<Type>BUILDING_BARRACKS3</Type>
or
<Type>BUILDING_GRANARY</Type>
<Type>BUILDING_GRANARY2</Type>
<Type>BUILDING_GRANARY3</Type>
So long as it follows this order, you do not have to touch the python files.
They have been coded for all cases.
P.S.
Can handle up to 9 upgrades for each Building. (Up to BUILDING_XXX9)
Note that only the <Type> has to be in order, you can name the buildings whatever you want, like what I did, or simply Barracks I, II and III
Edit:
The moment I post, I noticed the Heroic Epic...
Will not be able to build that after you upgrade... Hmm, look into it later.