feat(progress): show unlock status and boss bar

This commit is contained in:
dmg
2026-08-11 17:22:52 -04:00
parent 486780c049
commit 9600520e14
10 changed files with 274 additions and 15 deletions
@@ -2,7 +2,7 @@
type: User Story
title: "US-002: View tree progress"
description: Show players which species are unlocked and their progress toward the remaining unlocks.
status: backlog
status: done
---
# US-002: View tree progress
@@ -11,16 +11,16 @@ As a **player**, I want clear unlock and progress information so that I know whi
## Acceptance criteria
- [ ] `/treefeller unlocked` lists every supported species in a readable locked or unlocked state.
- [ ] Each locked species includes the player's current qualifying-block count and active threshold.
- [ ] Each unlocked species is clearly distinguished and is not presented as needing further progress.
- [ ] Mining a qualifying block for a locked species displays or updates a boss bar with the species name and numeric progress toward its active threshold.
- [ ] The boss bar reflects a changed threshold the next time qualifying progress is recorded.
- [ ] The boss bar disappears after no qualifying block has been mined for five seconds by default.
- [ ] Mining another qualifying block before timeout restarts the configured visibility period.
- [ ] Boss-bar visibility duration, text, color, and style are configurable.
- [ ] Progress feedback is not displayed for cancelled, ineligible, automatically felled, or already-unlocked blocks.
- [ ] `/treefeller unlocked` and its autocomplete expose no administrative functionality.
- [x] `/treefeller unlocked` lists every supported species in a readable locked or unlocked state.
- [x] Each locked species includes the player's current qualifying-block count and active threshold.
- [x] Each unlocked species is clearly distinguished and is not presented as needing further progress.
- [x] Mining a qualifying block for a locked species displays or updates a boss bar with the species name and numeric progress toward its active threshold.
- [x] The boss bar reflects a changed threshold the next time qualifying progress is recorded.
- [x] The boss bar disappears after no qualifying block has been mined for five seconds by default.
- [x] Mining another qualifying block before timeout restarts the configured visibility period.
- [x] Boss-bar visibility duration, text, color, and style are configurable.
- [x] Progress feedback is not displayed for cancelled, ineligible, automatically felled, or already-unlocked blocks.
- [x] `/treefeller unlocked` and its autocomplete expose no administrative functionality.
## Related