Skip to content

ProduceCashDelay

Added in 0.2.0

The frames between one structure's cash payments, and the switch that turns them on at all.

Specification
Applies to
BuildingType
File
rules.ini
Section
[<ObjectType ID>]
Value
integer
When omitted
0
rules.ini
[CAOILD]
ProduceCashAmount=100
ProduceCashDelay=750 ; 50 seconds at 15 frames a second

A structure pays ProduceCashAmount once every ProduceCashDelay frames. The count starts when the structure opens for business, and it restarts from the full delay after each payment and on each capture. Each structure keeps its own count, so two structures of the same type built a few seconds apart also pay a few seconds apart.

A value of zero or less turns the recurring payment off. A type that sets ProduceCashAmount without this key never pays on a schedule, although it can still pay ProduceCashStartup on capture.

On a Powered=yes structure, the count pauses while the structure lacks power and resumes with the frames it had left. Buildings that produce cash says what counts as lacking power.

History

  1. Added0.2.0In development

    Let a structure produce cash on an interval