2.6 KiB
Task F3 — Achievements, Titles, and Fan Rewards
Scope
Implemented and finalized only F3 meta-progression behavior:
- Run-scoped achievement state for counters, unlocked and hidden-reveal status, achievement flags, and pending/claimed fan-chest rewards.
- Data-backed achievement evaluation against catalog triggers and conditions, with duplicate-unlock prevention.
- Event integration for combat hits and kills, level-ups, pickups, traps, chests, and quest lifecycle events; unlocks are recorded in the run journal and displayed as HUD toasts.
- Data-backed title evaluation from level, achievement flags, and reputation, with the highest matching title shown in the HUD and preserved as the current run title.
- An L-key achievement journal that lists revealed/unlocked achievements, shows the active title, and claims pending fan chests with Enter.
- Unit coverage for achievement reveal/reward lifecycle and title ranking; a real-scene E2E test covering hit-triggered unlock, toast, journal, claim, and title refresh.
No F4 audience, viewer, ratings, recap, or other audience-system behavior was added or changed.
Verification and capture
git diff --check passed.
./scripts/verify.sh completed successfully with Godot 4.5.0:
- Unit: 168 / 168 tests, 1,264 assertions
- Integration: 10 / 10 tests, 59,462 assertions
- E2E: 49 / 49 tests, 492 assertions
- Visual: both Xvfb captures passed
Captured and validated artifacts (ignored by Git):
artifacts/visual-check.png:dungeon_non_black_pixels=489308,visible_pixels=17524,explored_pixels=10438,explored_luminance=0.012,unknown_pixels=365325,unknown_luminance=0.001artifacts/visual-check-exit.png:dungeon_non_black_pixels=489252,visible_pixels=17404,explored_pixels=17146,explored_luminance=0.012,unknown_pixels=439497,unknown_luminance=0.001
The first interactive invocation exceeded the command wrapper's 120-second limit while E2E tests were still running; it did not identify a test failure. The completed rerun used a 300-second limit and passed every suite and visual capture. No F3 code defect required a fix. The successful runner still emits pre-existing third-party GUT invalid-UID and Godot resource-cleanup warnings; it emitted no application SCRIPT ERROR or parse error.
Content and change counts
- 5,031 ASCII achievement definitions loaded
- 10 ASCII title definitions loaded
- 14 F3 implementation/UI/test/report files added
- 5 existing integration/configuration files modified
Git
All F3 implementation, tests, scenes, UID files, and this report are included in one local commit. No push and no PR were created.