Fix: Prevent certain items from being marked as "major" #2496
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This addresses an issue where certain items were being considered as "major items", which reduced the likely hood that a foolish/barren hint would ever be displayed.
Heart containers and Piece of Hearts are marked as "advancement" items since they are important for logic regarding health timers. But we don't have heart container requirements for Rainbow bridge/Ganon's boss key, so these items should not prevent foolish hints.
Similaraly there is a check to prevent bombchus from being marked as major items, but the check wasn't implemented properly. The check was looking for items that contained
"Bombchus"
in the English, but none of the items had this, instead they had"Bombchu"
(singular). Comparing against N64 rando, these items should have been plural (which is what 3ds rando based their code off of). Here I have adjusted the 3 bombchu items to be"Bombchus"
, which should address this.This should increase the rate in which foolish hints show up.
Stats relating to before and after this change (from generating 500 seeds each)
Build Artifacts