Changes

Jump to navigation Jump to search
m
Line 8: Line 8:  
|ingredients  = {{name|Hardwood|10}}{{name|Moss|10}}
 
|ingredients  = {{name|Hardwood|10}}{{name|Moss|10}}
 
}}
 
}}
The '''Mushroom Log''' is a [[Crafting|crafted item]] that produces mushrooms. It produces mushrooms every 4 days, rainy days will cause this to take a day less. The quantity of mushrooms produced increases with the amount of wild [[trees]] in a 7X7 square around the log. The amount of mushrooms generated is calculated by finding the number of nearby trees and multiplying this by a random number between 0.5 and 1.5, capped at 5. Therefore, the number of nearby trees needed to always gain the maximum amount of 5 is 10.  
+
The '''Mushroom Log''' is a [[Crafting|crafted item]] that produces [[mushrooms]]. The recipe is earned at [[foraging]] level 4. 4 Mushroom Logs may be rewarded from [[Mayor's Manor#Prize Machine|Prize Machine]].
 +
Mushroom Logs grant 5 [[foraging]] XP on harvest.
   −
The type of mushroom produced depends on what tree types are nearby it. The game code creates a possible list of mushrooms based on nearby trees then selects one at random from that list. First the game finds how many trees are in a 7X7 square around it. That number is multiplied by 3/4 and that many mushrooms are added to the list with a distribution of 5% [[Purple Mushroom|purple]], 15% [[Red Mushroom|red]] and 80% [[Common Mushroom|common]]. Then, for each fully grown tree another mushroom will be added. If the tree type is Oak then the mushroom added will always be a morel. The same goes for Pine with chanterelle, and for mystic trees [[Purple Mushroom|purple mushrooms]]. Maple trees have a 10% chance to give [[Purple Mushroom|purple mushrooms]] and a 90% chance to give [[Red Mushroom|red mushrooms]]. If it is none of those types it will use the same distribution as before. Then a random mushroom is chosen from that list to generate.
+
==Mechanic==
 +
The Mushroom Log produces mushrooms every 4 days, rainy days will cause this to take a day less.
 +
===Quantity===
 +
The quantity of mushrooms produced increases with the amount of wild [[trees]] in the 7×7 square around the log. The amount of mushrooms generated, limited to between 1 and 5, is calculated by finding the number of nearby trees and multiplying this by a random number between 0.5 and 1.5.<ref name="code" /> Therefore, the number of nearby trees needed to always gain the maximum amount of 5 is 10.
 +
===Type===
 +
The type of mushrooms produced depends on the type of trees nearby. The game code creates a list of possible mushrooms based on nearby trees, and then selects one at random from that list.  
 +
* First the game finds how many trees are in the 7×7 square around it. That number is multiplied by 3/4 and that many mushrooms (at least one) are added to the list with a distribution of 5% [[Purple Mushroom|purple]], 14.25% [[Red Mushroom|red]] and 80.75% [[Common Mushroom|common]].
 +
* Then, one more mushroom is added for each mature tree. If the tree is a [[Oak Tree]] then the mushroom added will always be a [[Morel]]. The same goes for [[Pine Tree]] with [[Chanterelle]], and for [[Mystic Tree]] with [[Purple Mushroom]]. [[Maple Tree|Maple Trees]] have a 10% chance to give a [[Purple Mushroom]] and a 90% chance to give a [[Red Mushroom]]. If the mature tree is none of these types, the same distribution as in step 1 is used.
 +
* Finally, a random mushroom is chosen from that list to generate.<ref name="code" />
   −
The produced mushrooms can have different qualities but are unaffected by the [[Foraging#Foraging Skill|Botanist]] Perk. The quality is instead calculated based on the number of nearby trees, and how many of them have moss on them. Every nearby tree is counted, with mossy counting as double. This number is then divided by 40 and is used as the chance for the quality to upgrade. This chance occurs repeatedly until it fails or reaches iridium quality. So for example if the count is 20 then the chance is 0.5, meaning there is a 50% chance of regular quality, a 25% chance of silver quality, 12.5% chance of gold quality, and a 12.5% chance of iridium quality.  
+
===Quality===
 +
The quality of the mushrooms produced can vary, but is not affected by the [[Foraging#Foraging Skill|Botanist]] Perk. Instead, the quality is calculated based on the number of nearby trees, and how many of them have moss on them. Each nearby tree is counted, with mossy trees counted twice This number is then divided by 40 and is used as the chance for the quality to upgrade. This chance occurs repeatedly until it fails or reaches iridium quality.<ref name="code" /> So for example if the count is 20 then the chance is 0.5, meaning there is a 50% chance of regular quality, a 25% chance of silver quality, a 12.5% chance of gold quality, and a 12.5% chance of iridium quality. If the count is 40, 5 mushrooms of iridium quality are guaranteed.
 +
 
 +
==Product==
 +
{| class="wikitable sortable"
 +
!Image
 +
!Name
 +
!Description
 +
!Also Found
 +
!Sell Price
 +
!Energy / Health
 +
!Used In
 +
!Basic Chance
 +
|-
 +
|[[File:Common Mushroom.png]]
 +
|[[Common Mushroom]]
 +
|{{Description|Common Mushroom}}
 +
|
 +
*[[The Cave#Mushrooms|Mushroom Cave]]
 +
*[[Ginger Island#Dig Site|Ginger Island Mushroom Cave]]
 +
*<span class="no-wrap">[[Foraging]] ([[Fall]])</span>
 +
*[[Fall Seeds]]
 +
*[[Secret Woods]] ([[Spring]] &amp; [[Fall]])
 +
*[[Tapper|Tapping]] a [[Mushroom Tree]] ([[Spring]], [[Summer]] &amp; [[Fall]])
 +
|{{Qualityprice|Common Mushroom|40}}
 +
|{{EdibilityGrid|Common Mushroom|15}}
 +
|<p>{{Bundle|Fall Forage}}</p>{{name|Fried Mushroom}}{{name|Tom Kha Soup}}{{name|Stir Fry}}{{name|Fall Seeds}}
 +
|80.75%
 +
|-
 +
|[[File:Red Mushroom.png]]
 +
|[[Red Mushroom]]
 +
|{{Description|Red Mushroom}}
 +
|
 +
*[[The Cave#Mushrooms|Mushroom Cave]]
 +
*[[Ginger Island#Dig Site|Ginger Island Mushroom Cave]]
 +
*[[The Mines]]
 +
*[[Tapper|Tapping]] or chopping a [[Mushroom Tree]] ([[Spring]], [[Summer]] &amp; [[Fall]])
 +
*[[Secret Woods]] ([[Summer]] &amp; [[Fall]])
 +
|{{Qualityprice|Red Mushroom|75}}
 +
|{{EdibilityGrid|Red Mushroom|-20}}
 +
|<p>{{Bundle|Dye}}</p><p>{{Bundle|Exotic}}</p>{{name|Life Elixir}}
 +
|14.25%, increased with [[Maple Tree|Maple Trees]] nearby.
 +
|-
 +
|[[File:Purple Mushroom.png]]
 +
|[[Purple Mushroom]]
 +
|{{Description|Purple Mushroom}}
 +
|
 +
*[[The Cave#Mushrooms|Mushroom Cave]]
 +
*[[Ginger Island#Dig Site|Ginger Island Mushroom Cave]]
 +
*[[The Mines]]
 +
*[[Tapper|Tapping]] or chopping a [[Mushroom Tree]] ([[Spring]], [[Summer]] &amp; [[Fall]])
 +
|{{Qualityprice|Purple Mushroom|250}}
 +
|{{EdibilityGrid|Purple Mushroom|50}}
 +
|<p>{{Bundle|Exotic}}</p><p>{{Bundle|Field Research}}</p>{{name|Life Elixir}}{{NPC|Wizard|Loved gift}}
 +
|5%, increased with [[Maple Tree|Maple Trees]] and [[Mystic Tree|Mystic Trees]] nearby.
 +
|-
 +
|[[File:Chanterelle.png]]
 +
|[[Chanterelle]]
 +
|{{Description|Chanterelle}}
 +
|
 +
*[[The Cave#Mushrooms|Mushroom Cave]]
 +
*[[Ginger Island#Dig Site|Ginger Island Mushroom Cave]]
 +
*[[Secret Woods]] ([[Fall]])
 +
|{{Qualityprice|Chanterelle|160}}
 +
|{{EdibilityGrid|Chanterelle|30}}
 +
|{{name|Life Elixir}}
 +
|0, only spawn when a [[Pine Tree]] Nearby.
 +
|-
 +
|[[File:Morel.png]]
 +
|[[Morel]]
 +
|{{Description|Morel}}
 +
|
 +
*[[The Cave#Mushrooms|Mushroom Cave]]
 +
*[[Ginger Island#Dig Site|Ginger Island Mushroom Cave]]
 +
*[[Secret Woods]] ([[Spring]])
 +
|{{Qualityprice|Morel|150}}
 +
|{{EdibilityGrid|Morel|8}}
 +
|{{name|Fried Mushroom}}<p>{{Bundle|Exotic}}</p>{{name|Life Elixir}}
 +
|0, only spawn when a [[Oak Tree]] Nearby.
 +
|}
 +
 
 +
==References==
 +
<references>
 +
    <ref name="code">See <samp>Object::OutputMushroomLog</samp> in the game code.</ref>
 +
</references>
    
==History==
 
==History==
280

edits

Navigation menu