Changes

5,740 bytes added ,  30 April
→‎Daily Luck: add probability of perfect/worst luck, mention bug with the "absolutely neutral" message (maybe this should be moved above the table? not sure)
Line 1: Line 1:  +
{{Spoiler}}
 
[[File:Fortune Teller.png|Fortune Teller|right|thumb]]
 
[[File:Fortune Teller.png|Fortune Teller|right|thumb]]
'''Luck''' is a statistic that affects many different aspects of the game, such as the drop rates of [[Minerals#Geodes|geodes]] and chance of getting treasure from [[Fishing]]. There are two kinds of luck: Daily Luck, which is determined by the game, and Luck Buffs gained from eating certain [[Cooking|food]].
+
'''Luck''' [[File:Luck.png|24px]] is a statistic that affects many different aspects of the game, such as the chance of finding [[Minerals#Geodes|geodes]] and chance of getting treasure from [[Fishing]]. There are several sources of luck: daily luck determined by the game, [[buffs]] gained from eating certain [[Cooking|food and drink]], a [[Special Charm]] which gives a small permanent luck boost, and the [[Lucky Ring]].
    
==Daily Luck==
 
==Daily Luck==
The base value for daily luck is a randomly generated number from -0.1 to 0.1.<ref name="luck" /> If you have the [[Special Charm]], the value is increased by 0.025. Daily luck does not change if the day is restarted, but it can change if you replay the previous day.
+
The base value for daily luck is a randomly generated number from -0.1 (unlucky) to 0.1 (lucky).<ref name="luck" /> The value is increased by 0.025 with the [[Special Charm]]. The value is used in numerous ways; though it looks like a percentage equal to 10%, it is in fact treated differently in every situation and may have a minuscule or enormous effect depending on the activity.
   −
You can check your daily luck by right-clicking on the [[Television]] and selecting "Fortune Teller." The Fortune Teller will give an indication of the daily luck stat modifier. Luck is not affected by viewing the Fortune Teller Television Program (''i.e.'', the luck value is not neutral if the player does not view the program, the luck value remains constant regardless.)
+
Daily luck can be checked by right-clicking on the [[Television]] and selecting "Fortune Teller." The Fortune Teller will give an indication of the daily luck stat modifier. Luck is determined at the start of the day and is not affected by choosing to view the Fortune Teller Television Program. Daily luck does not change if the day is restarted, but it can change by replaying the previous day.
 
  −
A 0.01 increase in daily luck generally means a random event is about 1% more likely to happen.
      
Before revealing the luck message, one of the following messages is shown randomly (the first two being gender-specific). They do not affect the luck in any way.
 
Before revealing the luck message, one of the following messages is shown randomly (the first two being gender-specific). They do not affect the luck in any way.
Line 17: Line 16:  
{{Quote|Welcome to Welwick's Oracle... the ONLY show where the voice of the spirits is channeled directly... to YOU.}}
 
{{Quote|Welcome to Welwick's Oracle... the ONLY show where the voice of the spirits is channeled directly... to YOU.}}
   −
{| class="wikitable"
+
{|class="wikitable"
 
!Message
 
!Message
 
!TV Display
 
!TV Display
 
!Stat Bonus <ref name="tvluck" />
 
!Stat Bonus <ref name="tvluck" />
 
|-
 
|-
|The spirits are very happy today! They will do their best to shower everyone with good fortune.
+
| rowspan=2 | The spirits are very happy today! They will do their best to shower everyone with good fortune.
 +
|[[File:LuckStarMax.gif]]
 +
|{{name|Luck|+0.1 or +0.125 with Special Charm}}
 +
|-
 
|[[File:LuckStar.gif]]
 
|[[File:LuckStar.gif]]
|{{name|Luck|> +0.07}}
+
|{{name|Luck|> +0.07 and < 0.1 (or 0.125 with Special Charm)}}
 
|-
 
|-
 
|The spirits are in good humor today. I think you'll have a little extra luck.
 
|The spirits are in good humor today. I think you'll have a little extra luck.
Line 42: Line 44:  
|{{name|Luck|≥ -0.07 and < -0.02}}
 
|{{name|Luck|≥ -0.07 and < -0.02}}
 
|-
 
|-
|The spirits are very displeased today. They will do their best to make your life difficult.
+
| rowspan=2 | The spirits are very displeased today. They will do their best to make your life difficult.
 
|[[File:LuckSkull.gif]]
 
|[[File:LuckSkull.gif]]
|{{name|Luck|< -0.07}}
+
|{{name|Luck|> -0.1 (or -0.075 with Special Charm) and < -0.07}}
 +
|-
 +
|[[File:LuckSkullMin.gif]]
 +
|{{name|Luck|-0.1 or -0.075 with Special Charm}}
 
|}
 
|}
 +
 +
Daily luck has 201 possible values<ref name="luck"/>, so the probability of getting best possible luck, worst possible luck, and absolutely neutral luck are 1/201 each. Due to a rounding error in the game code, it's impossible to get absolutely neutral luck with the Special Charm<ref name="absolutely_neutral"/>.
 +
 +
===Special Charm===
 +
After reading [[Secret Notes#Secret Note #20|Secret Note #20]] and solving the puzzle depicted, the player is awarded with a [[Special Charm]] that permanently increases daily Luck by 0.025.
    
===Daily Luck Effects===
 
===Daily Luck Effects===
 
Daily luck affects the following:
 
Daily luck affects the following:
*Amount of wood dropped from trees
+
 
*Chance of getting coal from rocks
+
;Mining
*Chance to discover ladders while [[Mining]].  
+
*Chance to discover ladders from breaking rocks while [[Mining]].
*Chance that crates spawn in the [[Mines]]
+
*[[Minerals#Geodes|Geode]] and [[coal]] drop chance from rocks.
*Quality and number of ores obtained from [[Copper Pan|Panning]].
+
**''(Luck does not increase the chance to receive rare [[minerals]] and [[artifacts]] from breaking geodes. These results depend only on the save file and the sequence in which the geodes are broken.)''
*Chance of getting a second item (in addition to ore) from [[Copper Pan|Panning]].
+
*Chance of finding [[Mining#Mining Nodes|Gem Nodes and Mystic Stones]] in [[The Mines]] or [[Skull Cavern]].
*[[Minerals#Geodes|Geode]] drop chance from rocks.
+
*Chance that crates spawn in [[the Mines]].
**''(Luck does not increase the chance to receive rare gems and artifacts from geodes.)''
+
*Chance to find treasure rooms in the [[Skull Cavern]].
*Drop chance of [[Duck Feather]] and [[Rabbit's Foot]].
+
*Amount of [[gold]] and items lost when dying in the Mines or [[Skull Cavern]].
 +
*Chance of finding [[Mining#Radioactive Node|Radioactive Nodes]] in the Mines (while the [[The Mines#Shrine of Challenge|Shrine of Challenge]] is active) or [[Skull Cavern]] (while [[Quests#Skull Cavern Invasion|Skull Cavern Invasion]] is active).<ref name="radioactive" />
 +
 
 +
;Other
 +
*Chance of [[Fishing#Treasure Chests|treasure chests]] appearing while [[Fishing]].
 +
**Chance of getting special items (''e.g.,'' [[Neptune's Glaive]], [[Prismatic Shard]], [[Iridium Band]]).
 +
*Chance to double the number of [[crops]] yielded at harvest. Works for any crop, and a unique "dwoop" sound effect plays if this occurs as the result of a luck-based check.<ref name="dwoop" />
 +
*Drop chance of [[Duck Feather]] and [[Rabbit's Foot]] from animals.
 +
*Amount of [[wood]] dropped from [[trees]].
 +
*Quality and number of ores obtained from [[Pans|panning]].
 +
*Chance of getting a second item (in addition to ore) from panning.
 
*Chance of getting items from [[Garbage Can]]s and the chance the item is not [[trash]].
 
*Chance of getting items from [[Garbage Can]]s and the chance the item is not [[trash]].
*Chance your [[Marriage|spouse]] will be [[Marriage#Jealousy|jealous]] after giving a gift to another marriage candidate that you are also currently dating.
+
*Chance the [[Marriage|spouse]] will be [[Marriage#Jealousy|jealous]] after giving a gift to another marriage candidate that the player is also currently dating.
*Chance of [[Fishing#Treasure Chests|treasure]] appearing while [[Fishing]].
  −
**Chance of getting special items (''e.g.'', [[Neptune's Glaive]], [[Prismatic Shard]], [[Iridium Band]]).
   
*Results of playing slots at the [[Casino]].
 
*Results of playing slots at the [[Casino]].
*Amount of lightning during a storm (higher luck = more lightning). <ref name="lightning" />
+
*Amount of lightning during a storm (higher luck increases the amount).<ref name="lightning" />
*Chance to double the number of extra crops yielded at harvest, for crops that allow extra harvests (''i.e.'', [[Coffee Bean]], [[Potato]], [[Tomato]], [[Blueberry]], [[Hot Pepper]], [[Eggplant]], [[Cranberries|Cranberry]], and [[Strawberry]]).
+
*Chance of a [[Trees|tree]] being struck by lighting (higher luck decreases the chance).<ref name="lightning" />
*Chance to find treasure rooms in the [[Skull Cavern]].
  −
*Amount of [[gold]] and items lost when dying in [[The Mines]] or [[Skull Cavern]].
  −
*Chance of finding [[Mining#Mining Nodes|gem nodes and mystic stones]] in [[The Mines]] or [[Skull Cavern]].
      
==Luck Buffs==
 
==Luck Buffs==
In addition to Daily Luck, Luck Buffs gained from eating [[Cooking|food]] will provide temporary bonuses.  A luck buff of +1 means a random event is roughly 1% more likely to happen.  Any luck buff is treated separately from daily luck, so the effects of the two types of luck are not automatically the same; both the types of events affected by luck buffs and the magnitude of the effect can be different.
+
Luck Buffs are temporary bonuses gained from:
 +
* consuming certain [[Cooking|food and drink]]
 +
* consuming dishes from the [[Desert Festival#Chef|Chef]] at the [[Desert Festival]]
 +
* wearing the [[Lucky Ring]]
 +
* receiving the Blessing of Luck buff from the [[Statue Of Blessings]]
   −
Known differences between daily luck and luck buffs include:
+
Only one drink-derived buff and one food-derived buff can be active at a given time. However, dishes from the [[Desert Festival#Chef|Chef]] at the [[Desert Festival]] can stack on top of the food and drink buffs, which includes any luck buffs potentially received from the dishes. A buff of +2 for example may have similar effects to a daily luck value of 0.1, though it is treated differently in every situation and may have a minuscule or enormous effect depending on the activity.
* The drop chance of [[Duck Feather]] and [[Rabbit's Foot]] is not improved by luck buffs.
  −
* For [[Fishing#Treasure Chests|Fishing Treasure Chest]] contents, a luck buff does not improve special item chances. Instead, it increases the chance of getting double quantities of resources and gems.  It also allows standard rings ([[Glow Ring]], [[Magnet Ring]]) to appear in place of small rings ([[Small Glow Ring]], [[Small Magnet Ring]]).
     −
The following foods provide a temporary luck buff:
+
The following food and drink provide a temporary luck buff:
 
{{Recipes|Header}}
 
{{Recipes|Header}}
 +
{{:Banana Pudding|RecipeRow}}
 
{{:Fried Eel|RecipeRow}}
 
{{:Fried Eel|RecipeRow}}
 +
{{:Ginger Ale|RecipeRow}}
 
{{:Lucky Lunch|RecipeRow}}
 
{{:Lucky Lunch|RecipeRow}}
 
{{:Pumpkin Soup|RecipeRow}}
 
{{:Pumpkin Soup|RecipeRow}}
Line 95: Line 114:  
{{Recipes|Footer}}
 
{{Recipes|Footer}}
   −
==Special Charm==
+
The following [[Rings|ring]] gives a luck buff:
After reading [[Secret Notes#Secret Note #20|Secret Note #20]] and solving the puzzle depicted, the player is awarded with a [[Special Charm]] that permanently increases daily Luck by 0.025.
+
 
 +
{|class="wikitable roundedborder"
 +
!Image
 +
!Name
 +
!Description
 +
!Effect
 +
!Where to Find
 +
!Ingredients
 +
!Purchase Price
 +
!Sell Price
 +
|-
 +
|[[File:Lucky Ring.png|center]]
 +
|[[Lucky Ring]]
 +
|{{Description|Lucky Ring}}
 +
|Increases [[File:Luck.png|24px]] [[Luck]] by +1.
 +
|Dropped as a [[The Mines#Special Items|special item]] in the [[Skull Cavern]], or rarely by [[Pans|panning]].
 +
|N/A
 +
|N/A
 +
|data-sort-value="100" | {{Price|100}}
 +
|}
 +
 
 +
Below is a table of the luck buffs that can be obtained from the [[Desert Festival#Chef|Chef]] at the [[Desert Festival]]:
 +
{|class="wikitable roundedborder"
 +
!Image
 +
!Name
 +
!Buffs
 +
!Buff Duration
 +
!Ingredients
 +
|-
 +
|[[File:Sour Salad.png|center]]
 +
|Sour Salad
 +
|{{name|Luck|+3}}{{name|Defense|+1}}
 +
|{{Duration|7m}}
 +
|Rare Fruit + Rich Marinara
 +
|-
 +
|[[File:Superfood Cake.png|center]]
 +
|Superfood Cake
 +
|{{name|Luck|+3}}{{name|Mining|+1}}
 +
|{{Duration|7m}}
 +
|Rare Fruit + Mushroom Creme
 +
|-
 +
|[[File:Warrior Smoothie.png|center]]
 +
|Warrior Smoothie
 +
|{{name|Luck|+3}}{{name|Attack|+1}}
 +
|{{Duration|7m}}
 +
|Rare Fruit + Pungent Garlic
 +
|-
 +
|[[File:Rumpled Fruit Skin.png|center]]
 +
|Rumpled Fruit Skin
 +
|{{name|Luck|+3}}{{name|Speed|+1}}
 +
|{{Duration|7m}}
 +
|Rare Fruit + Uncomfortably Hot Sauce
 +
|-
 +
|[[File:Sweet Bean Cake.png|center]]
 +
|Sweet Bean Cake
 +
|{{name|Defense|+3}}{{name|Luck|+1}}
 +
|{{Duration|7m}}
 +
|Hearty Beans + Cherry Syrup
 +
|-
 +
|[[File:Crystal Cake.png|center]]
 +
|Crystal Cake
 +
|{{name|Mining|+3}}{{name|Luck|+1}}
 +
|{{Duration|7m}}
 +
|Cave Loaf + Cherry Syrup
 +
|-
 +
|[[File:Elf Quesadilla.png|center]]
 +
|Elf Quesadilla
 +
|{{name|Attack|+3}}{{name|Luck|+1}}
 +
|{{Duration|7m}}
 +
|Extremely Sharp Cheddar + Cherry Syrup
 +
|-
 +
|[[File:Shrimp Donut.png|center]]
 +
|Shrimp Donut
 +
|{{name|Fishing|+3}}{{name|Luck|+1}}
 +
|{{Duration|7m}}
 +
|Shrimp + Cherry Syrup
 +
|}
 +
 
 +
===Luck Buff Effects===
 +
Total luck buff is treated separately from total daily luck, and the effects of the two types of luck are not automatically the same; both the types of events affected by luck buffs and the magnitude of the effect can be different.
 +
 
 +
Known differences between daily luck and luck buffs include:
 +
* Chances of receiving [[Duck Feather]] and [[Rabbit's Foot]] are not improved by luck buffs.
 +
* For [[Fishing#Treasure Chests|Fishing Treasure Chest]] contents, a luck buff does not improve special item chances. Instead, it increases the chance of getting double quantities of resources and gems. It also allows standard rings ([[Glow Ring]], [[Magnet Ring]]) to appear in place of small rings ([[Small Glow Ring]], [[Small Magnet Ring]]).
 +
* When breaking stone, chances for extra [[Cinder Shard]]s, [[Bone Fragment]]s, [[Clay]], [[Stone]], and all [[Ore]] depend on the player's [[Mining]] level and luck buffs, but not daily luck.<ref name="breakStone" />
 +
* Weapon [[Crit. Chance]] is boosted by luck buffs but not daily luck.<ref name="damagemonster" />
 +
* Chances of activating the [[Ring of Yoba]]<ref name="farmer_takedamage"/> or [[Warrior Ring]]<ref name="ring_onmonsterslay"/> are boosted by luck buffs but not daily luck.
 +
* Chances of finding certain modified monster drops, including [[Mahogany Seed]], [[Galaxy Soul]], and [[Qi Gem]] depend on luck buffs but not daily luck.<ref name="monsterdrop"/>
    
==References==
 
==References==
 
<references>
 
<references>
     <ref name="luck">See <tt>Game1::_newDayAfterFade</tt> in the game code.</ref>
+
     <ref name="luck">See <samp>Game1::_newDayAfterFade</samp> in the game code.</ref>
     <ref name="tvluck">See <tt>Objects.TV::getFortuneForecast</tt> in the game code.</ref>
+
     <ref name="tvluck">See <samp>Objects.TV::getFortuneForecast</samp> in the game code.</ref>
     <ref name="lightning">See <tt>Utility::performLightningUpdate</tt> in the game code.</ref>
+
    <ref name="absolutely_neutral">The special charm adds <samp>(double)0.025f</samp> (see <samp>Farmer::DailyLuck</samp>), which is actually 0.02500000037252903. Those trailing digits are never cancelled out as the TV code checks whether the daily luck is exactly zero as a double.</ref>
 +
    <ref name="radioactive">See <samp>Locations.MineShaft::chooseStoneType</samp> in the game code.</ref>
 +
    <ref name="dwoop">See <samp>Crop::Harvest</samp> in the game code.</ref>
 +
     <ref name="lightning">See <samp>Utility::performLightningUpdate</samp> in the game code.</ref>
 +
    <ref name="breakStone">See <samp>StardewValley.GameLocation::breakStone</samp> in the game code</ref>
 +
    <ref name="damagemonster">See <samp>StardewValley.GameLocation::damageMonster</samp> in the game code</ref>
 +
    <ref name="ring_onmonsterslay">See <samp>StardewValley.Objects.Ring::onMonsterSlay</samp> in the game code</ref>
 +
    <ref name="farmer_takedamage">See <samp>StardewValley.Farmer::takeDamage</samp> in the game code</ref>
 +
    <ref name="monsterdrop">See <samp>StardewValley.GameLocation::monsterDrop</samp> in the game code</ref>
 
</references>
 
</references>
    
==History==
 
==History==
{{History|1.3|Officially added Special Charm to game. Treasure rooms added to Skull Cavern, which are affected by luck.}}
+
{{History|1.3.27|Officially added [[Special Charm]] to the game. [[Skull Cavern#Treasure Rooms|Treasure rooms]] added to Skull Cavern, which are affected by luck.}}
{{History|1.4|[[Magic Rock Candy]] introduced. Special Charm luck increase changed to a static 0.025. Giving datable NPCs a gift no longer makes your spouse jealous unless you’re currently dating them.}}
+
{{History|1.4|[[Magic Rock Candy]] introduced. Special Charm luck increase changed to a static 0.025. Giving datable NPCs a gift no longer makes the player's spouse jealous unless they're currently dating them.}}
 +
{{History|1.5|[[Lucky Ring]], [[Banana Pudding]], and [[Ginger Ale]] introduced.}}
 +
{{History|1.6|Luck buffs from [[Desert Festival#Chef|Chef]] dishes at the [[Desert Festival]] introduced. Added special backplates to fortune teller TV show if the player gets a perfectly good or perfectly bad luck day.}}
    
{{NavboxSkillsStats}}
 
{{NavboxSkillsStats}}
38

edits