Expand description
Module Unlock Logic
Rules:
- First module in each era is always unlocked
- Subsequent modules unlock when the previous module is completed
- Last two modules in each era are locked until at least one module has 100% completion
Enums§
- Module
State - State of a module for the user
Functions§
- check_
module_ unlocked - Check if a specific module is unlocked for the user
- get_
locked_ module_ ids - Get list of locked module IDs for an era
- get_
module_ state - Get the current state of a module for the user
- has_
perfect_ module - Check if any module in the era has 100% completion