Jump to content

Talk:Green Bean: Difference between revisions

From Stardew Valley Wiki
imported>RedHotMegma
Speed-Gro effect on growth rate
 
imported>Margotbean
No edit summary
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
I am trying to calculate the impact of Speed-Gro on the days to maturity. The formula I am using is the greater of [Days to Maturiity]-RoundUp([Days to Maturity]*10%). This works for Deluxe Speed-Gro and Hyper Speed-Gro, but when I compare the basic speed-gro calc to the chart on the green bean page I calculate 9 days as opposed to the 8 days the chart says it should take. What am missing in the calculation?
{{Talkheader}}
I am trying to calculate the impact of Speed-Gro on the days to maturity. The formula I am using is the greater of [Days to Maturiity]-RoundUp([Days to Maturity]*10%). This works for Deluxe Speed-Gro and Hyper Speed-Gro, but when I compare the basic speed-gro calc to the chart on the green bean page I calculate 9 days as opposed to the 8 days the chart says it should take. What am missing in the calculation? [[User:RedHotMegma|RedHotMegma]] ([[User talk:RedHotMegma|talk]]) 23:39, 10 April 2021
:A mixture of imprecision and rounding. decimal number 0.1 is not representable in binary floating-point, so 0.1 x 10 is not actually 1 but 1.00000001490116119384765625 decimal. the game then rounds this up to 2, because it's technically "bigger than 1". for more details look up floating-point arithmetic on wikipedia. [[User:Dubesor|Dubesor]] ([[User talk:Dubesor|talk]]) 04:06, 11 April 2021 (UTC)
 
== Whether long-winded sentence about the nature of trellis' should be included ==
 
On this page, there is a sentence that reads "This crop uses a trellis, and continues to produce after maturity. Be aware, you cannot move onto a tile with a trellis, but you must be adjacent to a planted tile in order to harvest the plant. You must plan the layout of your plantings in order to guarantee access for harvesting."
Specifically pay attention to "plan the layout of your plantings"
In my opinion, this sentence does not read as a sentence on a wiki should read. It is also not present on the other two trellis crop pages. We need to work out whether it should be removed or edited, and what needs to happen with the other two trellis crop pages, [[Grape]] and [[Hops]].
[[User:Swift To The Core|Swift To The Core]] ([[User talk:Swift To The Core|talk]]) 01:45, 1 April 2026 (UTC)
:I've removed the sentence. It never belonged. Thanks! [[User:Margotbean|margotbean]] ([[User talk:Margotbean|talk]]) 19:10, 1 April 2026 (UTC)

Latest revision as of 19:10, 1 April 2026

This talk page is for discussing Green Bean.
  • Sign and date your posts by typing four tildes (~~~~).
  • Put new text below old text.
  • Be polite.
  • Assume good faith.
  • Don't delete discussions.

I am trying to calculate the impact of Speed-Gro on the days to maturity. The formula I am using is the greater of [Days to Maturiity]-RoundUp([Days to Maturity]*10%). This works for Deluxe Speed-Gro and Hyper Speed-Gro, but when I compare the basic speed-gro calc to the chart on the green bean page I calculate 9 days as opposed to the 8 days the chart says it should take. What am missing in the calculation? RedHotMegma (talk) 23:39, 10 April 2021

A mixture of imprecision and rounding. decimal number 0.1 is not representable in binary floating-point, so 0.1 x 10 is not actually 1 but 1.00000001490116119384765625 decimal. the game then rounds this up to 2, because it's technically "bigger than 1". for more details look up floating-point arithmetic on wikipedia. Dubesor (talk) 04:06, 11 April 2021 (UTC)

Whether long-winded sentence about the nature of trellis' should be included

On this page, there is a sentence that reads "This crop uses a trellis, and continues to produce after maturity. Be aware, you cannot move onto a tile with a trellis, but you must be adjacent to a planted tile in order to harvest the plant. You must plan the layout of your plantings in order to guarantee access for harvesting." Specifically pay attention to "plan the layout of your plantings" In my opinion, this sentence does not read as a sentence on a wiki should read. It is also not present on the other two trellis crop pages. We need to work out whether it should be removed or edited, and what needs to happen with the other two trellis crop pages, Grape and Hops. Swift To The Core (talk) 01:45, 1 April 2026 (UTC)

I've removed the sentence. It never belonged. Thanks! margotbean (talk) 19:10, 1 April 2026 (UTC)