Changes

Jump to navigation Jump to search
518 bytes added ,  04:03, 18 October 2022
no edit summary
Line 2: Line 2:  
== Results of planting Mixed Seeds ==
 
== Results of planting Mixed Seeds ==
 
How does the game code decide what you get when you plant Mixed Seeds? Are all the options equally likely? [[User:Zendowolf|Zendowolf]] ([[User talk:Zendowolf|talk]]) 02:22, 18 October 2022 (UTC)
 
How does the game code decide what you get when you plant Mixed Seeds? Are all the options equally likely? [[User:Zendowolf|Zendowolf]] ([[User talk:Zendowolf|talk]]) 02:22, 18 October 2022 (UTC)
 +
:In Summer & Fall, and on Ginger Island, there's an equal chance for each seed. In Spring, the chance is 50% Parsnip, 25% Cauliflower, 25% Potato. In Winter, there's a 33% chance for the Spring seeds, 32% for Summer, and 32% for Fall seeds. (So, in Winter, 0.33 * 0.5 for Parsnip, 0.33 * 0.25 for the other two, etc.)
 +
:The relevant code is in the "Crop" constructor, and <samp>Crop::getRandomLowGradeCropForThisSeason</samp>. [[User:Margotbean|margotbean]] ([[User talk:Margotbean|talk]]) 04:02, 18 October 2022 (UTC)
107,361

edits

Navigation menu