Hey guys, I have Stardew Valley but I don't have a mods folder since I got it off GOG games. How do I install it since the file is StaminaRegen.dll (so I don't know which xnb file to replace if I have to replace it)?
You need to install SMAPI, then run the it, the mods folder will be created for all your modding pleasure.
ok it's very strange, I got SMAPI, extracted and downloaded in my GOG games\Stardew Valley folder and got the StardewvalleyModdingApi.exe. Then, I extracted my mod, STamina Regen: https://github.com/Zoryn4163/SMAPI-Mods/releases/tag/1.3 into the mods folder. I started the Stardewvalleymoddingapi.exe, but my stamina isn't regenerating at all the api console says 2 mods are loaded the Trainermod from SMAPi and the StaminaRegen mod, but ingame my stamina isn't regenerating
Most likely, the original config included with the staminaregen is set to an initially low factor. I recommend installing Notepad++ (personal preference), but any .json editing tool should work. Once you have one, go to the modding folder to find a file named :"config.json", this is where the values for the mod are set. Edit it with, as I said before, a tool that can edit .json files. I hope this helps! Edit: The config.json file won't be created until you run SMAPI at least once with the mod installed.
ok, in the config, it says: { "RegenStaminaConstant": false, "RegenStaminaConstantIsNegative": false, "RegenStaminaConstantAmountPerSecond": 0.0, "RegenStaminaStill": false, "RegenStaminaStillIsNegative": false, "RegenStaminaStillAmountPerSecond": 0.0, "RegenStaminaStillTimeRequiredMS": 1000, "RegenHealthConstant": false, "RegenHealthConstantIsNegative": false, "RegenHealthConstantAmountPerSecond": 0.0, "RegenHealthStill": false, "RegenHealthStillIsNegative": false, "RegenHealthStillAmountPerSecond": 0.0, "RegenHealthStillTimeRequiredMS": 1000 } I also want my health to regen, so I changed it to: { "RegenStaminaConstant": true, "RegenStaminaConstantIsNegative": true, "RegenStaminaConstantAmountPerSecond": 1.0, "RegenStaminaStill": true, "RegenStaminaStillIsNegative": true, "RegenStaminaStillAmountPerSecond": 1.0, "RegenStaminaStillTimeRequiredMS": 3000, "RegenHealthConstant": true, "RegenHealthConstantIsNegative": true, "RegenHealthConstantAmountPerSecond": 1.0, "RegenHealthStill": true, "RegenHealthStillIsNegative": true, "RegenHealthStillAmountPerSecond": 1.0, "RegenHealthStillTimeRequiredMS": 3000 }
uh ok, it messed it up in that health and stamina either adds or substracts while doing nothing, so I changed it now to this: { "RegenStaminaConstant": true, "RegenStaminaConstantIsNegative": false, "RegenStaminaConstantAmountPerSecond": 1.0, "RegenStaminaStill": true, "RegenStaminaStillIsNegative": false, "RegenStaminaStillAmountPerSecond": 1.0, "RegenStaminaStillTimeRequiredMS": 3000, "RegenHealthConstant": true, "RegenHealthConstantIsNegative": false, "RegenHealthConstantAmountPerSecond": 1.0, "RegenHealthStill": true, "RegenHealthStillIsNegative": false, "RegenHealthStillAmountPerSecond": 1.0, "RegenHealthStillTimeRequiredMS": 3000 }
I tryed it and it works .... but: It's a bit to quick for me. To mutch a "Cheat". So I use this config chances. It's not sooo quick: { "RegenStaminaConstant": true, "RegenStaminaConstantIsNegative": false, "RegenStaminaConstantAmountPerSecond": 0.2, "RegenStaminaStill": true, "RegenStaminaStillIsNegative": false, "RegenStaminaStillAmountPerSecond": 0.2, "RegenStaminaStillTimeRequiredMS": 1000, "RegenHealthConstant": true, "RegenHealthConstantIsNegative": false, "RegenHealthConstantAmountPerSecond": 0.1, "RegenHealthStill": true, "RegenHealthStillIsNegative": false, "RegenHealthStillAmountPerSecond": 0.1, "RegenHealthStillTimeRequiredMS": 1000 }