Accounts and paychecks
Paychecks
Accounts and paychecks for REC_Core, with configuration and implementation details.
- Added
- Updated
| Setting | Default | Behavior |
|---|---|---|
paycheck.enabled | true | Enable the paycheck loop. |
paycheck.interval | 30 | Minutes between payments; must be greater than zero. |
paycheck.account | "bank" | Must name an account in accounts. |
paycheck.onDutyOnly | false | When true, only on-duty characters receive a paycheck. |
paycheck.reason | "paycheck" | Reason passed to the money operation. |
money.notify | true | Show ordinary balance-change notifications. |
Each interval considers currently loaded characters and uses job.grade.payment as the amount.
handler:getPaycheck can adjust it; returning 0 skips that character.
A successful payment shows a paycheck notification separately from ordinary balance notifications, so money.notify = false does not suppress it.
