fix shad dominion rod seed generation failure

This commit is contained in:
gymnast86
2026-08-25 20:34:38 -07:00
parent 9e99db03c4
commit 24614615de
2 changed files with 2 additions and 6 deletions
@@ -299,10 +299,10 @@ namespace randomizer::logic::item_pool
itemPool.erase("Gerudo Desert Bulblin Camp Key");
}
// Remove sky book characters if we're starting with the sky canon open
// Remove all but 1 sky book characters if we're starting with the sky canon open
if (world->Setting("City Does Not Require Filled Skybook") == "On")
{
itemPool.erase("Progressive Sky Book");
itemPool["Progressive Sky Book"] = 1;
}
// Remove Small Keys if we're playing without them
@@ -679,10 +679,6 @@ namespace randomizer::logic::world
(this->Setting("Big Keys") == "Keysy" && originalItem->IsBigKey()) ||
(this->Setting("Maps and Compasses") == "Start With" &&
(originalItem->IsDungeonMap() || originalItem->IsCompass())))) ||
// Sky Characters are not randomized, but City in the Sky doesn't require Sky Book Characters (Sky characters
// shouldn't exist)
(this->Setting("Sky Characters") == "Off" && this->Setting("City Does Not Require Filled Skybook") == "On" &&
location->HasCategories("Sky Character")) ||
// We're starting with a shop item, but shop items aren't randomized
(this->Setting("Shop Items") == "Off" && location->HasCategories("Shop") &&
utility::container::ElementInContainer(this->_startingItemPool, originalItem)))