Jump to content

Prerequisite: Difference between revisions

From ModEnc²
en>Nighthawk200
m Template Updated.
m 4 revisions imported
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Flag
{{Flag
|name={{PAGENAME}}
|files={{Categ|ini=rules}}
|files={{Categ|Rules(md).ini}}
|values={{values|stringlist|BuildingTypes or hardcoded values (see [[#special|below]])}}
|values=comma-separated list of strings
|types={{Categ|Technoes}}
|default=none
|types={{Categ|InfantryTypes}}, {{Categ|VehicleTypes}}, {{Categ|AircraftTypes}}, {{Categ|BuildingTypes}}
|ra=yes
|ra=yes
|cs=yes
|cs=yes
Line 16: Line 14:
}}
}}


Specifies a list of structures that '''must''' be owned by the house before this object can be built. Refers to valid BuildingTypes (keywords which don't match a valid BuildingType, like matching a valid InfantryType, just seem to get ignored) or one of the hardcoded "prerequisite groups" (see [[The Prerequisite System#Prerequisite_Groups|The Prerequisite System]] for more info).
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.
 
<span id="special">In addition to IDs of BuildingTypes</span>, several keywords can be used - see [[The Prerequisite System#Prerequisite_Groups|The Prerequisite System]] for more info.

Latest revision as of 22:00, 31 March 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
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.