ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Prerequisite
Jump to navigation
Jump to search
| Flag: | Prerequisite |
| File(s): | rules(md).ini |
| Values: | Comma-separated list of strings. (Limited to: BuildingTypes or hardcoded values (see below)) |
| Applicable to: | TechnoTypes:
AircraftTypes, BuildingTypes, InfantryTypes and VehicleTypes |
Specifies a list of structures that must be owned by the house before this object can be built. Repeating the same BuildingType multiple times does not require you to own multiple instances of said building.
In addition to IDs of BuildingTypes, several keywords can be used - see The Prerequisite System for more info.
Bugs/Side-Effects/Unexpected Limitations
Upgrades did not appear to work as prerequisites – if you had the upgrade, you still didn’t satisfy the prerequisite. In fact, only the most recently constructed BuildingType would be checked to see if it had the upgrade.
- This bug has been fixed in Ares 0.1. With Ares, all upgrades on all BuildingTypes are eligible to satisfy any prerequisite logic that a normal BuildingType can.