Talk:Energy

From Stardew Valley Wiki
Jump to navigation Jump to search
This talk page is for discussing Energy.
  • Sign and date your posts by typing four tildes (~~~~).
  • Put new text below old text.
  • Be polite.
  • Assume good faith.
  • Don't delete discussions.

Restoration

I'm slightly confused about sleeping energy restoration. On Day Cycle page it says the player awakens with about 50% if they sleep right before 2am, while on Energy it says After retiring exhausted at 1:50AM, the player awakens with 12.5% of maximum energy. So how exactly does the 50% reduction for exhaustion work? --IBugOne (talk) 12:57, 21 March 2021 (UTC)

You will awake with 50% when passing out at 2 am or going to sleep before/at 0 am and being exhausted. List of % Energie at:
  • 0 am=100%
  • 0:10 am=97.5%
  • 0:20 am=95%
  • 0:30 am=92.5%
  • 0:40 am=90%
  • 0:50 am=87.5%
  • 1 am=75%
  • 1:10 am=72.5%
  • 1:20 am=70%
  • 1:30 am=67.5%
  • 1:40 am=65%
  • 1:50 am=62.5
  • 2 am=50%

Every 10 minutes aftere 0 am you will lose 2.5% Energie the next morning. But at 0:50 and 1:50 am to 1:00 and 2:00 am you will lose 12.5%. Does this answer your question? Botautal (talk) 23:52, 4 April 2021 (UTC)

Energy Restoration

I was curious on what the restoration rates for the spa and multiplayer bed were, so I dug through the decompiled source code. I found the related code and discovered the rates.

I was considering adding a "Restoration" header right after "Leveling Up" that would have the information on the spa and multiplayer beds. The related source code could go under it too in collapsible fields. QtheConqueror (talk) 15:28, 2 April 2021

You can make the section, but the code doesn't need to be placed on the page, you can use reference format to state the name of the class/method where the calculations can be found. One example is on the Fishing page, I'm sorry it's not the most simple example, but it does show the syntax. All you have to do is say "See class::method in the game code" in the reference. Thanks! margotbean (talk) 19:38, 2 April 2021 (UTC)