mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-20 05:13:39 -07:00
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:
parent
66844fb220
commit
e516f45e23
3 changed files with 7 additions and 3 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue