logic: allow finding big poe in bottle for reward logic (#5075)

* logic: allow finding big poe in bottle for reward logic

only applies when big poe count is set to 1

* Allow multiple big poe bottles for when big poe requirement > 1
This commit is contained in:
Philip Dubé 2025-02-25 08:30:05 +00:00 committed by GitHub
commit e516f45e23
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 3 deletions

View file

@ -1694,6 +1694,9 @@ namespace Rando {
if (BottleRandomizerGetToItemID.contains(randoGet)) {
itemId = BottleRandomizerGetToItemID[randoGet];
}
if (randoGet == RG_BOTTLE_WITH_BIG_POE) {
BigPoes++;
}
mSaveContext->inventory.items[slot] = itemId;
} break;
case RG_RUTOS_LETTER:
@ -2255,7 +2258,8 @@ namespace Rando {
IsChild = false;
IsAdult = false;
//CanPlantBean = false;
BigPoeKill = false;
BigPoeKill = false;
BigPoes = 0;
BaseHearts = ctx->GetOption(RSK_STARTING_HEARTS).Get() + 1;