Skip to content

Conversation

@Pathoschild
Copy link

@Pathoschild Pathoschild commented May 25, 2019

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

  • Added support for the new sprinkler upgrades like the pressure nozzle and enricher.
  • Added crossplatform compatibility with reworked Harmony patching.¹
  • Added automatic compatibility with sprinkler mods by patching the new obj.IsSprinkler() and obj.GetBaseRadiusForSprinkler() methods.
  • Added compatibility with custom locations by using Harmony patches instead of location scanning.
  • Added Korean translations (thanks to @S2SKY!).
  • Fixed various errors reported by users.
  • Fixed sprinklers not un-scarecrowed when the option is disabled.
  • Fixed non-prismatic tool sprites overwritten, which affected compatibility with other mods.
  • Fixed translations not updated when the player switches language.

Maintenance

  • Updated for Stardew Valley 1.3.36, 1.4 (thanks to @Seawolf87!), 1.5, and 1.5.5.
  • Updated for SMAPI 3.14.
  • Updated the mod build package and migrated to the new .csproj format.
  • Bumped the manifest.json versions for release.
  • Fixed hardcoded assembly references.
  • Removed old sprinkler index migration.
  • Removed old assets/old files (still available in the commit history).
  • Internal refactoring.

¹ (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!

Pathoschild and others added 11 commits May 25, 2019 12:54
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
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).
@bingfengkushao
Copy link

This mod makes the mod "no crows" invalid.I wonder if you have changed the code of crow.

@Pathoschild
Copy link
Author

@bingfengkushao I replied in the issue you opened.

@Locien
Copy link

Locien commented Mar 23, 2024

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.

@XiNaru
Copy link

XiNaru commented Mar 24, 2024

hey patho can you pls update prismatic tools and pelican fiber for 1.6? that were very nice

@Pathoschild
Copy link
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.

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.

5 participants