We are in the process of transferring the hosting and maintenance responsibilities of the wiki from Chucklefish to ConcernedApe, which is why the wiki will temporarily be hosted at stardewcommunitywiki.com. Soon the official wiki will resume at stardewvalleywiki.com and will be hosted going forward by ConcernedApe. Prior to the transfer to ConcernedApe we will update this site with the date on which the transfer will occur.

Modding talk:Weather data

From Stardew Valley Wiki
Jump to: navigation, search
This talk page is for discussing Modding:Weather data.
  • Sign and date your posts by typing four tildes (~~~~).
  • Put new text below old text.
  • Be polite.
  • Assume good faith.
  • Don't delete discussions.

Summer Rain Calculation

This article contradicts itself. It says that the game calculates the chance of rain using the formula (.12 + Game1::dayOfMonth * 3/1000), 3/1000 being 0.003, but under "weather probability by type" it gives the formula [13% + (.3 * day of the month)]. Which is it? 12% and 0.003, or 13% and 0.3? -- Emmeka (talk) 16:51, 17 May 2019 (BST)

An excellent question, I'm afraid I don't have the answer. One of the editors of the page has been inactive for over a year, but I'll post a note on the other editor's talk page. margotbean (talk) 16:32, 18 May 2019 (BST)
It needs to be fixed, because I can't remember which it is either (although I note that .003 IS .3%, so it's a need to check if it's 12% or 13%) but I'm rather reluctant to fix any modding articles prior to 1.4. Each major change has needed me to rewrite this, so I'm kinda holding off. That said, if it's not out by 1 June (the beta, at least), I'll go through and check again. KNakamura (talk) 19:00, 18 May 2019 (BST)
Here's the line
0.12 + (double) Game1.dayOfMonth * (3.0 / 1000.0)
So it is 12% BlaDe (talk) 21:05, 18 May 2019 (BST)