This wiki is a read-only version of the Stardew Valley Wiki. The official editable wiki maintained by ConcernedApe can be found at stardewvalleywiki.com

User talk:Polk

From Stardew Valley Wiki
Jump to: navigation, search
This is Polk's talk page, where you can send messages and comments to Polk.
  • Sign and date your posts by typing four tildes (~~~~).
  • Put new text below old text.
  • Be polite.
  • Assume good faith.
  • Don't delete discussions.

New Pages

Hello Polk! I want to thank you for helping update the wiki for version 1.5! I also have to ask you to please add {{Spoiler}} to the top of the new pages you're creating, to warn console and mobile users that it's new content they don't have yet.

I see that you're creating a history section on all the pages, and I want to thank you especially for that!!!! Thanks again for contributing so much hard work! margotbean (talk) 17:39, 23 December 2020 (UTC)

Hi Margotbean! Sure thing, I wasn't sure if items needed the spoiler tags or not, so I hadn't been doing it. Should this also go for items that've been around previously but that are accessible in new ways, like the Bed, Child's Bed, and Double Bed? Thanks again! Polk (talk) 17:44, 23 December 2020 (UTC)

I think yes, since we're creating new pages for new furniture items that were previously part of the background of the house. Prior to 1.5 there wasn't all that much to say about beds. Also, the spoiler message adds a tracking category to the page that is useful to me and the Admin.  :) margotbean (talk) 17:52, 23 December 2020 (UTC)
That makes sense! I'll start marking everything accordingly. :) Thanks for the help, and thanks for reaching out! Polk (talk) 17:56, 23 December 2020 (UTC)

Golden Walnut location images

I've created a category for the new images of locations of golden walnuts here: Category:Golden Walnut Location images.

After you upload a file, perhaps you would "Edit" the file page and add

{{License CA}}
[[Category:Golden Walnut Location images]]

Thank you, and good luck! margotbean (talk) 17:44, 29 December 2020 (UTC)

Thank you, I'll try that! I was wondering what I should be doing with those, because it seemed odd to just leave them sitting wherever they landed. Thanks again! Polk (talk) 18:42, 29 December 2020 (UTC)
Hey Polk, you can omit the "pre" and "nowiki" parts of the above when you paste into a File page.  :) Thanks a bunch! margotbean (talk) 23:26, 29 December 2020 (UTC)
Sounds good! I'll do this from now on, and in the future if I see something like this I'll make sure to check. Thanks for fixing the ones I've done so far! Polk (talk) 23:36, 29 December 2020 (UTC)

Golden Coconut probabilities

Hey Polk, I noticed on your user page you mentioned not knowing how to find the probabilities for the golden coconuts so I thought I'd post here as well as updating the relevant page.

The code for opening a golden coconut can be found at line 8790 of Utility.cs in the source code. It first rolls the 5% chance for the Golden Coconut Hat if the player hasn't gotten it already. If the player has gotten it, it gets a random number between 0 and 6 to choose from the other available items, so each one has an equal 1/7 (~14.3%) chance to be chosen, at least after the Golden Coconut Hat was gotten

The hat has priority, so if the player still needs to get the hat the other 7 drops only occur in the 95% that the hat is not gotten, so 1/7 * 95% = 19/140 (~13.6%)

Rain (talk) 10:29, 1 January 2021 (UTC)

Ah, thank you so much! I'd known it was likely somewhere in the same file as the file controlling the geode drops (it looks like I was right), and this explains the details of it. Thank you for explaining this, and thank you for updating the page!! Polk (talk) 20:19, 1 January 2021 (UTC)

Oasis Stock

Can be found in StardewValley.GameLocation::sandyShopStock

Do you have access to the decompiled code? I used ILSpy to open the game executable and found it there. Several items are added depending on dayOfMonth % 7 margotbean (talk) 19:36, 2 January 2021 (UTC)

