ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Difference between revisions of "PowerEmergency"
From ModEnc
(Un-DeeZire'd) |
|||
Line 1: | Line 1: | ||
− | {{ | + | {{Flag |
− | + | |files={{Categ|ini=rules}} | |
+ | |values={{Values|percentages}} | ||
+ | |types={{Categ|AI}} | ||
+ | |yr=yes | ||
+ | |ra2=yes | ||
+ | |ts=yes | ||
+ | |fs=yes | ||
+ | |ra=yes | ||
+ | |cs=yes | ||
+ | |am=yes | ||
+ | |tsobsolete=yes | ||
+ | }} | ||
+ | |||
+ | If a computer player's power level drops below this threshold ''and'' its power output is less than the power drain minus 400, then the computer will declare a state of medium [[UrgencyType|urgency]]. If the computer is under attack, then it will futher increase the level of urgency. This typically results in the AI selling less important, power-hungry buildings as an emergency. | ||
+ | |||
+ | == In {{ts}} To {{yr}} == | ||
+ | Although parsed, this flag does nothing. |
Latest revision as of 23:44, 3 April 2024
Flag: | PowerEmergency |
File(s): | rules(md).ini |
Values: | Percentages: Either a direct percentage (e.g. "50%"), or a floating point value (e.g. "0.5"). |
Applicable to: | AI |
Logic related to PowerEmergency, as a whole or in part, is obsolete in Tiberian Sun, Red Alert 2 and/or Yuri's Revenge. |
If a computer player's power level drops below this threshold and its power output is less than the power drain minus 400, then the computer will declare a state of medium urgency. If the computer is under attack, then it will futher increase the level of urgency. This typically results in the AI selling less important, power-hungry buildings as an emergency.