Restores IS_RANDO default for the "Always Win Dampe Digging Game" enhancement and changes the tooltip to reflect the default status rather than the forced on status. (#5788)

This commit is contained in:
Malkierian
2025-09-17 13:13:19 -07:00
committed by GitHub
parent ba693ecac4
commit a88cac300e
2 changed files with 3 additions and 3 deletions

View File

@@ -715,14 +715,14 @@ void TimeSaverOnVanillaBehaviorHandler(GIVanillaBehavior id, bool* should, va_li
}
break;
case VB_BE_VALID_GRAVEDIGGING_SPOT:
if (CVarGetInteger(CVAR_ENHANCEMENT("DampeWin"), 0)) {
if (CVarGetInteger(CVAR_ENHANCEMENT("DampeWin"), IS_RANDO)) {
EnTk* enTk = va_arg(args, EnTk*);
enTk->validDigHere = true;
*should = true;
}
break;
case VB_BE_DAMPE_GRAVEDIGGING_GRAND_PRIZE:
if (CVarGetInteger(CVAR_ENHANCEMENT("DampeWin"), 0)) {
if (CVarGetInteger(CVAR_ENHANCEMENT("DampeWin"), IS_RANDO)) {
EnTk* enTk = va_arg(args, EnTk*);
enTk->currentReward = 3;
*should = true;

View File

@@ -1281,7 +1281,7 @@ void SohMenu::AddMenuEnhancements() {
.CVar(CVAR_ENHANCEMENT("DampeWin"))
.Options(CheckboxOptions().Tooltip(
"Always win the Heart Piece/Purple Rupee on the first dig in Dampe's Grave Digging game. "
"In a Randomizer file, this is always enabled."));
"In a Randomizer file, this defaults to on if this enhancement has never been changed."));
AddWidget(path, "All Dogs are Richard", WIDGET_CVAR_CHECKBOX)
.CVar(CVAR_ENHANCEMENT("AllDogsRichard"))
.Options(CheckboxOptions().Tooltip("All dogs can be traded in and will count as Richard."));