Jump to content

ProduceCashAmount: Difference between revisions

From ModEnc²
en>AlexB
No edit summary
en>AlexB
No edit summary
Line 9: Line 9:
}}
}}


Specifies the amount of credits given to the owning player every {{f|ProduceCashDelay|link}} frames. This is part of the oil derrick tech structure logic.
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.


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 requirements. Otherwise, no credits are granted and the delay starts anew.
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.


Negative values can be used to withdraw credits from the owning player's bank account.
Negative values can be used to withdraw credits from the owning player's bank account.
{{bugs}}
See {{f|ProduceCashDelay|link}}.


== See also ==
== See also ==
* [[ProduceCashStartup]]
* [[ProduceCashStartup]]
* [[ProduceCashDelay]]
* [[ProduceCashDelay]]

Revision as of 13:07, 14 March 2016

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
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 See ProduceCashDelay.

See also