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

Stardew Valley: add assert_reach_region_* for better tests #4556

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Jouramie
Copy link
Contributor

What is this fixing or adding?

  • Add an assert_reach_region_* to more easily assert that a region can be reached from a given state. Will help with this comment Stardew valley: Fixed Aurora Vineyard tablet logic #4512 (comment).
  • Allow passing str for location name to assert_reach_location_*, so we do not need to find the location in the multiworld to assert on it.

How was this tested?

Not used yet, so not tested.

If this makes graphical changes, please attach screenshots.

N/A

@github-actions github-actions bot added the waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. label Jan 26, 2025
Copy link
Collaborator

@agilbert1412 agilbert1412 left a comment

Choose a reason for hiding this comment

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

Indeed this looks useful!

@agilbert1412 agilbert1412 added is: refactor/cleanup Improvements to code/output readability or organizization. waiting-on: core-review Issue/PR has been peer-reviewed and is ready to be merged or needs input from a core maintainer. and removed waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. labels Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is: refactor/cleanup Improvements to code/output readability or organizization. waiting-on: core-review Issue/PR has been peer-reviewed and is ready to be merged or needs input from a core maintainer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants