Skip to content

Conversation

@Malkierian
Copy link
Contributor

@Malkierian Malkierian commented Jun 17, 2025

Adds saving and loading for location exclusion status in the save file, and hooks the check tracker into it to return false from IsVisibleInCheckTracker() if a location was excluded.

Build Artifacts

…racker up to return false from IsVisibleInCheckTracker if a location was excluded.
});
}
if (randoContext->GetItemLocation(i)->IsExcluded()) {
SaveManager::Instance->SaveData("excluded", true);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fine for a quick fix for Blair Delta, but it strikes me as odd that excludes are stored as settings everywhere else but part of the ItemLocation while saving. I don't exactly mind storing excludes this way but could it become weird if we ever change excludes to just remove the location from the pool and always give a nothing check?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only if we also change the way locations are stored in the save. At the moment, every location, regardless of shuffle, is saved in the save file.

@Malkierian Malkierian merged commit a9a49cc into HarbourMasters:develop-blair Jun 19, 2025
6 checks passed
@Malkierian Malkierian deleted the excluded-locs-tracking branch June 19, 2025 20:26
ReddestDream pushed a commit to ReddestDream/Shipwright that referenced this pull request Jun 24, 2025
…racker up to return false from IsVisibleInCheckTracker if a location was excluded. (HarbourMasters#5594)
krazyjakee pushed a commit to krazyjakee/OOT that referenced this pull request Sep 6, 2025
…racker up to return false from IsVisibleInCheckTracker if a location was excluded. (HarbourMasters#5594)
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.

[Bug?] Randomizer check tracker doesn't exclude checks that are manually excluded

2 participants