Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LttP: fix single-player no-logic generation #3454

Merged
merged 2 commits into from
Jun 15, 2024

Conversation

Berserker66
Copy link
Member

What is this fixing or adding?

As far as I could tell, overworld_glitch_connections is a direct copy of no_logic_rules, and in single-player no-logic both get run, creating duplicated connections. Those dupes then trip the cache's checker.

How was this tested?

By seeing the gen no longer error and the playthrough looking correct. Which for no-logic is:
0: {}

I'd appreciate some no-logic players confirming this didn't break something unanticipated though.

If this makes graphical changes, please attach screenshots.

@Berserker66
Copy link
Member Author

This should fix #3438

@github-actions github-actions bot added the waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. label Jun 3, 2024
@Exempt-Medic Exempt-Medic added is: bug/fix Issues that are reporting bugs or pull requests that are fixing bugs. affects: release/blocker Issues/PRs that must be addressed before next official release. labels Jun 3, 2024
Copy link
Member

@NewSoupVi NewSoupVi left a comment

Choose a reason for hiding this comment

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

The code looks correct + this seems to allow it to generate at all, which is probably an improvement over it not generating

Not sure about unintended consequences, I don't play ALTTP

Also, I found one minor thing I wanted to mention

"""
Add OWG transitions to no logic player's world
"""
create_no_logic_connections(player, world, get_boots_clip_exits_lw(world.mode[player] == 'inverted'))
Copy link
Member

Choose a reason for hiding this comment

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

create_no_logic_connections is now unused as well, idk if you wanna remove that too

@Berserker66 Berserker66 merged commit df94271 into main Jun 15, 2024
26 checks passed
@Berserker66 Berserker66 deleted the lttp_singleplayer_nologic branch June 15, 2024 17:18
sflavelle pushed a commit to sflavelle/Archipelago-tgc that referenced this pull request Jun 20, 2024
qwint pushed a commit to qwint/Archipelago that referenced this pull request Jun 24, 2024
GameWyrm pushed a commit to GameWyrm/Archipelago-GW that referenced this pull request Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects: release/blocker Issues/PRs that must be addressed before next official release. is: bug/fix Issues that are reporting bugs or pull requests that are fixing bugs. waiting-on: peer-review Issue/PR has not been reviewed by enough people yet.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants