Skip to content

Conversation

@HylianFreddy
Copy link
Collaborator

This fixes a bug with the Triforce Hunt playthrough calculation that can cause it to include useless items.

Currently, the win condition for Triforce Hunt is implemented by having the Ganon location (which contains the placeholder Triforce item to represent game end) accessible from the ROOT Area when all the pieces have been collected. But the parent region for the Ganon location is still Ganon's Tower. This leads to the playthrough calculations not considering it reachable from the root Area even after collecting all Triforce Pieces because the age/time variables in the Ganon's Tower Area aren't updated yet, making LocationAccess::ConditionsMet() always return false.
The result is that the playthrough (and everything depending on it like the gossip stone hints with the Playthrough distribution) could end up with many more useless steps and spheres after the last Triforce Piece.
To fix this, I added another location for the Triforce Hunt win condition, which is correctly assigned exclusively to the ROOT parent region, and made the relevant adjustments where needed to make it work as the goal while keeping the Ganon location accessible.

@HylianFreddy HylianFreddy merged commit aef701b into gamestabled:main Nov 4, 2025
2 checks passed
@HylianFreddy HylianFreddy deleted the triforce-hunt-playthrough-fix branch November 4, 2025 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants