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: Reduce Deprecated Calls #4129

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

nicholassaylor
Copy link
Contributor

What is this fixing or adding?

Goes through the majority of ALTTP and updates options calls to use the appropriate access API.

A few files were skipped over for various reasons

  • Rom.py was skipped due to unfamiliarity with code
  • StateHelpers.py was skipped due to use of CollectionState
  • Majority of Bosses.py was skipped due to use of CollectionState

An effect of this change, the log files for unittests are significantly shorter going from ~2000 lines to ~450 lines.

Could potentially merge into #3764 if that is desired, however I believe that this PR works without it

How was this tested?

Running all unittests
Running Generate with seed=1 and comparing patch files and spoiler logs

@github-actions github-actions bot added the waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

1 participant