ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
PrerequisiteBarracks: Difference between revisions
Jump to navigation
Jump to search
Rewrite |
Specified BuildingTypes, as the AI ignores Prerequisite for UnitTypes. |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
|files={{Categ|Rules(md).ini}} | |files={{Categ|Rules(md).ini}} | ||
|values=Comma-separated list of strings (names of BuildingTypes) | |values=Comma-separated list of strings (names of BuildingTypes) | ||
|default=null | |default=null | ||
|types={{Categ|General}} | |types={{Categ|General}} | ||
| | |ts=yes | ||
|fs=yes | |||
|ets=yes | |||
|ra2=yes | |||
|yr=yes | |||
|rp=yes | |||
}} | }} | ||
Lists [[BuildingTypes]] that count as BARRACKS in the prerequisite system. | Lists [[BuildingTypes]] that count as {{tt|BARRACKS}} in the [[The Prerequisite System|prerequisite system]]. | ||
{{bugs}} | |||
When determining if it can build a [[BuildingTypes|building]] that has {{tt|BARRACKS}} as its [[prerequisite]], the AI actually checks for buildings listed in {{f|BuildBarracks|link}} and not {{f|{{PAGENAME}}}}. |
Latest revision as of 06:31, 19 April 2021
Flag: | PrerequisiteBarracks |
File(s): | Rules(md).ini |
Values: | Comma-separated list of strings (names of BuildingTypes) |
Default: | null |
Applicable to: | General |
Lists BuildingTypes that count as BARRACKS in the prerequisite system.
Bugs/Side-Effects/Unexpected Limitations
When determining if it can build a building that has BARRACKS as its prerequisite, the AI actually checks for buildings listed in BuildBarracks and not PrerequisiteBarracks.