Stardew Valley

File information

Last updated

Original upload

Created by

Yyeahdude

Uploaded by

Yyeahdude

Virus scan

Safe to use

About this mod

Adds a complete hunger system that dynamically restores or drains the players stamina based on location time, and house size. Also comes with an optional new 'pen pal' that occasionally sends you hints and food in the mail, who goes by the name Hunger.

Requirements
Permissions and credits
Donations
Summary:
Whether you've ever wondered why your farmer never got hungry despite living in a world full of food choices or are simply are looking for a slightly more challenging rewarding and realistic experience, Hunger is the mod for you. 

Hunger is a SMAPI Mod that introduces a system that slowly drains your stamina throughout the day while you are out working, and restores it while you are relaxing in your home. The amounts of draining and regenerating are based on conditions such as location, time of day, and the size of house you have(for balance later in game). All the values can be tweaked or turned off entirely with a config file. In addition to the new hunger system you'll be greeted by a new PEN PAL FRIEND named Hunger who will provide you with tips and specifically chosen food items to get you started on a new play through. The original purpose of this mod was to both make the game more challenging as well as giving the player a real reason to cook and eat food. This was especially useful while I was modifying different cooked foods and creating a better system for acquiring recipes that are not quite polished enough for release but might be one day.   


Change-log:
1.0:
Initial release
1.0.1:
-Fixed a bug causing stamina to drain in unintended areas including festivals, heart events, and mini games.
-Fixed late night stamina drain to start at 12:00 instead of 12:10.
-Underground Mine stamina drain now properly overrides late night stamina drain if you are in the mines after midnight. 
1.0.2:
-Fixed a bug causing stamina to drain when the game window isn't focused.
-Added a new lower drain level for when your'e standing still.
-Reworked how the drain amount is calculated. While the amounts are still roughly the same, they now stack together multiplicative instead of there being static drain amounts for different locations. EX: base drain amount per hour(3) * walking multiplier(2) * inside mine multiplier(2) = 12.
-changes to config file reflecting the new more dynamic calculation method including manual adjustments if you are using a timespeed mod as well.
1.2.1:
-Updated for Stardew Valley 1.3 Beta.
-Changed mail file to be a content pack rather than an xnb replacement. (Now requires Content Patcher)
1.3.0:
- Updated for Stardew 1.4
- Combined mail content pack and smapi mod into one single mod with a new option in the config file to enable/disable the optional mail Hunger sends you.
1.3.1:
-Fixed multiplayer: players should now only regen energy in their own house
- Added config option to change name of person who sends you hunger related mail (Default is still "Hunger") 


Remember To Check Your Mail:
  • Meet your new best friend affectionately named Hunger.
  • Hunger sends you tips and hand picked food items for different events throughout your first year.
  • IMPORTANT: if you don't click the food in the mail and instead exit out of the menu you will lose it.
  • Currently only sends mail during the first year to avoid redundancy of dialogue but I'm considering adding reoccurring mail events to reward players in their other years in a future update.


Default Values And Config:
A config.json file is included but a new will be created in the same folder as Hunger.dll the first time you run Stardew Valley if you happen to want to reset the default values. This config file will let you individually adjust all the values that go into calculating how much your player should be gaining or draining at any time. By Default the drain for the first farm house with no upgrades starts off fairly slow in order for players to establish their farm and character. With the addition of the kitchen in the first house upgrade the drain value jumps a bit since you can now cook your own food and it also takes more energy to tend to a larger house. From here the next two upgrade's hunger cost jump less drastically to simply balance the later game and acquiring Stardrops.

It is also worth noting I play with a time speed Mod that only modifies the time in mines and caves to half speed so the balance may be a little off.
The last option in the config file called "realSecondsPerInGame10Minutes" fixes this as you can now manually adjust this amount if you play with a speed other than the games default 7 real seconds per in game 10 minutes.


My Other Mods

Please feel free to contact me with issues or balance suggestions.