Changes

m
Text replacement - "tt>" to "samp>"
Line 27: Line 27:  
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.
 
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:
+
Let's take grape as an example. The stage of grape is <code>{1, 1, 2, 3 ,3}</code> in the <samp>crops.xnb</samp>. 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, 1, 2, 3 ,3}</code> --step 1-->  
Line 59: Line 59:  
::Firstly, I don't think translating such a complex page could be simpler than translate only 30 keys in the dictionary table (about 50 English words totally). And I have translated the module to Chinese successfully. This page takes more than 300,000 bytes now, which is too large to edit. When I edit the whole page in Chrome now, there's even a delay more than 1 second after I typing words. If necessary, I will help with this translation on other language wikis. Furthermore, updating the translation of other languages' pages could be much easier, see the second point.
 
::Firstly, I don't think translating such a complex page could be simpler than translate only 30 keys in the dictionary table (about 50 English words totally). And I have translated the module to Chinese successfully. This page takes more than 300,000 bytes now, which is too large to edit. When I edit the whole page in Chrome now, there's even a delay more than 1 second after I typing words. If necessary, I will help with this translation on other language wikis. Furthermore, updating the translation of other languages' pages could be much easier, see the second point.
   −
::Secondly, if there are more crops in the future, it's convenient to add new crop data from <tt>crops.xnb</tt> into the data table. The code should be updated when there are other types of speed-gro or something else that change the speed increase. But it's not complex, I can write the method in the document. Besides, this module also support returning only one single table when use the <tt>"mode"</tt> argument. It's simpler than updating the current page in this situation.
+
::Secondly, if there are more crops in the future, it's convenient to add new crop data from <samp>crops.xnb</samp> into the data table. The code should be updated when there are other types of speed-gro or something else that change the speed increase. But it's not complex, I can write the method in the document. Besides, this module also support returning only one single table when use the <samp>"mode"</samp> argument. It's simpler than updating the current page in this situation.
    
::Thirdly, I didn't implement any major change except for updating the [[:zh:作物生长日历]] and copying [[template:Addlanglinks]] to zh wiki, because there's no one else to talk with on zh wiki :( and these changes work well. You have undone these changes, but I don't think these operations will take you more than 15 minutes.
 
::Thirdly, I didn't implement any major change except for updating the [[:zh:作物生长日历]] and copying [[template:Addlanglinks]] to zh wiki, because there's no one else to talk with on zh wiki :( and these changes work well. You have undone these changes, but I don't think these operations will take you more than 15 minutes.
106,449

edits