I have access to the unpacked data received when I install StardewXNBHack and SMAPI, which I think is slightly different! It allows me to access the XNB files, but there's still a bunch of files (such as the Utilities folder) that are out of my reach. At a glance, I'm guessing this is also one of them. I've considered looking into getting more access to the game files, but I recently had a scare with a trojan, and I'm giving myself a small break from doing anything.
I noticed when you added the Large Brown Couch to the furniture page you called it out by days of the month. I've been studying the Oasis stock the long way (aka visiting daily), and I have noticed that a couple of wall sconces seem to switch out. Do you know offhand if the stock I've put down for Oasis is otherwise accurate so far, or should I probably step back and let someone with more access to the code put the more accurate dates? Polk (talk) 20:25, 2 January 2021 (UTC)
Any data you provide from in-game is valuable. Someone else with access to the code can do cleanup later. margotbean (talk) 20:45, 2 January 2021 (UTC)
Looking at the code for the shop, everything is mostly right. The daily furniture for tuesday is randomly 1 of 4 sconces (2734, 2736, and 2738 and 2740 in Furniture.xnb). I'm guessing those are the first 4 found in Wall Sconces. The 2 found on saturday will always be the same. Also if you don't want to decompile it yourself, there are people who have put the source code up on GitHub. Rain (talk) 03:05, 3 January 2021 (UTC)
Excellent, good to know! Oh sweet, I actually hadn't known that about the game data, this changes a lot. I've found the code Margot and you both describe, and I've found where it calls out the part numbers. The only thing is, the two part numbers labeled for Saturday aren't in the 5 and 7 positions on the furniture .XNB list. (They're 5 and 6 instead.) What file should I look in if I want to check what images correspond to the part numbers, or where should I go to learn more about this? Polk (talk) 05:34, 3 January 2021 (UTC)
I don't actually know how to compare the sprite it to the furniture ID, I was just going off the file names on the wiki and some deduction. There are 2 that you can only find on saturday (sconce 5 and 7, the ones with the short and long string), One you can get at the festival of ice (6, with 3 branches) so the 4 remaining ones must be the 4 random ones. I couldn't find any other source for them aside from Oasis. The difference in the numbering could also just be from the order the sprites were uploaded to the wiki; from TileSheets\furniture.png, it can be seen that the first 5 make sense, but the last two can be vague in which one was uploaded first. Rain (talk) 06:44, 3 January 2021 (UTC)
The index numbers in Data/Furniture.xnb should correspond to the sprites in TileSheets/furniture.xnb, numbering starts at 0. margotbean (talk) 18:10, 3 January 2021 (UTC)
Ah, thank you both so much!! Rain, that was a handy way to piece it together indirectly, and Margot thank you for the file names. These both answer my questions, and I'll see about finishing off anything left for the Oasis! Polk (talk) 06:35, 5 January 2021 (UTC)

Qi beans

Hey Polk, I thought I would help here, and I found a few that you missed.

VolcanoDungeon::PopulateChest

It is a 50% chance from the common chests, and a 100% chance from the rare chests

if (Game1.random.NextDouble() <= 1.0 && Game1.player.team.SpecialOrderRuleActive("DROP_QI_BEANS")) giving 2-6 for common and 4-6 for rare (I don't know if its inclusive).

Town::checkAction

Checking trash cans

if (Game1.random.NextDouble() <= 0.25 && Game1.player.team.SpecialOrderRuleActive("DROP_QI_BEANS")) giving 1.

BreakableContainer::releaseContents

Containers from the mines/skull cavern

if (Game1.random.NextDouble() <= 0.05 && Game1.player.team.SpecialOrderRuleActive("DROP_QI_BEANS")) giving 1-3 (don't know if its inclusive or not)

As for the searching, you can search for things inside text files through windows explorer, you might just have to enable it. For example searching "DROP_QI_BEANS" shows all the .cs files that have that in them. Rain (talk) 08:16, 20 January 2021 (UTC)

Also the Qi beans in ResourceClump.cs is from breaking large stumps/logs. The index numbers for stump and log found at the top of the file match the case numbers that the if statement is under. Rain (talk) 01:58, 21 January 2021 (UTC)
Oh heck yes, thank you!! The reason I hadn't been searching like this through folders or whatnot is that I've been leaving all the sourcecode on Git rather than downloading it. I keep wandering off from even glancing at code for weeks at a time, and then going and spending solid days trawling through it. I really just need to bite the bullet there and keep it all on hand... (Just to confirm, the search method you described doesn't work through Git in browsers, right? When I found the stuff I'd already had earlier, it was through generous CTRL+Fing...)
Whaaat. That makes sense, I hadn't looked at the details of the if statements, and if it's for large stumps and logs then this explains why it was separate from the bean drop as trees are felled. Thanks again! Polk (talk) 06:50, 22 January 2021 (UTC)
I don't think you can search the contents of files through the browser. Also if you're looking at the code on Git, make sure it is from the latest version. I ran into the problem of not being able to find an updated one for 1.5.2/1.5.3, but luckily there is a wiki guide on decompiling the game yourself. Rain (talk) 17:57, 22 January 2021 (UTC)