ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
PrerequisiteOverride: Difference between revisions
Jump to navigation
Jump to search
the main reason for creating this entry was for a special note (PrerequisiteGroups are not allowed) |
sorry |
||
Line 1: | Line 1: | ||
{{flag|name=PrerequisiteOverride|files=rules.ini/rulesmd.ini|values=list of Strings (BuildingTypes)|special=none|default=empty string (no BuildingType)|types=All unit types (Infantry/Vehicle/Building/Aircraft)|games=RA2,YR}} | {{flag|name=PrerequisiteOverride|files=rules.ini/rulesmd.ini|values=list of Strings (BuildingTypes)|special=none|default=empty string (no BuildingType)|types=All unit types (Infantry/Vehicle/Building/Aircraft)|games=RA2,YR}} | ||
PrerequisiteOverride stores a list of BuildingType prerequisites | PrerequisiteOverride stores a list of BuildingType prerequisites. | ||
If any one of the entries in the list is owned by a player then the player is allowed to begin building the unit that has the PrerequisiteOverride flag. | If any one of the entries in the list is owned by a player then the player is allowed to begin building the unit that has the PrerequisiteOverride flag. | ||
Line 10: | Line 10: | ||
*PrerequisiteOverride=GATECH | *PrerequisiteOverride=GATECH | ||
A player can build the "THEMPARK" if they have | A player can build the "THEMPARK" if they have satisfied one of the following conditions: | ||
#They own at least one Allied Ore Refinery and at least one building from the PrerequisitePower= group. | #They own at least one Allied Ore Refinery and at least one building from the PrerequisitePower= group. | ||
#They own at least one Allied Battle Lab. | #They own at least one Allied Battle Lab. |
Revision as of 15:22, 6 July 2005
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Flag: | PrerequisiteOverride |
File(s): | rules.ini/rulesmd.ini |
Values: | list of Strings (BuildingTypes) |
Special Values: | none |
Default: | empty string (no BuildingType) |
Applicable to: | All unit types (Infantry/Vehicle/Building/Aircraft) |
Warning: | There are 1 numbered subpages of this page. These pages should all be merged into this page. |
PrerequisiteOverride stores a list of BuildingType prerequisites. If any one of the entries in the list is owned by a player then the player is allowed to begin building the unit that has the PrerequisiteOverride flag.
For example:
- [THEMPARK]
- Prerequisite=GAREFN,POWER
- PrerequisiteOverride=GATECH
A player can build the "THEMPARK" if they have satisfied one of the following conditions:
- They own at least one Allied Ore Refinery and at least one building from the PrerequisitePower= group.
- They own at least one Allied Battle Lab.
The PrerequisiteOverride allows the player to build the "THEMPARK" without having to own an Ore Refinery or Power Plant, as long as they own a Battle Lab.
Important note: unlike Prerequisite, PrerequisiteOverride CANNOT have a Prerequisite Group value.
PrerequisiteOverride only accepts a list of actual BuildingTypes.
See also: Prerequisite, PrerequisiteGroups