Changes

Jump to navigation Jump to search
Line 23: Line 23:  
[[User:Maiken|Maiken]] ([[User talk:Maiken|talk]]) 18:41, 29 March 2021 (UTC)
 
[[User:Maiken|Maiken]] ([[User talk:Maiken|talk]]) 18:41, 29 March 2021 (UTC)
 
:You are absolutely correct, I've updated the page with the correct stages.  Thanks so much! [[User:Margotbean|margotbean]] ([[User talk:Margotbean|talk]]) 18:53, 29 March 2021 (UTC)
 
:You are absolutely correct, I've updated the page with the correct stages.  Thanks so much! [[User:Margotbean|margotbean]] ([[User talk:Margotbean|talk]]) 18:53, 29 March 2021 (UTC)
 +
 +
== Speed-Gro Glitch ==
 +
Apart from [https://stardewcommunitywiki.com/Talk:Speed-Gro Speed-Gro Mechanics], there's another bug in ConcernedApe's codes. When he calculated the days to be removed, he didn't consider the situation where days of the stage is less than 0 day.
 +
 +
Let's take grape as an example. The stage of grape is <code>{1, 1, 2, 3 ,3}</code> in the <tt>crops.xnb</tt>. When we have Hyper Speed-Gro and Agriculturist at the same time, the speed increase should be 0.43. 0.43 * (1+1+2+3+3) = 4.3 ≈ 5. Therefore, 5 days should be removed from the grapes' growth stage. It should take 5 days to grow and can be harvested on the 6th day. The following is the normal process:
 +
 +
<code>{1, 1, 2, 3 ,3}</code> --step 1-->
 +
<code>{1, 0, 2, 3 ,3}</code> --step 2-->
 +
 +
<code>{1, 0, 1, 3 ,3}</code> --step 3-->
 +
<code>{1, 0, 1, 2 ,3}</code> --step 4-->
 +
 +
<code>{1, 0, 1, 2 ,2}</code> --step 5-->
 +
<code>{1, 0, 0, 2 ,2}</code>
 +
 +
While in the code and game, the actual process is:
 +
 +
... --step 4--> 
 +
 +
<code>{1, 0, 1, 2 ,2}</code> --step 5-->
 +
<code>{1, -1, 1, 2 ,2}</code>
 +
 +
Therefore, the grapes take 1 + 0 + 1 + 2 + 2 = 6 days to grow, and can be harvested on the 7th day. I have tested this in the game, and it actually takes 6 days to grow.
 +
 +
The growth calendar of grapes is now correct. The purpose of editing this topic is to explain how this happened. [[User:Horizon98|Horizon98]] ([[User talk:Horizon98|talk]]) 16:38, 20 April 2021 (UTC)
    
== Using module to replace this page ==
 
== Using module to replace this page ==
1,078

edits

Navigation menu