Skip to content

ProduceCashBudget

Added in 0.2.0

The total one structure produces, counted without regard to sign, before it stops.

Specification
Applies to
BuildingType
File
rules.ini
Section
[<ObjectType ID>]
Value
integer
When omitted
0
rules.ini
[MYDERRICK] ; example BuildingType registered in [BuildingTypes]
ProduceCashAmount=100
ProduceCashDelay=750
ProduceCashBudget=1000 ; ten payments, then the structure stops producing

Each payment of ProduceCashAmount is subtracted from this allowance, and the structure stops producing once the allowance is used up. A negative amount is subtracted by its size, so a charge uses up the budget the same way a payment does.

A budget that is not a whole multiple of the amount ends with a smaller final payment. A budget of 1000 with an amount of 300 pays 300, 300, 300 and then 100.

Zero or a negative value sets no limit.

A structure that has used up its budget keeps standing but produces nothing further, unless ProduceCashResetOnCapture=yes gives it a fresh allowance when it is captured.

The bonus ProduceCashStartup pays does not count against the budget and is not limited by it.

History

  1. Added0.2.0In development

    Let a structure produce cash on an interval