Changes

m
→‎Maximum Energy: removed word, language fix
Line 1: Line 1:  
{{Basics-top}}
 
{{Basics-top}}
<div class="thumbinner" style="float: right; width: 65px; margin-left: 12px; text-align: center; font-size: smaller; padding-top: 6px;">[[File:Exhausted.png]]<p>''Exhaustion indicator''</p></div>
+
<div class="thumbinner" style="float: right; width: 65px; margin-left: 12px; text-align: center; font-size: smaller; padding-top: 6px;">
'''Energy''' is consumed by using tools, fishing, combat or eating negative energy food. It can be replenished by eating food or standing in the [[Spa]].  In a [[Multiplayer]] game, players may slowly restore energy by standing in bed. (If the "Go to bed" dialogue pops up, answer "No", and remain in place.)
+
[[File:EnergyBar.png]]<p>''A slightly depleted energy bar''</p></div>
   −
Eating a [[Stardrop]] will permanently increase maximum energy by 34 points.
+
A player requires '''Energy''' to use [[tools]], with the exception of [[scythe]]s, [[weapons]], and [[pans]]. Picking up or moving a chest with your empty hands also requires energy. Currently available energy is indicated on the player's energy bar, which reflects the decreases as a day progresses.
   −
Players become exhausted when their energy drops to 0 or below. At this point, they are unable to run. Eating something will make them able to run again, but the exhaustion indicator will persist through the day. Persisting in energy consuming activities will make them pass out, ending the day.  
+
Energy can be replenished up to its [[#Maximum Energy|maximum]] by eating positive-energy food. Consuming negative-energy foods such as [[Sap]] or [[Void Mayonnaise]] reduces energy. To consume food, put it on the hotbar (the top row of inventory) and press action ({{key|right-click}}) with it. A notification in the bottom left of the screen will display energy and health gained by eating food. Typically, more expensive food provides more energy than cheaper food items.
   −
Consuming [[Harvey's Clinic|Muscle Remedy]] will remove the exhaustion indicator. If a player is [[Marriage|married]], kissing his/her spouse will remove the exhaustion indicator too; this only works for the first kiss of the day.  
+
Standing in the [[Spa]] also restores energy at 10 points per second.<ref name="sparegenerationspeed" /> In a [[Multiplayer]] game, players may slowly restore energy by standing in bed at 2 points per second.<ref name="bedregenerationspeed" /> (If the "Go to bed" dialogue pops up, answer "No", and remain in place.)
   −
To consume food, put it on the hotbar (the top row of inventory) and {{key|right-click}} it. A notification in the bottom left of the screen will display energy and health gained by eating food. Typically, more expensive food will provide more energy than cheaper food items.
+
==Exhaustion==
 +
<div class="thumbinner" style="float: right; width: 65px; margin-left: 12px; text-align: center; font-size: smaller; padding-top: 6px;">
 +
[[File:Exhausted.png]]<p>''Exhaustion indicator''</p></div>
 +
The player becomes exhausted upon reaching 0 energy, indicated by an X dialogue bubble above the player's head and the notice "You feel sluggish from over-exertion." The player's movement speed is significantly reduced, weapons and tools take longer to use, and [[Tools#Fishing Poles|Fishing Poles]] can no longer be cast. Other energy-consuming tools can be used, but the player's energy level becomes negative. At -15 energy, the player passes out, ending the day. If the player passes out anywhere outside the house, the player will lose 10% of their money, up to {{Price|1000}}.
   −
Sleeping at the end of the day will fully restore the player's energy bar. If the player passes out or is exhausted when they go to bed, they'll wake up in the morning with less than 100% energy (roughly 50% - 75% energy). If the player passes out and is found by a Joja Team Member, a medical team will be summoned and the player will be charged up to {{price|1000}} for the service.
+
Increasing energy back above zero (''e.g.,'' by eating food) will restore player movement and allow Fishing Poles to be cast again, but the player remains exhausted for the remainder of the day. There is no in-game indicator of this lingering exhaustion, but it results in a 50% reduction in that night's energy restoration. This after-effect can be avoided by curing exhaustion, either by consuming [[Harvey's Clinic|Muscle Remedy]], or (if [[Marriage|married]]) kissing the player's spouse for the first time in the day.<ref name="daily_kiss"/>
   −
The Player starts the game with 270 energy. Up to a maximum of 508 energy can be achieved after eating every [[Stardrop]]. Certain [[Cooking|food]] can temporarily increase max energy.
+
A few warning signs exist to notify the player before imminent exhaustion. If energy is less than 20, any energy-consuming activity makes the energy bar shake and emit beads of sweat. When energy first falls below 15, a notice appears stating "You're starting to feel exhausted." These are warnings, not indicators of true exhaustion, and have no effect on player activities or overnight energy restoration.
    
==Sleeping==
 
==Sleeping==
Sleeping restores the player's energy level depending on being exhausted or the time the player goes to bed. The player's energy will be restored to 100%, but this percentage is reduced to 50% if exhausted. Going to bed after 12:00AM reduces that by 2.5% per 10 minutes up until 01:00AM. Going to bed after 01:00AM reduces the new energy level by 25%, plus another 2.5% per 10 additional minutes. If the new energy level is below the player's energy level at the time they went to sleep, the player's energy level left unchanged and not reduced.
+
Sleeping restores the player's initial energy level for the next day. Going to bed at or before 12:00AM normally restores energy to its maximum. However, if the player goes to bed late, passes out, or is exhausted, the amount of energy regained is reduced.
   −
For example, sleeping at 12:10AM will result in the player waking up with 97.5% of their maximum energy. Going to bed exhausted at 1:50AM will restore the player to 12.5% of their maximum energy.
+
If the player goes to sleep exhausted, sleep removes the exhaustion, but energy restoration is reduced by 50%.
   −
==Leveling Up==
+
Energy restoration is also reduced if the player goes to bed after 12:00AM. This reduction stacks additively with the exhausted penalty.
Levelling up a skill during the day will result in the player being restored to 100% energy when the skill increase screen is shown, which is after the sleeping calculation is performed. After the overnight level-up screen is shown, the next day the player will wake up with 100% energy.
+
 
 +
The amount of energy reduction has been calculated in the below table.<ref name="sleep_calculation"/>
 +
 
 +
{| class="wikitable"
 +
|+ Late to Bed Penalty
 +
|-
 +
! Time !! Energy Loss
 +
|-
 +
| 12:10AM || -2.5%
 +
|-
 +
| 12:20AM || -5%
 +
|-
 +
| 12:30AM || -7.5%
 +
|-
 +
| 12:40AM || -10%
 +
|-
 +
| 12:50AM || -12.5%
 +
|-
 +
| 1:00AM || -25%
 +
|-
 +
| 1:10AM || -27.5%
 +
|-
 +
| 1:20AM || -30%
 +
|-
 +
| 1:30AM || -32.5%
 +
|-
 +
| 1:40AM || -35%
 +
|-
 +
| 1:50AM || -37.5%
 +
|-
 +
| 2:00AM || -50%
 +
|}
 +
 
 +
If the new day's calculated initial energy level is lower than the player's actual energy level at the time they went to sleep, the player's energy level is left unchanged and not reduced, unless they are exhausted.
 +
 
 +
A player cannot start a day with less than 1 energy.
 +
 
 +
===Leveling Up===
 +
The morning after a skill is leveled up (or after changing professions at the [[The Sewers#Statue Of Uncertainty|Statue Of Uncertainty]]), the player awakens with full energy, regardless of the sleep or exhaustion calculation.
 +
 
 +
==Restoration==
 +
Besides sleeping, certain actions can be taken to restore energy. These include: using the [[Spa]], being in a [[Furniture#Beds|Bed]] while playing [[Multiplayer]], and eating certain edible items.
 +
 
 +
* While relaxing in the spa or swimming, the player's energy and health increase by 1 every 100ms until both are full, if they have not moved recently.<ref name="swimming"/>
 +
* While being in a bed in multiplayer, the player's energy and health increase by 1 every 500ms until both are full.<ref name="multiplayer_bed"/>
 +
 
 +
==Maximum Energy==
 +
The player starts the game with 270 maximum energy. Eating a [[Stardrop]] permanently increases maximum energy by 34 points. Eating every Stardrop available in the game permanently increases maximum energy to 508.
 +
 
 +
Temporary increases in maximum energy are also possible. Up to two Max Energy [[#Buffs|buffs]] can be simultaneously active: one from a drink (namely, [[Green Tea]]) and one from a [[Cooking|food]]. The largest possible temporary value of maximum energy is 588.
 +
{{Recipes|header}}
 +
{{:Bean Hotpot|RecipeRow}}
 +
{{:Complete Breakfast|RecipeRow}}
 +
|-
 +
|[[File:Green Tea.png|center]]
 +
|[[Green Tea]]
 +
|{{Description|Green Tea}}
 +
|{{name|Tea Leaves|1}}
 +
|data-sort-value="0013"|{{Energy|13}}{{Health|5}}
 +
|{{name|Max Energy|+30}}
 +
|{{duration|4m 12s}}
 +
|Produced in a [[Keg]]
 +
|data-sort-value="0100"|{{Price|100}}
 +
{{:Lobster Bisque|RecipeRow}}
 +
{{:Red Plate|RecipeRow}}
 +
{{:Super Meal|RecipeRow}}
 +
{{:Tom Kha Soup|RecipeRow}}
 +
{{Recipes|footer}}
 +
 
 +
==Infinite Energy==
 +
Energy requirement for tools can be removed by [[Tools#Tool enchantments|enchanting]] them. The '''Efficient''' enchantment causes no energy drain while the tool is being used.
 +
 
 +
It is also possible to obtain infinite energy for a whole day by using the [[Statue Of Blessings]] and obtaining [[Statue Of Blessings#List of Blessings|Blessing of Energy]]. This blessing is given at random, so there is no guarantee you will get it for a specific day.
 +
 
 +
==References==
 +
<references>
 +
<ref name="daily_kiss">The effects of the first kiss in a day are handled in <samp>NPC::checkAction</samp>, specifically in <samp>if (!this.hasBeenKissedToday.Value)</samp>.</ref>
 +
<ref name="sleep_calculation">Energy amounts for the next day are calculated in <samp>Farmer::dayupdate</samp>, specifically starting at <samp>oldStamina = this.Stamina</samp>.</ref>
 +
<ref name="swimming">The effects of the [[Spa]]/swimming are handled in <samp>Farmer::updateCommon</samp>, specifically in <samp>if (this.swimming)</samp>. It Checks whether the player has not moved in 800ms and at least 100ms has passed and increases health and energy by 1.</ref>
 +
<ref name="multiplayer_bed">The effects of a multiplayer bed are handled in <samp>Farmer::Update</samp>, specifically in <samp>if (this.isInBed && Game1.IsMultiplayer && Game1.shouldTimePass(false))</samp>. It Checks whether at least 500ms has passed and increases health and energy by 1.</ref>
 +
    <ref name="sparegenerationspeed">See <samp>Farmer::updateCommon</samp> in the game code.</ref>
 +
    <ref name="bedregenerationspeed">See <samp>Farmer::Update</samp> in the game code.</ref>
 +
</references>
    
==History==
 
==History==
{{history|1.3|Added energy regen while standing in bed for multiplayer. Removed exploit that allowed players to bypass "passing out" by clicking on the journal icon.}}
+
{{History|1.3.27|Added energy regeneration while standing in bed for multiplayer. Removed exploit that allowed players to bypass "passing out" by clicking on the journal icon.}}
 +
{{History|1.4|All level-ups (including levels 5 and 10) now restore 100% energy.}}
 +
{{History|1.6|Added reference to Blessing of Energy.}}
    
[[Category:Game mechanics]]
 
[[Category:Game mechanics]]
Line 30: Line 117:  
[[de:Energie]]
 
[[de:Energie]]
 
[[es:Energía]]
 
[[es:Energía]]
 +
[[fr:Énergie]]
 +
[[it:Energia]]
 
[[ja:エナジー]]
 
[[ja:エナジー]]
 +
[[ko:기력]]
 +
[[hu:Energia]]
 
[[pt:Energia]]
 
[[pt:Energia]]
 
[[ru:Энергия]]
 
[[ru:Энергия]]
 +
[[tr:Enerji]]
 
[[zh:能量]]
 
[[zh:能量]]
1

edit