mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-20 05:13:39 -07:00
Rando: Shuffle Beehives (Rando V3) (#3763)
* Shuffle Beehives * Address review * Fix build
This commit is contained in:
parent
4cbf3a5621
commit
080038c39e
31 changed files with 505 additions and 83 deletions
|
@ -59,6 +59,7 @@ bool showDungeonTokens;
|
|||
bool showBeans;
|
||||
bool showScrubs;
|
||||
bool showMerchants;
|
||||
bool showBeehives;
|
||||
bool showCows;
|
||||
bool showAdultTrade;
|
||||
bool showKokiriSword;
|
||||
|
@ -1091,6 +1092,9 @@ void LoadSettings() {
|
|||
showMerchants = IS_RANDO ?
|
||||
OTRGlobals::Instance->gRandomizer->GetRandoSettingValue(RSK_SHUFFLE_MERCHANTS) != RO_SHUFFLE_MERCHANTS_OFF
|
||||
: true;
|
||||
showBeehives = IS_RANDO ?
|
||||
OTRGlobals::Instance->gRandomizer->GetRandoSettingValue(RSK_SHUFFLE_BEEHIVES) == RO_GENERIC_YES
|
||||
: false;
|
||||
showCows = IS_RANDO ?
|
||||
OTRGlobals::Instance->gRandomizer->GetRandoSettingValue(RSK_SHUFFLE_COWS) == RO_GENERIC_YES
|
||||
: false;
|
||||
|
@ -1208,6 +1212,7 @@ bool IsVisibleInCheckTracker(RandomizerCheck rc) {
|
|||
rc == RC_LW_DEKU_SCRUB_GROTTO_FRONT
|
||||
) &&
|
||||
(loc->GetRCType() != RCTYPE_MERCHANT || showMerchants) &&
|
||||
(loc->GetRCType() != RCTYPE_BEEHIVE || showBeehives) &&
|
||||
(loc->GetRCType() != RCTYPE_OCARINA || showOcarinas) &&
|
||||
(loc->GetRCType() != RCTYPE_SKULL_TOKEN || alwaysShowGS ||
|
||||
(showOverworldTokens && RandomizerCheckObjects::AreaIsOverworld(loc->GetArea())) ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue