This mod changes the behavior of the <PrereqBonuses> tag and adds the
<PrereqOrBonuses> tag that retains the original behavior of the <PrereqBonuses>
tag. Any bonuses added in between the <PrereqBonuses> tag will now be required
to build the unit. One of the bonuses added in between the <PrereqOrBonuses>
tag will now be required to build the unit.
For instance the updated warrior definition using the new tag and updated tag
looks like:
[TAB][TAB][TAB]<BonusType>BONUS_STONE</BonusType>
[TAB][TAB][TAB]<PrereqBonuses>
[TAB][TAB][TAB][TAB]<BonusType>BONUS_FUR</BonusType>
[TAB][TAB][TAB][TAB]<BonusType>BONUS_INCENSE</BonusType>
[TAB][TAB][TAB]</PrereqBonuses>
[TAB][TAB][TAB]<PrereqOrBonuses>
[TAB][TAB][TAB][TAB]<BonusType>BONUS_FISH</BonusType>
[TAB][TAB][TAB][TAB]<BonusType>BONUS_PIG</BonusType>
[TAB][TAB][TAB][TAB]<BonusType>BONUS_SHEEP</BonusType>
[TAB][TAB][TAB][TAB]<BonusType>BONUS_RICE</BonusType>
[TAB][TAB][TAB]</PrereqOrBonuses>
-----Notes to Modmakers-----
If you want to use this mod component in your mod I have tried to make things
as easy as possible for you. In the XML files I have added
<!-- Multi-Bonus Unit Requirement Start --> and
<!-- Multi-Bonus Unit Requirement End --> in all of the places where changes
were made. In the SDK files I have added
// < Multi-Bonus Unit Requirement Start > and
// < Multi-Bonus Unit Requirement End > in all of the places where changes
were made.
-----Version Information-----
-----v0.2w------
- Updated to be compatible with Warlords v2.0.8.0 patch.
-----===Credits & Thanks===-----
- Exavier
[TAB]Composite Mod - readme.txt format
<PrereqOrBonuses> tag that retains the original behavior of the <PrereqBonuses>
tag. Any bonuses added in between the <PrereqBonuses> tag will now be required
to build the unit. One of the bonuses added in between the <PrereqOrBonuses>
tag will now be required to build the unit.
For instance the updated warrior definition using the new tag and updated tag
looks like:
[TAB][TAB][TAB]<BonusType>BONUS_STONE</BonusType>
[TAB][TAB][TAB]<PrereqBonuses>
[TAB][TAB][TAB][TAB]<BonusType>BONUS_FUR</BonusType>
[TAB][TAB][TAB][TAB]<BonusType>BONUS_INCENSE</BonusType>
[TAB][TAB][TAB]</PrereqBonuses>
[TAB][TAB][TAB]<PrereqOrBonuses>
[TAB][TAB][TAB][TAB]<BonusType>BONUS_FISH</BonusType>
[TAB][TAB][TAB][TAB]<BonusType>BONUS_PIG</BonusType>
[TAB][TAB][TAB][TAB]<BonusType>BONUS_SHEEP</BonusType>
[TAB][TAB][TAB][TAB]<BonusType>BONUS_RICE</BonusType>
[TAB][TAB][TAB]</PrereqOrBonuses>
-----Notes to Modmakers-----
If you want to use this mod component in your mod I have tried to make things
as easy as possible for you. In the XML files I have added
<!-- Multi-Bonus Unit Requirement Start --> and
<!-- Multi-Bonus Unit Requirement End --> in all of the places where changes
were made. In the SDK files I have added
// < Multi-Bonus Unit Requirement Start > and
// < Multi-Bonus Unit Requirement End > in all of the places where changes
were made.
-----Version Information-----
-----v0.2w------
- Updated to be compatible with Warlords v2.0.8.0 patch.
Spoiler :
-----===Credits & Thanks===-----
- Exavier
[TAB]Composite Mod - readme.txt format