'Solar Kingdom'

From Stardew Valley Wiki
Revision as of 19:25, 30 July 2018 by Margotbean (talk | contribs) (formula)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This talk page is for discussing 'Solar Kingdom'.
  • Sign and date your posts by typing four tildes (~~~~).
  • Put new text below old text.
  • Be polite.
  • Assume good faith.
  • Don't delete discussions.

Appearance at Night Market

The formula that determines a painting's appearance at the Night Market can be found in BeachNightMarket::answerDialogueAction.
1838 + ((this.getDayOfNightMarket() - 1) * 2 + (Game1.year - 1) % 3 * 6)
1838 is the first of the 9 paintings' ID numbers from Furniture.xnb
DayOfNightMarket is 1 for Winter 15, 2 for Winter 16, and 3 for Winter 17.
Game1.year starts numbering at 1 for the first year.
The result is an ID number from Furniture.xnb.
--margotbean (talk) 20:00, 30 July 2018 (BST)