Description:
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 before the
<PrereqReligion> tag:
-----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.4BtS------
- Rewrote the mod to be compatible with Beyond the Sword v3.19
- Changed the tag structure so it is easier to maintain the SDK code.
- Removed the <bInactiveWithoutCivicPrereqs> tag since it doesn't make sense.
It can be added back in if someone wants it
-----===Credits & Thanks===-----
- Exavier - Composite Mod - readme.txt format
- Peuri - For the idea for this mod
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 before the
<PrereqReligion> tag:
Code:
<PrereqCivics>
<PrereqCivic>
<CivicType>CIVIC_ORGANIZED_RELIGION</CivicType>
<bEnabled>1</bEnabled>
</PrereqCivic>
<PrereqCivic>
<CivicType>CIVIC_HEREDITARY_RULE</CivicType>
<bEnabled>1</bEnabled>
</PrereqCivic>
</PrereqCivics>
-----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.4BtS------
- Rewrote the mod to be compatible with Beyond the Sword v3.19
- Changed the tag structure so it is easier to maintain the SDK code.
- Removed the <bInactiveWithoutCivicPrereqs> tag since it doesn't make sense.
It can be added back in if someone wants it
Spoiler :
-----===Credits & Thanks===-----
- Exavier - Composite Mod - readme.txt format
- Peuri - For the idea for this mod