Skip to main content

Module tasks

Module tasks 

Source
Expand description

Task definitions and claim logic. Single source of truth for tiers and rewards.

Constants§

DINE_TIERS
(threshold, reward). Sorted by threshold ascending.
FORGE_TIERS
(level, reward). Sorted by level ascending.
RECRUIT_TIERS
(threshold, reward). Sorted by threshold ascending.

Functions§

check_collection
Check collection task. Mutates tasks.collection_claimed. Returns (completed, reward). Index = element×5+rarity.
next_dine_claimable
Returns (threshold, reward) for the next claimable tier, or None.
next_forge_claimable
Returns (level, reward) for the next claimable tier, or None.
next_recruit_claimable
Returns (threshold, reward) for the next claimable tier, or None.