Open
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. |
Author
|
@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 |
Author
|
@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 file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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!