Changes

→‎Ores From Rocks: Added note on coal from rocks.
Line 196: Line 196:  
</syntaxhighlight>
 
</syntaxhighlight>
   −
This results in a chance to find ore of 5.1% at worst, and 5.7% at best; with a corresponding 47.45% to 47.15% chance to obtain stone.
+
This results in a chance to find ore of 5.1% at worst, and 5.7% at best; with a corresponding 47.45% to 47.15% chance to obtain stone. If it would generate ore, then there is a 25% chance to obtain coal, doubled to 50% with the [[Mining#Mining_Skill|Prospector profession]]. This results in approximately a 1% chance to get coal from a rock.
    
Then inside <code>StardewValley.Locations.MineShaft::getOreIndexForLevel</code>, the following code is run to obtain the ore<ref name="oreIndex" />:   
 
Then inside <code>StardewValley.Locations.MineShaft::getOreIndexForLevel</code>, the following code is run to obtain the ore<ref name="oreIndex" />:   
73

edits