Skip to content

Edit objects to generate funds in a set periodic time

Petrenko edited this page Aug 12, 2011 · 4 revisions

Attach the CashTrickler trait to the actor which should give money. It will give a fixed amount every N ticks to the player which owns it.

Requires: Nothing, although you possibly want add the trait "Capturable" to make it useful.
Conflicts with: Nothing

CashTrickler:
  Amount: 10        # amount of money to give each time
  Period: 50        # number of ticks to wait between giving money
  ShowTicks: true   # whether to show the cash tick indicators (+$10 rising from building)
  TickLifetime: 30  # how long the cash tick indicator should be shown for
  TickVelocity: 1   # pixels/tick upward movement of the cash tick indicator

Back

Clone this wiki locally