Jump to content

SecretInfantry: Difference between revisions

From ModEnc²
en>DCoder
Updated, merged in _I
m 5 revisions imported
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== In {{sl|General}} ==
== For [General] ==
{{Flag
{{Flag
|values={{Values|stringlist|InfantryTypes}}
|values={{Values|stringlist|InfantryTypes}}
|default=
|types={{Categ|General}}
|types={{Categ|General}}
|yr=yes
|yr=yes
Line 8: Line 7:
}}
}}


This flag defines the InfantryTypes that can be granted as bonuses by {{TTL|SecretLab|yes}} buildings.
This flag specifies the [[InfantryTypes]] that can be granted as bonuses by [[BuildingTypes]] with {{f|SecretLab|yes|link}} set.
 
== On [{{TTL|BuildingTypes}}] ==


== For [BuildingTypes] ==
{{Flag
{{Flag
|values={{Values|string|InfantryTypes}}
|values={{Values|string|InfantryTypes}}
|default=
|types={{Categ|BuildingTypes}}
|types={{Categ|General}}
|yr=yes
|yr=yes
|rp=yes
|rp=yes
}}
}}


This flag defines a single InfantryType that should be granted as a bonus by this building, if it also has {{TTL|SecretLab|yes}}. Note that if this flag is defined, the secret lab loses any randomness and will always grant this InfantryType.
This flag specifies a single [[InfantryType]] that should be granted as a bonus by this building, if it also has {{f|SecretLab|yes|link}}. Note that if this flag is set, the secret lab loses any randomness and will always grant this InfantryType.
 
==See also==
* {{f|SecretUnit|link}}
* {{f|SecretBuilding|link}}
* [[Secret Lab System]]

Latest revision as of 22:04, 31 March 2025

For [General]

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: SecretInfantry
File(s): rules(md).ini
Values: Comma-separated list of strings. (Limited to: InfantryTypes)
Applicable to: General


This flag specifies the InfantryTypes that can be granted as bonuses by BuildingTypes with SecretLab=yes set.

For [BuildingTypes]

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: SecretInfantry
File(s): rules(md).ini
Values: Strings: Normal text. (Limited to: InfantryTypes)
Applicable to: BuildingTypes


This flag specifies a single InfantryType that should be granted as a bonus by this building, if it also has SecretLab=yes. Note that if this flag is set, the secret lab loses any randomness and will always grant this InfantryType.

See also