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

[SeedInfo] Update to 1.6 #137

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Conversation

FlyingTNT
Copy link

See commit message description for a list of changes.

Changes the ShopMenu constructor arguments to reflect the new constructors (in CodePatches).
Methods.GetCrop, is updated to use the new Data/Crops format.
Methods.GetPickle now uses ObjectDataDefinition methods, to generate artisan prices, rather than manually implementing every case.
Methods.GetKeg also uses ObjectDataDefinition methods for wines and juices, and it uses the new Data/Machines to generate the results for the special cases (like hops -> pale ale).
Adds a config option for flowers' GetKeg to return Mead, rather than nothing.
Methods.NeedFertilizer now uses string ItemIds, and uses the new Data/Crops to get crop info.
Methods.DrawInfo now dynamically gets items' spritesheet (rather than hardcoding it to the object sprite sheet) to accommodate items with sprites not on that sheet (before this, it showed jellies as pufferfish and wines as golden signs).
In order to avoid conflicts, now uses qualified item ids, rather than parent sheet indexes as the key. Using the sheet indexes caused certain modded items' info to not be displayed.
@ER-95
Copy link

ER-95 commented Apr 1, 2024

@FlyingTNT Is there any chance you could post a compiled version of this please? I'm not quite sure how to do this myself!

@FlyingTNT
Copy link
Author

See the attachments on this post.

Adds support for the new dehydrator item.
Adds config options to allow the player to choose whether to display each item type. Additionally, adds a config option to divide the dehydrator item costs by five to account for the fact that it takes five items as input.
Fixes an error where the text that no fertilizer was necessary and the text that no fertilizer could save the crop would not display.
Provided by kanadeyoru on Nexus Mods
Provided by me
Provided by huangn01 on Nexus
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.

2 participants