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

ProduceCashAmount: Difference between revisions

From ModEnc
Jump to navigation Jump to search
No edit summary
 
Testid123 (talk | contribs)
mNo edit summary
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{Flag
Specifies the amount of credits that are allocated to the owner of this BuildingType every ProduceCashDelay=.
|name={{PAGENAME}}
|files={{Categ|Rules(md).ini}}
|values={{values|integers}}
|default=0
|types={{categ|BuildingTypes}}
|ra2=yes
|yr=yes
}}
Specifies the amount of credits given to the owning player every {{f|ProduceCashDelay|link}} {{tt|- 1}} frames. This is part of the oil derrick tech structure logic.<br>
The credits are granted only if the building is owned by a {{f|MultiplayPassive|no|link}} house and only if the player suffices the building's power and {{f|NeedsEngineer|link}} requirements. Otherwise, no credits are granted and the delay starts anew.<br>
Negative values can be used to withdraw credits from the owning player's bank account.<br>
 
{{bugs}}
*See {{f|ProduceCashDelay|link}}.<br>
*If you do this:<br>
'''[GACNST]'''<br>
'''ProduceCashAmount=100'''<br>
'''ProduceCashDelay=2'''<br>
 
'''[GAPOWR]'''<br>
'''ProduceCashAmount=-100'''<br>
'''ProduceCashDelay=2'''<br>
As long as there are still '''GACNST''' and '''GAPOWR''' Your credit will not increase or decrease.<br>
 
== See also ==
* [[ProduceCashStartup]]
* [[ProduceCashDelay]]

Revision as of 12:41, 13 January 2025

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: ProduceCashAmount
File(s): Rules(md).ini
Values: Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767.
Default: 0
Applicable to: BuildingTypes


Specifies the amount of credits given to the owning player every ProduceCashDelay - 1 frames. This is part of the oil derrick tech structure logic.
The credits are granted only if the building is owned by a MultiplayPassive=no house and only if the player suffices the building's power and NeedsEngineer requirements. Otherwise, no credits are granted and the delay starts anew.
Negative values can be used to withdraw credits from the owning player's bank account.

Bugs/Side-Effects/Unexpected Limitations

[GACNST]
ProduceCashAmount=100
ProduceCashDelay=2

[GAPOWR]
ProduceCashAmount=-100
ProduceCashDelay=2
As long as there are still GACNST and GAPOWR Your credit will not increase or decrease.

See also