Skip to content

Fixes spoiler item checks for Rupeesanity items when Rupeesanity is off.#817

Closed
viccie211 wants to merge 3 commits intogamestabled:mainfrom
viccie211:fix/rupee-sanity-locations-revealed-when-disabled
Closed

Fixes spoiler item checks for Rupeesanity items when Rupeesanity is off.#817
viccie211 wants to merge 3 commits intogamestabled:mainfrom
viccie211:fix/rupee-sanity-locations-revealed-when-disabled

Conversation

@viccie211
Copy link
Copy Markdown
Contributor

@viccie211 viccie211 commented Apr 30, 2026

Sets the spoiler checks of freestanding rupees to REVEALTYPE_ALWAYS if rupeesanity is off.

Clashes with #818
We should determine which one is preferrable

Comment thread source/spoiler_log.cpp Outdated
splrDatLoc->ItemLocations[spoilerItemIndex].CollectType = COLLECTTYPE_REPEATABLE;
splrDatLoc->ItemLocations[spoilerItemIndex].RevealType = REVEALTYPE_ALWAYS;
}
else if(loc->IsCategory(Category::cFreestandingRupee) && Settings::ShuffleRupees.Value<bool>() == false){
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

.Is(OFF) crashed the rando app. This does work

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

You can use Option objects like boolean values. So you can check that the setting is disabled with:
!Settings::ShuffleRupees

@viccie211 viccie211 closed this May 1, 2026
viccie211 added a commit to viccie211/OoT3D_Randomizer that referenced this pull request May 1, 2026
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