mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-25 10:52:19 -05:00
Add keyring to check for placing Gerudo Fortess Keys in Any Dungeon or Overworld. (#4055)
This commit is contained in:
parent
bfe13906e9
commit
02f7310c16
@ -846,10 +846,10 @@ static void RandomizeDungeonItems() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (GerudoKeys.Is(GERUDOKEYS_ANY_DUNGEON)) {
|
if (GerudoKeys.Is(GERUDOKEYS_ANY_DUNGEON)) {
|
||||||
auto gerudoKeys = FilterAndEraseFromPool(ItemPool, [](const auto i) { return i == GERUDO_FORTRESS_SMALL_KEY; });
|
auto gerudoKeys = FilterAndEraseFromPool(ItemPool, [](const auto i) { return i == GERUDO_FORTRESS_SMALL_KEY || i == GERUDO_FORTRESS_KEY_RING; });
|
||||||
AddElementsToPool(anyDungeonItems, gerudoKeys);
|
AddElementsToPool(anyDungeonItems, gerudoKeys);
|
||||||
} else if (GerudoKeys.Is(GERUDOKEYS_OVERWORLD)) {
|
} else if (GerudoKeys.Is(GERUDOKEYS_OVERWORLD)) {
|
||||||
auto gerudoKeys = FilterAndEraseFromPool(ItemPool, [](const auto i) { return i == GERUDO_FORTRESS_SMALL_KEY; });
|
auto gerudoKeys = FilterAndEraseFromPool(ItemPool, [](const auto i) { return i == GERUDO_FORTRESS_SMALL_KEY || i == GERUDO_FORTRESS_KEY_RING; });
|
||||||
AddElementsToPool(overworldItems, gerudoKeys);
|
AddElementsToPool(overworldItems, gerudoKeys);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user