Stardew Valley

Stardew Valley

View Stats:
Ellie Feb 2, 2018 @ 7:41pm
Traveling Merchant
Hello !

I'm in early fall of my new playthrough and I was planning on doing a 1 year community center. It was going great until I realised I had forgotten a poppy in Summer!

Wanting to see if I had truly missed my chance, I checked ahead in time to see if the travelling merchant would have a poppy or poppy seed for sale. Turns out she sells me a poppy seed on Fall 21.

Now my question is: Am I guaranteed this seed on Fall 21? Will she sell it regardless of what I do until Fall 21? Or do I have to scrap my save :( I'm unfamiliar with Stardew Valley rng mechanics

Thank you!
Originally posted by Bad Aim Bodyshot Barry:
Originally posted by thundersnow14:
I just read about stardew RNG and now I *think* I get it... seems like items are determined upon save file creation?

if your wondering how the traving cart works ive just copy and pasted the what the wiki said with some adjustmants



The merchant's standard stock is determined by a random number seeded with the game ID (XPath: /SaveGame/uniqueIDForThisGame) and the days played (XPath: /SaveGame/stats/DaysPlayed).

For each item slot, a random integer (num) in the range [2,790) is chosen. num is then incremented and wrapped to the range [0,790) until there exists an item that satisfies all of the following conditions:

ID is equal to num;
not blackliste
has a category;
price greater than 0;
not named "Weeds";
type is not "Quest", "Minerals", or "Arch".
The unit price is determined by the larger of 2 random integers in the ranges of [1,11)*100 and [3,6)*base_price. The stack size has a 90% chance to be 1, and 10% chance to be 5.

Note that some items have a higher chance to appear in the standard stock, because after the random integer is chosen, it is incremented until it is equal to a valid object number.

For the furniture slot, a random integer (num) in the range [0,1613) is chosen until it there exists a furniture that has num as its ID and is not blacklisted. The unit price is determined by a random integer in the range of [1,11)*250


so in short yes it depends on the day and the ID of the save
< >
Showing 1-8 of 8 comments
dino_inc Feb 2, 2018 @ 7:45pm 
The traveling cart is entirely random, where did you find that fall 21st date?

She has a ~5% chance of the poppy and an ~8.5% chance of the seeds every time she comes, so just check every time.
your never garenteed something from the cart, she will have the same stock all throughout the day no matter what, when you restart the save it will have the same items (by restart i mean exiting to the menu during that day and reloading the save) nothing is garenteed on X day

EDIT there is NO reason to delete your save, you can just grow one next year
Last edited by Bad Aim Bodyshot Barry; Feb 2, 2018 @ 7:48pm
Ellie Feb 2, 2018 @ 7:49pm 
I backed up the save and slept until I found one :( I just read somewhere that traveling merchant rng had something to do with game ID, but Ididnt understand it very well so I came here... sorry for the confusion
Ellie Feb 2, 2018 @ 7:50pm 
Originally posted by Spectre Knight:
your never garenteed something from the cart, she will have the same stock all throughout the day no matter what, when you restart the save it will have the same items (by restart i mean exiting to the menu during that day and reloading the save) nothing is garenteed on X day

EDIT there is NO reason to delete your save, you can just grow one next year

Thank you, I will just let go of 1 year community center or pray for poppy !
Ellie Feb 2, 2018 @ 7:57pm 
Originally posted by red255:
you got your red cabbage?

Yes, lucky traveling merchant seed (early spring). That's why I was aiming for 1st year
Ellie Feb 2, 2018 @ 8:00pm 
I just read about stardew RNG and now I *think* I get it... seems like items are determined upon save file creation?
The author of this topic has marked a post as the answer to their question.
Originally posted by thundersnow14:
I just read about stardew RNG and now I *think* I get it... seems like items are determined upon save file creation?

if your wondering how the traving cart works ive just copy and pasted the what the wiki said with some adjustmants



The merchant's standard stock is determined by a random number seeded with the game ID (XPath: /SaveGame/uniqueIDForThisGame) and the days played (XPath: /SaveGame/stats/DaysPlayed).

For each item slot, a random integer (num) in the range [2,790) is chosen. num is then incremented and wrapped to the range [0,790) until there exists an item that satisfies all of the following conditions:

ID is equal to num;
not blackliste
has a category;
price greater than 0;
not named "Weeds";
type is not "Quest", "Minerals", or "Arch".
The unit price is determined by the larger of 2 random integers in the ranges of [1,11)*100 and [3,6)*base_price. The stack size has a 90% chance to be 1, and 10% chance to be 5.

Note that some items have a higher chance to appear in the standard stock, because after the random integer is chosen, it is incremented until it is equal to a valid object number.

For the furniture slot, a random integer (num) in the range [0,1613) is chosen until it there exists a furniture that has num as its ID and is not blacklisted. The unit price is determined by a random integer in the range of [1,11)*250


so in short yes it depends on the day and the ID of the save
Ellie Feb 3, 2018 @ 4:31am 
Thanks for the help guys, I'm all good now! :)
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: Feb 2, 2018 @ 7:41pm
Posts: 8