Skip to content

Fix GF Break Room Pot Logic#5223

Merged
aMannus merged 1 commit intoHarbourMasters:developfrom
A-Green-Spoon:fix/gf-pot-logic
Mar 27, 2025
Merged

Fix GF Break Room Pot Logic#5223
aMannus merged 1 commit intoHarbourMasters:developfrom
A-Green-Spoon:fix/gf-pot-logic

Conversation

@A-Green-Spoon
Copy link
Contributor

@A-Green-Spoon A-Green-Spoon commented Mar 26, 2025

The break room pots are only accessible as adult (without a trick - not yet implemented), and only reasonably with a way past the guards.

Build Artifacts

LOCATION(RC_GF_GS_TOP_FLOOR, logic->IsAdult && (logic->CanJumpslashExceptHammer() || logic->CanUse(RG_FAIRY_SLINGSHOT) || logic->CanUse(RG_BOOMERANG) || logic->HasExplosives() || logic->CanUse(RG_FAIRY_BOW) || logic->CanUse(RG_HOOKSHOT) || logic->CanUse(RG_DINS_FIRE)) && (logic->HasItem(RG_GERUDO_MEMBERSHIP_CARD) || logic->CanUse(RG_FAIRY_BOW) || logic->CanUse(RG_HOOKSHOT) || logic->CanUse(RG_HOVER_BOOTS) || ctx->GetTrickOption(RT_GF_KITCHEN) || ctx->GetTrickOption(RT_GF_JUMP)) && logic->CanGetNightTimeGS()),
LOCATION(RC_GF_BREAK_ROOM_POT_1, logic->CanBreakPots()),
LOCATION(RC_GF_BREAK_ROOM_POT_2, logic->CanBreakPots()),
LOCATION(RC_GF_BREAK_ROOM_POT_1, ((logic->IsAdult && logic->HasItem(RG_GERUDO_MEMBERSHIP_CARD)) || logic->CanUse(RG_FAIRY_BOW) || logic->CanUse(RG_HOOKSHOT)) && logic->CanBreakPots()),
Copy link
Contributor

@serprex serprex Mar 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this reads oddly, assuming equip swap, should IsAdult apply more broadly?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CanUse covers both HasItem and IsAdult for both Bow and Hookshot, so IsAdult is applied to all three pieces. I believe there are commented placeholders in the CanUse switch statement for future equip swap implementation.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To add, from what I gathered you can't even get to the break room if you're not adult, hence why the adult check is needed with the card. I'm sure this will get refined with the gerudo fortress area split.

@aMannus aMannus merged commit 006650d into HarbourMasters:develop Mar 27, 2025
5 checks passed
@A-Green-Spoon A-Green-Spoon deleted the fix/gf-pot-logic branch April 13, 2025 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants