mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-08-13 17:03:47 -04:00
Changed CVar name
This commit is contained in:
parent
d0f8374c4c
commit
35fefdecb0
@ -452,7 +452,7 @@ namespace SohImGui {
|
|||||||
io->ConfigFlags |= ImGuiConfigFlags_DockingEnable;
|
io->ConfigFlags |= ImGuiConfigFlags_DockingEnable;
|
||||||
io->Fonts->AddFontDefault();
|
io->Fonts->AddFontDefault();
|
||||||
statsWindowOpen = CVar_GetS32("gStatsEnabled", 0);
|
statsWindowOpen = CVar_GetS32("gStatsEnabled", 0);
|
||||||
CVar_RegisterS32("gRandoRandomRupeeNames", 1);
|
CVar_RegisterS32("gRandomizeRupeeNames", 1);
|
||||||
#ifdef __SWITCH__
|
#ifdef __SWITCH__
|
||||||
Ship::Switch::SetupFont(io->Fonts);
|
Ship::Switch::SetupFont(io->Fonts);
|
||||||
#endif
|
#endif
|
||||||
@ -1913,7 +1913,7 @@ namespace SohImGui {
|
|||||||
"(medallions/stones/songs). Note that these fanfares\n"
|
"(medallions/stones/songs). Note that these fanfares\n"
|
||||||
"are longer than usual."
|
"are longer than usual."
|
||||||
);
|
);
|
||||||
PaddedEnhancementCheckbox("Random Rupee Names", "gRandoRandomRupeeNames", true, false);
|
PaddedEnhancementCheckbox("Random Rupee Names", "gRandomizeRupeeNames", true, false);
|
||||||
Tooltip(
|
Tooltip(
|
||||||
"When obtaining rupees, randomize what the rupee is called in the textbox."
|
"When obtaining rupees, randomize what the rupee is called in the textbox."
|
||||||
);
|
);
|
||||||
|
@ -1541,7 +1541,7 @@ extern "C" int CustomMessage_RetrieveIfExists(GlobalContext* globalCtx) {
|
|||||||
}
|
}
|
||||||
} else if (textId == TEXT_SCRUB_POH || textId == TEXT_SCRUB_STICK_UPGRADE || textId == TEXT_SCRUB_NUT_UPGRADE) {
|
} else if (textId == TEXT_SCRUB_POH || textId == TEXT_SCRUB_STICK_UPGRADE || textId == TEXT_SCRUB_NUT_UPGRADE) {
|
||||||
messageEntry = Randomizer_GetScrubMessage(textId);
|
messageEntry = Randomizer_GetScrubMessage(textId);
|
||||||
} else if (CVar_GetS32("gRandoRandomRupeeNames", 0) &&
|
} else if (CVar_GetS32("gRandomizeRupeeNames", 0) &&
|
||||||
(textId == TEXT_BLUE_RUPEE || textId == TEXT_RED_RUPEE || textId == TEXT_PURPLE_RUPEE ||
|
(textId == TEXT_BLUE_RUPEE || textId == TEXT_RED_RUPEE || textId == TEXT_PURPLE_RUPEE ||
|
||||||
textId == TEXT_HUGE_RUPEE)) {
|
textId == TEXT_HUGE_RUPEE)) {
|
||||||
Randomizer randomizerInstance;
|
Randomizer randomizerInstance;
|
||||||
|
Loading…
Reference in New Issue
Block a user