mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-14 02:27:21 -07:00
Apply better big poe logic (#5245)
This commit is contained in:
parent
035c03bd85
commit
c38205ddcf
6 changed files with 26 additions and 8 deletions
|
@ -407,6 +407,7 @@ namespace Rando {
|
|||
}
|
||||
}
|
||||
|
||||
//RANDOMISERTODO intergrate into HasItem
|
||||
bool Logic::CanOpenOverworldDoor(RandomizerGet key) {
|
||||
if (!ctx->GetOption(RSK_LOCK_OVERWORLD_DOORS)) {
|
||||
return true;
|
||||
|
@ -945,7 +946,7 @@ namespace Rando {
|
|||
|
||||
uint8_t Logic::BottleCount() {
|
||||
uint8_t count = 0;
|
||||
if (CouldEmptyBigPoes){
|
||||
if (CouldEmptyBigPoes && !AreCheckingBigPoes){
|
||||
for (int i = SLOT_BOTTLE_1; i <= SLOT_BOTTLE_4; i++) {
|
||||
uint8_t item = GetSaveContext()->inventory.items[i];
|
||||
switch (item) {
|
||||
|
@ -2237,7 +2238,8 @@ namespace Rando {
|
|||
//Bottle Count
|
||||
Bottles = 0;
|
||||
NumBottles = 0;
|
||||
CanEmptyBigPoes = false;
|
||||
CanEmptyBigPoes = false;
|
||||
CouldEmptyBigPoes = false;
|
||||
|
||||
//Drops and Bottle Contents Access
|
||||
NutPot = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue