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:
@@ -715,14 +715,14 @@ void TimeSaverOnVanillaBehaviorHandler(GIVanillaBehavior id, bool* should, va_li
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case VB_BE_VALID_GRAVEDIGGING_SPOT:
|
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* enTk = va_arg(args, EnTk*);
|
||||||
enTk->validDigHere = true;
|
enTk->validDigHere = true;
|
||||||
*should = true;
|
*should = true;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case VB_BE_DAMPE_GRAVEDIGGING_GRAND_PRIZE:
|
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* enTk = va_arg(args, EnTk*);
|
||||||
enTk->currentReward = 3;
|
enTk->currentReward = 3;
|
||||||
*should = true;
|
*should = true;
|
||||||
|
|||||||
@@ -1281,7 +1281,7 @@ void SohMenu::AddMenuEnhancements() {
|
|||||||
.CVar(CVAR_ENHANCEMENT("DampeWin"))
|
.CVar(CVAR_ENHANCEMENT("DampeWin"))
|
||||||
.Options(CheckboxOptions().Tooltip(
|
.Options(CheckboxOptions().Tooltip(
|
||||||
"Always win the Heart Piece/Purple Rupee on the first dig in Dampe's Grave Digging game. "
|
"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)
|
AddWidget(path, "All Dogs are Richard", WIDGET_CVAR_CHECKBOX)
|
||||||
.CVar(CVAR_ENHANCEMENT("AllDogsRichard"))
|
.CVar(CVAR_ENHANCEMENT("AllDogsRichard"))
|
||||||
.Options(CheckboxOptions().Tooltip("All dogs can be traded in and will count as Richard."));
|
.Options(CheckboxOptions().Tooltip("All dogs can be traded in and will count as Richard."));
|
||||||
|
|||||||
Reference in New Issue
Block a user