Function current_chapter_level

Source
pub fn current_chapter_level(ctx: &ConditionalProgressCtx<'_>) -> Result<i64>
Expand description

character.current_chapter_level (raw, monotonic). Paired with a quest whose progress_target is the TARGET chapter, so the quest completes exactly when the player reaches that chapter — one behavior gates ANY chapter without a per-threshold const registration (active_quest.current = progress, so is_completed is current_chapter >= progress_target). Used by the progress-pass (trophy road) tiers, which span the whole game (chapter-level 20→115; the pass button itself unlocks at chapter-level 20 per gatings.progress_pass_button_unlock_chapter).