ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

RefineryLimit

From ModEnc
Jump to navigation Jump to search
Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
Flag: RefineryLimit
File(s): rules(md).ini
Values: Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767.
Default: 4
Applicable to: AI

Logic related to RefineryLimit, as a whole or in part, is obsolete in Tiberian Sun, Red Alert 2 and/or Yuri's Revenge.



Specifies the maximum number of refineries (of the type PROC) a computer player is allowed to have in its base at a time. Once this limit is reached, the computer won't build new refineries, only replace lost ones.

In Tiberian Sun To Yuri's Revenge

Although parsed, this flag does nothing.

Trivia

Although typically these flags are grouped in the order of *Ratio and *Limit, according to the source code, RefineryLimit and RefineryRatio are an exception—their order is reversed compared to other groups, with Limit being defined and declared earlier than Ratio.