This mod adds new tags allowing for the specification of one or more civics as
prerequisites for constructing a building. As an example all "cathedrals" now
require the "Organized Religion" and "Hereditary Rule" civics to be
constructed. To achieve this the following has been added after the
<PrereqReligion> tag:
[TAB][TAB][TAB]<PrereqCivics>
[TAB][TAB][TAB][TAB]<PrereqCivic>CIVIC_ORGANIZED_RELIGION</PrereqCivic>
[TAB][TAB][TAB][TAB]<PrereqCivic>CIVIC_HEREDITARY_RULE</PrereqCivic>
[TAB][TAB][TAB]</PrereqCivics>
[TAB][TAB][TAB]
Also, a tag has been added to indicate that a building should be automatically
obsoleted if the civics required to construct the building are no longer set.
-----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
<!-- Building Civic Prereqs Start --> and
<!-- Building Civic Prereqs End --> in all of the places where changes were
made, in the SDK files I have added // < Building Civic Prereqs Start > and
// < Building Civic Prereqs End > in all of the places where changes were
made and in the Python files I have added # < Building Civic Prereqs Start >
and # < Building Civic Prereqs End > in all of the places where changes were
made.
-----Version Information-----
-----v0.2------
- Changed the <PrereqCivic> tag to <PrereqCivics> to allow requiring more than
one civic to construct a building.
- Added the <bInactiveWithoutCivicPrereqs> tag to indicate that a building
should be automatically obsoleted if the civics required to construct the
building are no longer set.
- Updated the "cathedra" definitions so they require the "Hereditary Rule" and
"Organized Religion" civics and are obsoleted when those civics are no longer
set.
-----===Credits & Thanks===-----
- Exavier
[TAB]Composite Mod - readme.txt format
[TAB]
- Peuri
[TAB]For the idea for this mod[TAB]
prerequisites for constructing a building. As an example all "cathedrals" now
require the "Organized Religion" and "Hereditary Rule" civics to be
constructed. To achieve this the following has been added after the
<PrereqReligion> tag:
[TAB][TAB][TAB]<PrereqCivics>
[TAB][TAB][TAB][TAB]<PrereqCivic>CIVIC_ORGANIZED_RELIGION</PrereqCivic>
[TAB][TAB][TAB][TAB]<PrereqCivic>CIVIC_HEREDITARY_RULE</PrereqCivic>
[TAB][TAB][TAB]</PrereqCivics>
[TAB][TAB][TAB]
Also, a tag has been added to indicate that a building should be automatically
obsoleted if the civics required to construct the building are no longer set.
-----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
<!-- Building Civic Prereqs Start --> and
<!-- Building Civic Prereqs End --> in all of the places where changes were
made, in the SDK files I have added // < Building Civic Prereqs Start > and
// < Building Civic Prereqs End > in all of the places where changes were
made and in the Python files I have added # < Building Civic Prereqs Start >
and # < Building Civic Prereqs End > in all of the places where changes were
made.
-----Version Information-----
-----v0.2------
- Changed the <PrereqCivic> tag to <PrereqCivics> to allow requiring more than
one civic to construct a building.
- Added the <bInactiveWithoutCivicPrereqs> tag to indicate that a building
should be automatically obsoleted if the civics required to construct the
building are no longer set.
- Updated the "cathedra" definitions so they require the "Hereditary Rule" and
"Organized Religion" civics and are obsoleted when those civics are no longer
set.
Spoiler :
-----===Credits & Thanks===-----
- Exavier
[TAB]Composite Mod - readme.txt format
[TAB]
- Peuri
[TAB]For the idea for this mod[TAB]