Talk:Secrets

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

Another Box

There is another box behind the Jojamart. Has anyone figured out what to give it? Jeancey (talk) 00:51, 23 March 2016 (EDT)

As far as I know, there's no code linking an item to it. --NibKing (talk) 04:51, 23 March 2016 (EDT)

Shipping Screen

Adding some notes here about my findings. I had noticed that Santa appeared around the Feast of the Winterstar but never bothered to look it up. Digging in to the game's code confirms that it happens on the 25th of Winter. I don't see any randomness happening like with the UFO.

if (Game1.dayOfMonth == 25 && Game1.currentSeason.Equals("winter"))

As for the UFO, the game must pass these if statements to have a chance of it appearing.

if (Game1.dayOfMonth != 28 && !this.outro) // day is not the 28th and outro (shipping screen fade out I think) is not playing
if (!Game1.wasRainingYesterday)            // was not raining
if (Game1.random.NextDouble() < 1E-05)     // random double (number) must be less than -0.00001, not sure of what the min/max possible doubles would be

This is also based on old code and may no longer be accurate. I have no idea what version it is. --Samutz (talk) 21:14, 4 April 2016 (EDT)

It just returns between 0 and 1, approximately uniformly. (It's also 0.00001, not -0.00001). So there's a 0.001% chance of a UFO occurring. --Y120 (talk) 21:38, 9 April 2016 (EDT)

On the end of my first day in the Wilderness farm, I had the UFO cross my screen. I guess I won the lottery of Stardew Valley :-) Kazeron (talk) 23:29, 18 May 2017 (BST)

Character Creation screen

i have found that if you were to type in different keys in one of the text boxes you can produce different sounds and symbols

SpecialCharsXbox.png

SlippedLyric020 (talk) 04:31, 13 March 2017 (UTC)

Some of that info is hinted at on The Player page, but not in as much detail. Nice find! I'm going to restore the image to original size, and put a thumbnail on the page, so people can see the symbols more clearly. margotbean (talk) 19:52, 13 March 2017 (UTC)

UFO Appearance

I've noticed the UFO appearing under some specific (and odd) circumstances. If I play the game for long periods of time, I often take a break while the game is on the shipping screen (the only natural pause in gameplay). After being away from the computer for 10-30 minutes, I come back and move the mouse to turn off the screensaver and get back to the game. At this point, I've frequently found a UFO flying across the screen. This happens a lot more often than the UFO appearing when I don't walk away from the computer.

This makes me wonder if the conditions for spawning it are updated in the 10-minute update function, or, if a UFO always appears eventually (if the other conditions are met -- not raining, not the 28th, not the 24th of Winter).

Any interested code-divers, or anyone else who experiences this, please comment (or edit the page if you've found something concrete). Thx! margotbean (talk) 01:26, 28 January 2018 (UTC)