Expand description
Reward behaviors for bundle currency steps. Fixed reward lists live in the
config (BundleRawStep::currencies, CurrencyBranchStep,
QuestsProgressionPointSettings::reward); the only computed reward is the
AFK accrual.
Structs§
- Reward
Ctx - Inputs available to a bundle currency-step reward fn. The afk-claim call
site provides the claim window and a seeded RNG; the plain claim site
leaves them
None.
Functions§
- afk_
rewards_ step0 - AFK reward accrual (the
AFK_Rewardsbundle step): currency rates per elapsed minute scaled by talents and the ads boost, plus weighted bonus draws. - register
- Register this category’s behaviors.
- test_
afk_ currency_ step0 - Test AFK accrual step (
afk_rewards_settings.bundle_idfixture bundle): elapsed> 8s→ 228, otherwise → 111, of the soft currency.
Type Aliases§
- Reward
Fn - Signature of a bundle currency-step reward fn. Free
fn(no captured state) so it isCopyand trivially stored in the registry.