Changes

Jump to navigation Jump to search
486 bytes added ,  21:55, 25 October 2021
→‎Complete Formula: Specify probability calculation and format a bit
Line 79: Line 79:     
====Complete Formula====
 
====Complete Formula====
The probability that a crop's quality increases is linear with respect to your farming level and the soil fertilizer quality (0 for normal soil, 1 for [[Basic Fertilizer]], 2 for [[Quality Fertilizer]], and 3 for [[Deluxe Fertilizer]]). That is, the probability increases the same amount with each level for the same fertilizer quality, and with each fertilizer quality for the same farming level. The formulas used in the game's code is as follows <ref name="qualitycrops" />:
+
The probability that a crop's quality increases is linear with respect to your farming level and the soil fertilizer quality (0 for normal soil, 1 for [[Basic Fertilizer]], 2 for [[Quality Fertilizer]], and 3 for [[Deluxe Fertilizer]]). That is, the probability increases the same amount with each level for the same fertilizer quality, and with each fertilizer quality for the same farming level.
 +
 
 +
The formulas used in the game's code are as follows <ref name="qualitycrops" />:
    
{|class="wikitable"
 
{|class="wikitable"
 
|-
 
|-
! quality
+
!Quality
! formula
+
!Formula
 
|-
 
|-
| gold
+
|[[File:Gold Quality.png|18px]] Gold
| <code>0.2 * (farming level / 10) + 0.2(fertilizer level) * ((farming level + 2) / 12) + 0.01</code>
+
|<code>0.2 * (farming level / 10) + 0.2 * (fertilizer level) * ((farming level + 2) / 12) + 0.01</code>
 
|-
 
|-
| silver
+
|[[File:Silver Quality.png|18px]] Silver
| <code>2 * chance for gold quality</code> (capped at 75%)
+
|<code>2 * chance for gold quality</code> (capped at 75%)
 
|-
 
|-
| iridium
+
|[[File:Iridium Quality.png|18px]] Iridium
| <code>chance for gold quality / 2</code>
+
|<code>chance for gold quality / 2</code>
 
|}
 
|}
   −
It checks them in the order iridium, gold, and silver. If the fertilizer is deluxe or better, then silver is the guaranteed minimum quality.
+
Additionally, if the fertilizer is deluxe or better, then silver is the guaranteed minimum quality, and iridium is made possible.
 +
 
 +
The game checks each formula in the order iridium, gold, and silver. Note the probability calculation must take that into account: for instance on a soil without deluxe fertilizer, silver quality can be selected only if gold has not been chosen, and then the global chance for silver is equal to <code>(1 - chance for gold quality) * (minimum between (0.75) and (2 * chance for gold quality))</code>.
    
==Experience Points==
 
==Experience Points==
255

edits

Navigation menu