[TakeABreak] Mod crashed on entry and might not work correctly. Technical details: Newtonsoft.Json.JsonReaderException: Can't parse JSON file at A:\SteamLibrary\steamapps\common\Stardew Valley\Mods\TakeABreak\config.json. This doesn't seem to be valid JSON. Technical details: Input string '0.5' is not a valid integer. Path 'HealthPerSecond', line 2, position 24. at StardewModdingAPI.Toolkit.Serialization.JsonHelper.ReadJsonFileIfExists[TModel](String fullPath, TModel& result) in SMAPI.Toolkit\Serialization\JsonHelper.cs:line 86 at StardewModdingAPI.Framework.ModHelpers.DataHelper.ReadJsonFile[TModel](String path) in SMAPI\Framework\ModHelpers\DataHelper.cs:line 50 at StardewModdingAPI.Framework.ModHelpers.ModHelper.ReadConfig[TConfig]() in SMAPI\Framework\ModHelpers\ModHelper.cs:line 101 at TakeABreak.ModEntry.Entry(IModHelper helper) in /home/krutonium/SDV-TakeABreak/TakeABreak/ModEntry.cs:line 19 at StardewModdingAPI.Framework.SCore.LoadMods(IModMetadata[] mods, JsonHelper jsonHelper, ContentCoordinator contentCore, ModDatabase modDatabase) in SMAPI\Framework\SCore.cs:line 1763
This officially completes regen! I had sitting & laying bed installed, now finally I can regen while loitering. <3 Thank you for updating this mod! ^_^
Hello I want to install this mod but before that I whould like to ask can you make the energy and health regen faster using the Generic Mod Config Menu ?
So I was able to make this work in a slightly roundabout way.
1. I did this, there's a new config option called HowOften that determines how often it will check if it should apply health 2. Happens kind of as a consequence of the first, it's only checking if the player moved since the last time it tried to apply health/stamina.
I also made Stamina a Float so you can apply less than or more than a whole number; but Health is an integer in the game so it's less flexable.
10 comments
[TakeABreak] Mod crashed on entry and might not work correctly. Technical details:
Newtonsoft.Json.JsonReaderException: Can't parse JSON file at A:\SteamLibrary\steamapps\common\Stardew Valley\Mods\TakeABreak\config.json. This doesn't seem to be valid JSON.
Technical details: Input string '0.5' is not a valid integer. Path 'HealthPerSecond', line 2, position 24.
at StardewModdingAPI.Toolkit.Serialization.JsonHelper.ReadJsonFileIfExists[TModel](String fullPath, TModel& result) in SMAPI.Toolkit\Serialization\JsonHelper.cs:line 86
at StardewModdingAPI.Framework.ModHelpers.DataHelper.ReadJsonFile[TModel](String path) in SMAPI\Framework\ModHelpers\DataHelper.cs:line 50
at StardewModdingAPI.Framework.ModHelpers.ModHelper.ReadConfig[TConfig]() in SMAPI\Framework\ModHelpers\ModHelper.cs:line 101
at TakeABreak.ModEntry.Entry(IModHelper helper) in /home/krutonium/SDV-TakeABreak/TakeABreak/ModEntry.cs:line 19
at StardewModdingAPI.Framework.SCore.LoadMods(IModMetadata[] mods, JsonHelper jsonHelper, ContentCoordinator contentCore, ModDatabase modDatabase) in SMAPI\Framework\SCore.cs:line 1763
Thank you for updating this mod! ^_^
I have a weird bug where my health will regenerate way past the bar for some reason? image is attached here to show the issue!
1. Ability to make recovery slower than 1 unit per second.
2. Configurable time the player must stand still before the regen begins.
1. I did this, there's a new config option called HowOften that determines how often it will check if it should apply health
2. Happens kind of as a consequence of the first, it's only checking if the player moved since the last time it tried to apply health/stamina.
I also made Stamina a Float so you can apply less than or more than a whole number; but Health is an integer in the game so it's less flexable.