-
Notifications
You must be signed in to change notification settings - Fork 18
Ongoing development #3
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
base: master
Are you sure you want to change the base?
Conversation
SMAPI automatically handles code changes between Linux/Mac and Windows, but it can't do that for type references in attributes. Using Harmony's API instead means the mod will work seamlessly across Linux/Mac/Windows without needing separate builds.
Thanks to S2SKY!
The new mod build package version... - adds support for SMAPI 3.0; - deploys 'assets' folders automatically; - can add a Harmony reference automatically using <EnableHarmony>.
Update for compatibility with SMAPI 3.0 and SDV 1.4
Update for SMAPI 3.0
This enables support for the new sprinkler addons like the enricher and pressure nozzle, and simplifies mod compatibility (since other mods can now use obj.isSprinkler() and obj.GetBaseRadiusForSprinkler() instead of calling the API).
|
This mod makes the mod "no crows" invalid.I wonder if you have changed the code of crow. |
|
@bingfengkushao I replied in the issue you opened. |
Stardew Valley 1.5.5 migrated to MonoGame, 64-bit, and .NET 5.
This migrates to Harmony 2.x and the new content API.
|
Is there any chance you might update this mod for 1.6? I'd do it myself it I could but I don't know how to. |
|
hey patho can you pls update prismatic tools and pelican fiber for 1.6? that were very nice |
|
@Locien @XiNaru There's an updated version for 1.6 at Prismatic Tools Continued (but none for Pelican Fiber yet). You can check the SMAPI compatibility list to find updates for any C# mod. |
This PR has ongoing development since the last update in October 2018 to maintain compatibility with the latest versions, update for new SMAPI features, and make minor improvements. Once this is merged, I can provide a compiled package to release if you'd like.
Changes
Improvements
obj.IsSprinkler()andobj.GetBaseRadiusForSprinkler()methods.Maintenance
.csprojformat.manifest.jsonversions for release.assets/oldfiles (still available in the commit history).¹ (SMAPI automatically handles code changes between Linux/Mac and Windows, but it can't do that for type references in attributes. Using Harmony's API instead means the mod will work seamlessly across Linux/Mac/Windows without needing separate builds.)
Testing
The unofficial updates for Prismatic Tools have over 35,000 downloads, so the changes should be pretty stable. See download counts for the most recent releases: unofficial.12,
unofficial.11, unofficial.10, unofficial.9, unofficial.8, unofficial.7, unofficial.6, unofficial.5, unofficial.4, unofficial.3, unofficial.2, unofficial.1.Let me know if you want me to change anything!