Changes

Jump to navigation Jump to search
1,340 bytes added ,  20:11, 11 March 2020
edit conflict recovery (I hope): besides special charm change, explain magnitude of values, including new mechanics section (although there doesn't really seem to a good "clean" example)
Line 6: Line 6:     
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 does not change if the day is restarted.
 
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 does not change if the day is restarted.
 +
 +
A 0.01 increase in daily luck generally means a random event is about 1% more likely to happen.
 
{| class="wikitable"
 
{| class="wikitable"
 
!Message
 
!Message
Line 58: Line 60:     
==Luck Buffs==
 
==Luck Buffs==
In addition to Daily Luck, Luck Buffs gained from eating [[Cooking|food]] will temporarily affect the same aspects of the game as Daily Luck, with the exception of the drop chance of [[Duck Feather]] and [[Rabbit's Foot]]. The following foods provide a temporary luck buff:
+
In addition to Daily Luck, Luck Buffs gained from eating [[Cooking|food]] will temporarily affect the same aspects of the game as Daily Luck, with the exception of the drop chance of [[Duck Feather]] and [[Rabbit's Foot]]. A luck buff of +1 means a random event is roughly 1% more likely to happen. The following foods provide a temporary luck buff:
 
{{Recipes|Header}}
 
{{Recipes|Header}}
 
{{:Fried Eel|RecipeRow}}
 
{{:Fried Eel|RecipeRow}}
Line 79: Line 81:  
==Special Charm==
 
==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.
 
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.
 +
 +
==Mechanics==
 +
Most random events in the game are determined by generating a random double-precision number in the range 0 to 1 that is then compared to the event's chance of happening.  For example, when [[Panning|panning]] for ore the base chance for finding [[Iridium Ore|iridium]] is 1%.  This means iridium is only found if the random number is less than 0.01.
 +
 +
Daily Luck typically increases the critical threshold for an event without any change in magnitude: a 0.01 value of daily luck changes the iridium ore panning threshold from 0.01 to 0.02.  On the other hand, buffed luck values are significantly rescaled before being applied, with large variability in scale factors.  For ore-panning alone, scale factors include 0.001, 0.002, and 0.04 (when deciding the type of ore, whether there's an extra item, and deciding the type of extra item, respectively).  For iridium ore specifically the scale factor is 0.001, so if a player has a 0.1 value of Daily Luck and a +1 Luck Buff, the threshold is 0.021 (2.1% chance).
 +
 +
However, the exact meaning of Daily Luck and Luck Buff is always context-dependent, because every event applies luck slightly differently.
    
==References==
 
==References==

Navigation menu