mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-12-18 14:22:17 -05:00
Fixes
This commit is contained in:
parent
8c78154aff
commit
350d521c82
@ -759,7 +759,7 @@ void GenerateItemPool() {
|
||||
} else if (ctx->GetOption(RSK_SHUFFLE_POTS).Is(RO_SHUFFLE_POTS_DUNGEONS)) {
|
||||
for (RandomizerCheck loc : ctx->GetLocations(ctx->allLocations, Category::cPot)) {
|
||||
if (Rando::StaticData::GetLocation(loc)->IsOverworld()) {
|
||||
ctx->PlaceItemInLocation((RandomizerCheck)loc, RG_GREEN_RUPEE, false, true);
|
||||
ctx->PlaceItemInLocation(loc, RG_GREEN_RUPEE, false, true);
|
||||
} else {
|
||||
AddItemToMainPool(RG_GREEN_RUPEE);
|
||||
}
|
||||
@ -767,7 +767,7 @@ void GenerateItemPool() {
|
||||
} else if (ctx->GetOption(RSK_SHUFFLE_POTS).Is(RO_SHUFFLE_POTS_OVERWORLD)) {
|
||||
for (RandomizerCheck loc : ctx->GetLocations(ctx->allLocations, Category::cPot)) {
|
||||
if (Rando::StaticData::GetLocation(loc)->IsDungeon()) {
|
||||
ctx->PlaceItemInLocation((RandomizerCheck)loc, RG_GREEN_RUPEE, false, true);
|
||||
ctx->PlaceItemInLocation(loc, RG_GREEN_RUPEE, false, true);
|
||||
} else {
|
||||
AddItemToMainPool(RG_GREEN_RUPEE);
|
||||
}
|
||||
|
@ -119,7 +119,7 @@ void WriteIngameSpoilerLog() {
|
||||
continue;
|
||||
}
|
||||
// Shuffle Pots
|
||||
else if (!ctx->GetOption(RSK_SHUFFLE_POTS) && loc->IsCategory(Category::cPot)) {
|
||||
else if (ctx->GetOption(RSK_SHUFFLE_POTS).Is(RO_SHUFFLE_POTS_OFF) && loc->IsCategory(Category::cPot)) {
|
||||
continue;
|
||||
}
|
||||
// Merchants
|
||||
|
@ -75,7 +75,7 @@ typedef enum {
|
||||
} SpoilerItemRevealType;
|
||||
|
||||
#define SPOILER_SPHERES_MAX 50
|
||||
#define SPOILER_ITEMS_MAX 512
|
||||
#define SPOILER_ITEMS_MAX 1024
|
||||
#define SPOILER_STRING_DATA_SIZE 16384
|
||||
|
||||
typedef struct {
|
||||
|
@ -153,7 +153,7 @@ void RandomizerCheckObjects::UpdateImGuiVisibility() {
|
||||
((CVarGetInteger("gRandomizeShuffleTokens", RO_TOKENSANITY_OFF) == RO_TOKENSANITY_DUNGEONS) &&
|
||||
RandomizerCheckObjects::AreaIsDungeon(location.GetArea()))) &&
|
||||
(location.GetRCType() != RCTYPE_COW || CVarGetInteger("gRandomizeShuffleCows", RO_GENERIC_NO)) &&
|
||||
(location.GetRCType() != RCTYPE_POT || CVarGetInteger("gRandomizeShufflePotContents", RO_GENERIC_NO)) &&
|
||||
(location.GetRCType() != RCTYPE_POT || CVarGetInteger("gRandomizeShufflePots", RO_GENERIC_NO)) &&
|
||||
(location.GetRCType() != RCTYPE_ADULT_TRADE ||
|
||||
CVarGetInteger("gRandomizeShuffleAdultTrade", RO_GENERIC_NO)) &&
|
||||
(location.GetRandomizerCheck() != RC_KF_KOKIRI_SWORD_CHEST ||
|
||||
|
@ -1096,8 +1096,8 @@ void LoadSettings() {
|
||||
OTRGlobals::Instance->gRandomizer->GetRandoSettingValue(RSK_SHUFFLE_GERUDO_MEMBERSHIP_CARD) == RO_GENERIC_YES
|
||||
: true;
|
||||
showPots = IS_RANDO ?
|
||||
OTRGlobals::Instance->gRandomizer->GetRandoSettingValue(RSK_SHUFFLE_POTS) == RO_GENERIC_YES
|
||||
: true;
|
||||
OTRGlobals::Instance->gRandomizer->GetRandoSettingValue(RSK_SHUFFLE_POTS) != RO_SHUFFLE_POTS_OFF
|
||||
: false;
|
||||
showFrogSongRupees = IS_RANDO ?
|
||||
OTRGlobals::Instance->gRandomizer->GetRandoSettingValue(RSK_SHUFFLE_FROG_SONG_RUPEES) == RO_GENERIC_YES
|
||||
: false;
|
||||
|
Loading…
Reference in New Issue
Block a user