mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-01-04 18:38:05 -05:00
fix freestanding tracking (#4782)
This commit is contained in:
parent
4c6a2a4b64
commit
396e2fd5ff
@ -535,8 +535,6 @@ static void PlaceVanillaDekuScrubItems(bool junkOneTimeScrubs) {
|
||||
ctx->PlaceItemInLocation(RC_GANONS_CASTLE_DEKU_SCRUB_RIGHT, RG_RED_POTION_REFILL, false, true);
|
||||
ctx->PlaceItemInLocation(RC_GANONS_CASTLE_DEKU_SCRUB_LEFT, RG_GREEN_POTION_REFILL, false, true);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
static void PlaceVanillaMapsAndCompasses() {
|
||||
@ -1251,7 +1249,7 @@ void GenerateItemPool() {
|
||||
//Overworld Scrubs
|
||||
AddItemsToPool(ItemPool, dekuScrubItems);
|
||||
|
||||
//I'm not sure what this is for, but it was in ootr so I copied it
|
||||
//Scrubs which sell seeds or arrows sell it based on age, this randomly assigns them
|
||||
for (uint8_t i = 0; i < 7; i++) {
|
||||
if (Random(0, 3)) {
|
||||
AddItemToMainPool(RG_ARROWS_30);
|
||||
|
@ -163,6 +163,12 @@ void RandomizerCheckObjects::UpdateImGuiVisibility() {
|
||||
RandomizerCheckObjects::AreaIsOverworld(location.GetArea())) ||
|
||||
((CVarGetInteger(CVAR_RANDOMIZER_SETTING("ShuffleTokens"), RO_TOKENSANITY_OFF) == RO_TOKENSANITY_DUNGEONS) &&
|
||||
RandomizerCheckObjects::AreaIsDungeon(location.GetArea()))) &&
|
||||
(location.GetRCType() != RCTYPE_FREESTANDING ||
|
||||
(CVarGetInteger(CVAR_RANDOMIZER_SETTING("ShuffleFreestanding"), RO_FREESTANDING_OFF) == RO_FREESTANDING_ALL) ||
|
||||
((CVarGetInteger(CVAR_RANDOMIZER_SETTING("ShuffleFreestanding"), RO_FREESTANDING_OFF) == RO_FREESTANDING_OVERWORLD) &&
|
||||
RandomizerCheckObjects::AreaIsOverworld(location.GetArea())) ||
|
||||
((CVarGetInteger(CVAR_RANDOMIZER_SETTING("ShuffleFreestanding"), RO_FREESTANDING_OFF) == RO_FREESTANDING_DUNGEONS) &&
|
||||
RandomizerCheckObjects::AreaIsDungeon(location.GetArea()))) &&
|
||||
(location.GetRCType() != RCTYPE_BEEHIVE || CVarGetInteger(CVAR_RANDOMIZER_SETTING("ShuffleBeehives"), RO_GENERIC_NO)) &&
|
||||
(location.GetRCType() != RCTYPE_COW || CVarGetInteger(CVAR_RANDOMIZER_SETTING("ShuffleCows"), RO_GENERIC_NO)) &&
|
||||
(location.GetRCType() != RCTYPE_POT || CVarGetInteger(CVAR_RANDOMIZER_SETTING("ShufflePots"), RO_GENERIC_NO)) &&
|
||||
|
Loading…
Reference in New Issue
Block a user