New options that affect feeding Jabu-Jabu (#5397)
* New options that affect feeding Jabu-Jabu * Add hints for what Jabu-Jabu wants * Roll back "key" settings to just closed/open, finish rando logic * Revert "Add hints for what Jabu-Jabu wants" This reverts commit 2a1974a669a51f3ff0f33ce8ba251769614cfde5. * Fix vanilla enhancement disabler
This commit is contained in:
@@ -262,6 +262,15 @@ void SohMenu::AddMenuEnhancements() {
|
||||
"open permanently.\n"
|
||||
"Never: Link never needs to play Zelda's Lullaby to open the waterfall. He only needs to have "
|
||||
"learned it and have an Ocarina."));
|
||||
AddWidget(path, "Skip Feeding Jabu-Jabu", WIDGET_CVAR_CHECKBOX)
|
||||
.CVar(CVAR_ENHANCEMENT("TimeSavers.SkipJabuJabuFish"))
|
||||
.PreFunc([](WidgetInfo& info) {
|
||||
info.options->disabled =
|
||||
IS_RANDO && OTRGlobals::Instance->gRandoContext->GetOption(RSK_JABU_OPEN).Is(RO_JABU_OPEN);
|
||||
info.options->disabledTooltip =
|
||||
"This setting is disabled because a randomizer savefile with \"Jabu-Jaby: Open\" is loaded.";
|
||||
})
|
||||
.Options(CheckboxOptions().Tooltip("Allow Link to enter Jabu-Jabu without feeding him a fish."));
|
||||
|
||||
// Skips & Speed-ups
|
||||
path.sidebarName = "Skips & Speed-ups";
|
||||
|
||||
Reference in New Issue
Block a user