Changes

Jump to navigation Jump to search
3,671 bytes added ,  02:22, 28 August 2020
→‎32px Farming Skill: Added subsection "Effect of Coopmaster and Shepherd on Animal Product Quality Frequency"
Line 8: Line 8:  
{{:Farming/Skill}}
 
{{:Farming/Skill}}
   −
===Quality Crop Frequency===
+
===Effect of Coopmaster and Shepherd on Animal Product Quality Frequency===
 +
 
 +
On top of the ability in the skill description of befriending the relevant animal type faster (+30 friendship when petted instead of the base +15) and either halving incubation time or increasing wool production from sheep, the Coopmaster and Shepherd professions have a hidden benefit that isn't stated anywhere in the game. They each add 0.333 to the score used to calculate product quality for the animal type relevant to the skill. This results in substantially higher rates of iridium quality products. To illustrate, below is a table showing average frequency of iridium, gold and silver products with and without the Shepherd/Coopmaster professions for an animal with max friendship (1000, ie. 5 hearts) and max mood (255):
 +
 
 +
{| class="wikitable"
 +
! Profession
 +
! % Iridium quality
 +
! % Gold quality
 +
! % Silver quality
 +
! Average price (% of base price)
 +
|-
 +
| No (or other) Profession    || 56.665%  || 24.556%  || 18.779%  || 173.638%
 +
|-
 +
| Coopmaster or Shepherd    || 73.315%  || 19.564%  || 7.121%  || 184.877%
 +
|}
 +
 
 +
====Complete Formula====
 +
{|class="mw-collapsible mw-collapsed"
 +
|-
 +
!style="text-align: left;"|Details 
 +
|-
 +
| The game normally calculates animal product quality using a '''score''' for each animal with the following formula: <code>((<span style="color:crimson;">'''Friendship'''</span>/1000) - (1 - (<span style="color:mediumblue;">'''Mood'''</span>/225))</code> (interestingly, the game doesn't factor in daily luck in this calculation)
 +
 
 +
For example, an animal with <span style="color:crimson;">1000 Friendship</span> and <span style="color:mediumblue;">255 Mood</span> (max friendship and mood) would be calculated thus:
 +
 
 +
<code>=((<span style="color:crimson;">1000</span>/1000) - (1 - (<span style="color:mediumblue;">255</span>/225))
 +
 
 +
=1 - (1 - 1.1333...)
 +
 
 +
=1 + 0.1333...
 +
 
 +
='''1.1333...''' </code>
 +
 
 +
The game will begin checking what quality to create by first seeing if the '''whole score''' is above 0.95. If it is, the '''score divided by 2''' will be compared against a random number between 0-1. If the '''score divided by 2''' is greater than the random number, the item will be Iridium quality. If the score is below 0.95 or the check fails, the '''score divided by 2''' will then be compared against a random number between 0-1. If the '''score divided by 2''' is greater than the random number, the item will be Gold quality. If that check also fails, the '''whole score''' will then be compared against a random number between 0-1. If it is greater than the random number, the item will be Silver quality. Finally, if that check also fails, the item will be normal quality (though in the example above, the score is higher than 1, so a check for silver quality will always succeed if the two prior fail).
 +
 
 +
''(Note that the 0.333 bonus to the score by the Coopmaster and Shepherd professions is applied to the whole score, not the halved score.)''
 +
 
 +
Since the score is above 1 and the odds of normal quality produce can be ignored, the odds in this example without the bonus 0.333 can be calculated as:
 +
 
 +
<code>1.1333 / 2 = 0.56665 = '''56.665% iridium'''</code>
 +
 
 +
<code>(1 - 0.56665) × (1.1333 / 2) = 0.24556 = '''24.556% gold'''</code>
 +
 
 +
<code>1 - 0.56665 - 0.24556 = 0.18779 = '''18.779% silver'''</code>
 +
 
 +
Since iridium products are worth 2× base price, gold products are worth 1.5× base price, and silver products are worth 1.25× base price, we can then calculate the percentage of base price in profits this results in:
 +
 
 +
<code>=(0.56665 × 2) + (0.24556 × 1.5) + (0.18779 × 1.25)
 +
 
 +
= 1.13330 + 0.36834 + 0.23474
 +
 
 +
= 1.73638 = '''173.638%'''</code>
 +
|}
 +
 
 +
===Crop Quality Frequency===
 
Quality is determined when the crop is harvested, and not when it is planted.  For crops that produce multiples at harvest (''i.e.'', [[Coffee Bean]], [[Blueberry]], [[Cranberries]]), [[Basic Fertilizer|Basic]] and [[Quality Fertilizer|Quality]] fertilizers affect only the first crop produced.
 
Quality is determined when the crop is harvested, and not when it is planted.  For crops that produce multiples at harvest (''i.e.'', [[Coffee Bean]], [[Blueberry]], [[Cranberries]]), [[Basic Fertilizer|Basic]] and [[Quality Fertilizer|Quality]] fertilizers affect only the first crop produced.
  
31

edits

Navigation menu