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: Refactor buildings to use content packs #4239

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

Conversation

Jouramie
Copy link
Contributor

@Jouramie Jouramie commented Nov 25, 2024

What is this fixing or adding?

This rewrites the buildings and building progression feature to use the content packs and feature APIs introduced with the 6.x.x release. This will make it easier in the future to introduce new buildings, and is a step forward to the introduction of animals in content packs that will be necessary for the integration of the new SVE content.

This also adds a Pet Bowl in the start inventory of all games, which is a stepping stone in supporting the Pet Bowl randomization.

This PR also contain the changes from #3662 and #4085, which have been open for a long time now and not merged. Sadly, I could not implement this PR without those previous changes. I will close the other PRs if this is merged first. Not anymore, both were merged.

There are also a bunch of improvement to test readability.

How was this tested?

Unit tests, and generated a few games with the different building settings to make sure animal related locations are correctly placed after the progressive buildings in the spoiler. Validated that the rules described by with our explain are the same or similar to the previous rules for the blueprint locations.

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 Nov 25, 2024
@agilbert1412 agilbert1412 added the is: refactor/cleanup Improvements to code/output readability or organizization. label Nov 25, 2024
@Jouramie Jouramie force-pushed the StardewValley/buildings-to-content-packs branch from 981027b to 66ec922 Compare December 1, 2024 03:19
Jouramie added a commit to agilbert1412/Archipelago that referenced this pull request Dec 1, 2024
@Jouramie Jouramie force-pushed the StardewValley/buildings-to-content-packs branch from 32ba7ad to 61cfeb2 Compare December 9, 2024 03:54
Jouramie added a commit to agilbert1412/Archipelago that referenced this pull request Dec 9, 2024
@agilbert1412 agilbert1412 self-requested a review December 17, 2024 03:13
Jouramie added a commit to agilbert1412/Archipelago that referenced this pull request Dec 17, 2024
worlds/stardew_valley/content/vanilla/pelican_town.py Outdated Show resolved Hide resolved
worlds/stardew_valley/early_items.py Show resolved Hide resolved
worlds/stardew_valley/logic/building_logic.py Outdated Show resolved Hide resolved
worlds/stardew_valley/logic/grind_logic.py Outdated Show resolved Hide resolved
worlds/stardew_valley/rules.py Show resolved Hide resolved
worlds/stardew_valley/test/TestCrops.py Outdated Show resolved Hide resolved
worlds/stardew_valley/test/rules/TestBooks.py Outdated Show resolved Hide resolved
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: 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.

2 participants