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]]. 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. | 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]]. 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. |