Skip to content

Skip overrides for vanilla items#820

Merged
HylianFreddy merged 3 commits into
gamestabled:mainfrom
HylianFreddy:skip-vanilla-overrides
May 12, 2026
Merged

Skip overrides for vanilla items#820
HylianFreddy merged 3 commits into
gamestabled:mainfrom
HylianFreddy:skip-vanilla-overrides

Conversation

@HylianFreddy

Copy link
Copy Markdown
Collaborator

This PR removes the item overrides from the patch for locations that are set to be vanilla (due to vanilla logic or disabled shuffle settings). This fixes freestanding rupees appearing as items even when they're not shuffled.

In the ItemLocation class I refactored the hidden field, previously used only to hide spoiler log entries, renaming it to overridden to indicate if that location will have an override placed in the patch. Placing a random item will set it to true, and placing the vanilla item will set it to false.

I also updated the business scrub code and removed the "hack" for seeds/arrows scrubs. I tested to make sure the scrubs still work correctly, checking both scrub types (respawning and non-respawning ones) with the setting enabled, disabled, and with vanilla logic.

For Delayed and TempleReward item locations I chose to keep the overrides even when vanilla, because those items are always given by the rando code. I added an enum for delayed overrides to make them clearer.

- Update Business Scrub implementation
- Add enum for delayed overrides
Kewlan
Kewlan previously approved these changes May 8, 2026
Comment thread shared/s_item_override.h

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.

Minor/inconsequential nitpick, but I'd prefer the prefix be DLYOVR_ rather than DELOVR_ simply because I'm used to "DEL" meaning delete

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Done, thanks for the suggestion!

@HylianFreddy HylianFreddy merged commit 98a3702 into gamestabled:main May 12, 2026
2 checks passed
@HylianFreddy HylianFreddy deleted the skip-vanilla-overrides branch May 12, 2026 20:26
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.

3 participants