Jump to content

Prerequisite: Difference between revisions

From ModEnc²
en>DCoder
No edit summary
 
m 4 revisions imported
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{Flag
Lists the building types required before this object can be built/trained. The player must have at least one of each of these structures present on the map before this object can be built or trained. TIP: generic statements can be used here to indicate that any structure of a specific type can be used, which is useful if for example you want a player to be able to build a VehicleType when he has any weapons factory rather than a specific one. These types are;-<br />
|files={{Categ|ini=rules}}
<br />
|values={{values|stringlist|BuildingTypes or hardcoded values (see [[#special|below]])}}
RADAR Any structure from the PrerequisiteRadar= statement can be used (Radars)<br />
|types={{Categ|Technoes}}
BARRACKS Any structure from the PrerequisiteBarracks= statement can be used (Barracks)<br />
|ra=yes
TECH Any structure from the PrerequisiteTech= statement can be used (Battle Labs)<br />
|cs=yes
PROC Any structure from the PrerequisiteProc= statement can be used (Ore Refineries)<br />
|am=yes
POWER Any structure from the PrerequisitePower= statement can be used (Power Plants)<br />
|ts=yes
FACTORY Any structure from the PrerequisiteFactory= statement can be used (War Factories)
|fs=yes
|ets=yes
|ra2=yes
|yr=yes
|rp=yes
}}
 
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.