Xen0nex
Tiller
Thanks!Ok I've uploaded the code to GitHub and also added a release so people can download it directly from there: https://github.com/gamerchrisjd/JahangmarStardew/releases/tag/v1.1.1
The only change I made was to the manifest file to follow the SMAPI recommendations for unofficial updates - the version number is now 1.1.1-unofficial.2
Hopefully this is everything that is needed for SMAPI to be updated and the mod be available to download from GitHub.
I also did a little more tinkering:
- With the existing system it always rounds XP up to a whole number, however when using Experience Factors below 1 this sort of caps how low you can reduce XP gains, as once an action is giving 1 XP you can't reduce it any more than that. I changed the default behavior to instead convert any partial XP into a % chance to gain +1 XP, so 1.5 XP becomes 1 XP with a 50% chance for an additional +1 XP, or 0.25 XP becomes 0 XP with a 25% chance for an additional +1 XP, etc. This should make actual XP gains more accurately reflect the chosen Experience Factors set in the config.
- In case people relied on the old behavior, I put in a config setting (also integrated into GMCM) to instead always round partial XP as before. However, I changed it so that instead of always rounding partial XP up, it now rounds to the closest whole number. I added an exception that if the nearest whole number is 0, it will instead round up to 1 XP, so overall it will be quite similar to before.
Attachments
-
20.3 KB Views: 80
-
228.6 KB Views: 91
Last edited: