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.


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

Villager Chat Points per Day

The Friendship page mentioned that villagers received only +10 points per day for speaking with them. Being under the impression that it was +20 points per day, I started a new game up to see how long it took to get Leah up to 2 hearts (500 total points). Giving her a Salad 2x a week (a Loved gift of no quality bought from the Saloon, so 4x80 points) and speaking with her daily would yield 500 points on the 9th if it were +20 points (2 hearts), or the 18th if it were +10 points. After speaking with her on Tuesday the 9th, she reached 2 hearts.

Screenshot: http://puu.sh/rK07r/95aba9109d.png

As such, I've updated the info to +20 points instead of +10. Marion Est (talk) 19:26, 15 October 2016 (BST)

So it's apparently either +10 or +20. Any info on why? Any speculations? Any chance it could have something to do with whether or not you "finish" their dialogue for the day (for example, talking to them once when they have multiple dialogues gives +10, but talking to them and finishing the dialogues gives +20)? Marion Est (talk) 18:45, 22 October 2016 (BST)

Universal Exceptions

I noticed a lot of exceptions to what was listed as universal - For example, George dislikes flowers and both Willy and Elliott like fish. I'm pretty much certain that these were generally correct, but that certain characters have exceptions coded in. Would it be better not to list these kind of items in the universal categories, or to add a note about the character(s) that are an exception? The second seems more useful, but the game hasn't been mapped out enough yet for me to have a full idea what exceptions there are. Mattados (talk) 09:28, 29 February 2016 (EST)

Just found out Caroline hates poppies Mattados (talk) 11:40, 29 February 2016 (EST)

Pierre hates corn. Mattados (talk) 12:03, 29 February 2016 (EST)

I'm working on testing what unique gifts / awards you get from villagers - after I am thinking of reformatting this page, rolling back in some of the things I took out that turned out not to be 100% universal, and having a notes section for exceptions. Will also go through and remove universals from individual characters lists. Help with any of this would be welcome! Mattados (talk) 07:57, 1 March 2016 (EST)

Penny hates rabbit's feet, gave her one and lost relationship points with her

The file NPCGiftTastes in the Data folder lists all likes and dislikes at various levels for universal and individuals. The first five lines are the universals, which is what was probably originally on this page. And some of those, Mattados suspected, have exceptions coded in on an individual basis. Looking at Robin, she has three items outlined under her Universal Love. So hypothetically ,if that was under Universal Hate and it was on Universal love for Robin only, then every NPC in the game would hate that item except for Robin who would love it. That's why universal likes/dislikes can sometimes be inaccurate. That problem should go away evnetually when we get more detailed on the NPC's pages. If you ask me, I think we should just list all the universals in this page, regardless of exceptions, and explain this paragraph on that page in better/simpler wording than I can come up with. -- Kapra (talk) 03:47, 2 March 2016 (EST)

Yeah, now that the code has been figured out - and I grinded up everyone to full reputation to make sure there were no surprises - I'm going to put in the values from the code BUT in common english and with an added section for exceptions or notes that's right there. For example, flowers are universally liked but George does not like them and poppies are not included with the other flowers. Everyone but Penny hates poppies. So "[Flowers]" would become "All [Flowers] except for [Poppies]" with a note "[George] hates flowers." That is a rough example though, it's going to take some work to individually go through the code lines and sort things out properly.

I will do it this upcoming week, Thursday at the latest, if no one has any objections or suddenly feels like digging in and doing it themselves before then. - Mattados (talk) 02:46, 12 March 2016 (EST)

What I'm thinking of doing, provided a Katzeus is able to add the wiki extension, is add arrays to directly copy paste game code and automatically have templates I write spit out what NPCs do and don't like. Take a look at my user page. If this falls through, I could potentially make all the social sections on a NPC page automatic, and possibly include a collapsible list of all items they like and dislike. I made a switch statement called Template:ID that can give you the name of any item given its names. Its possible I could do something similar with the items file to automatically categorize every items as either a flower, trash, mineral, etc, and then write code to make possibly this page to automatic, with manual overrides possible by users. That being said, I'm used to c++ and barely know html so I may need help with that if it comes to that, assuming that is something that you guys would even want. -- Kapra (talk) 03:47, 12 March 2016 (EST)
That would be awesome! I was going to enter it all in by hand, I'm an author who does youtube videos sometimes - I know sweet FA about c++ and only very very basic HTML. Mattados (talk) 14:19, 12 March 2016 (EST)

Does anyone know if there's a maximum number of social points that an NPC can get? Is it capped at 2500 (3000 for spouses)? --Billeh007 (talk) 00:07, 13 March 2016 (EST)

The cap is 2749 for villagers and 3499 for spouse. Margotbean (talk) 22:05, 23 December 2016 (UTC)

I've found through datamining the Best Gifts and Liked Gifts by Villager pages that there are some good, cheap methods for raising relationship points with everyone. Namely, Sashimi to everyone but Emily, Evelyn, Kent and Willy and to those four, something off their loved list. I'm not sure that belongs on this page, but I'm also not sure where else it'd belong either. -- Blailus (talk) 14:01, 9 April 2016 (JST)

Hey! I'd like to add an exception that Krobus hates Cranberry Candy, but I'm not sure how to edit it in! -- QuinnSea (talk) 21:52, 5 July 2016 (CST)

I don't know if it's been discovered yet, but it seems that the data on the wiki isn't automated and still being input by hand. I'm not a wiki expert, so I don't know how to collate and automate the data for presentation. Either way, if this is already known, then please ignore. If you like to know how NPCGiftTastes works, then please read on. The game parses the NPCGiftsTaste table in several progressive steps. During each step an Item can change it's friendship value. Below is how I believe it is handled in-game.

All items in ObjectInformation that do not have a CATEGORY listed in the TYPES AND CATEGORIES field is considered as category 0.
NPCGiftsTastes uses both item ID as well as CATEGORY to define what an item's friendship value is in ObjectInformation. Values 0 and below are CATAGORIES, Values 1 and above are ID'S.
The Steps are as follows:
  1. For each CHARACTER in NPCGiftsTastes, any item ID's for each section is tested.
  2. For each UNIVERSAL in NPCGiftsTastes, any item ID's for each section is tested.
  3. For each CHARACTER in NPCGiftsTastes, any CATEGORY for each section is tested.
  4. For each UNIVERSAL in NPCGiftsTastes, any CATEGORY for each section is tested.
  5. For all other items not represented in NPCGiftsTaste, the default value of LIKE is used.
This satisfies unusual conditions like Milk being a default LIKE value for most characters, despite not being listed in the UNIVERSAL LIKE set.
This also properly handles any ITEM without a CATEGORY, which is usually junk and such, by assigning it a CATEGORY of 0 and then using it in the UNIVERSAL HATE set.

I haven't cross checked every item, but using the above seems to satisfy many of the conditions I've checked. I know some people have suggested exceptions programmed in, but it does not seem like this is the case. Perhaps this information can be used to automate this page and keep it up-to-date in the event of any changes. --Asmoranomar (talk) 02:31, 6 June 2019 (BST)

Yep, we've outlined the basic algorithm on the modding page. In addition, I've written a C# program that runs through the game code, that's what got me started editing the wiki originally. It's fascinating code, it's either ridiculously obfuscated or ingenious, I'm still not sure which.
We can't update the wiki automatically, that was a decision the Admin made when he first set up the wiki. But thankfully, NPC::getGiftTasteForThisItem hasn't changed, and the data files have changed only minimally since v1.0. margotbean (talk) 13:47, 6 June 2019 (BST)

False Entries?

Salmonberry, item code 296, doesn't seem to be listed as a universal dislike in NPCGiftTastes.yaml. I don't want to remove it without bringing it up first. -- Kapra (talk) 03:29, 2 March 2016 (EST)

Added another exception; Elliot does not like Tigerseye. Added brackets for missing links. Jojo modjo (talk) 18:06, 21 March 2016 (EDT)

Icon for Frontpage

As the Frontpage Icons get edited in the last days I'd suggest the speech bubble icon your Cursor gets when hovering over a Villager for Social - Xores (talk) 20:01, 5 March 2016 (EST)

Might be good to bring that up on the front page discussion page.

TownEater (talk) 20:31, 5 March 2016 (EST)

Starred Gifts?

Does giving a person a starred item have any effect on their response to it, or does it not matter (like the processed goods)?

I'm fairly certain it does not. I could be wrong though. --NibKing (talk) 05:40, 22 March 2016 (EDT)
They do since 1.1, relevant entry: NPC's now appreciate quality level in gifts, but it only has an effect on gifts they "like" or "love". --Vg-tal (talk) 19:53, 15 October 2016 (BST)

New Format for Universal Hates

I would like to change the table format for Universal Hates to the more simple list format shown below. The list can be alphabetized or grouped by category... The down side is that we lose the ability to sort by name.

Please comment with thoughts. Thank you! --margotbean (talk) 18:38, 29 October 2017 (UTC)

First reaction: I prefer this new look. Bottom line: it presents the items in compact form, which is almost always a key to locating anything quickly. Alphabetization by name also helps, but that can also be provided within this idea. You get a list of links, and if you need any more details, they're only a click away. Seems efficient to me. Butterbur (talk) 14:05, 30 October 2017 (UTC)
Thanks for the feedback! I think it's particularly appropriate to delete "Description" and "Source" info. for hated gifts, since they generally won't be sought out as gifts. That, and the table is too long to fit on one screen right now. margotbean (talk) 19:05, 30 October 2017 (UTC)
Exactly so.
But as for your latest edit, grouping "kinda sorta" by category, that's not my preference. One of the benefits of getting it all onto one screen is to enable the fastest possible eye scan, and I think alphabetization is much superior in that way. To be quickly understandable, categories require emphasis with labeled divisions for each, and that will quickly use up too much screen real estate. So there's my 2 farthings. Butterbur (talk) 18:25, 1 November 2017 (UTC)

Dumpster Diving

@Margotbean: I was about to revise my recent edit on this topic when I found you had reverted it. I found two villagers who did still object: Lewis and Sam. However, I have experienced many instances when villagers have not reacted, all since I reached ten hearts with them. (I am now at ten hearts with every villager, making it easy to compare.) Instead of simply reversing the edit, would it not be better to begin a list of those who continue to react? I don't think it will be very long. Butterbur (talk) 04:04, 31 October 2017 (UTC)

All villagers react at all heart levels, except Linus. They must be within a radius of 7 tiles from your location to react. If more than one villager sees you, only one will react. That's what the code says. If you're experiencing something drastically different, it sounds like a bug. margotbean (talk) 04:40, 31 October 2017 (UTC)
Thanks. That's the theory. But I definitely have a bug then. Steam validates my installation files, though. Hmm. Butterbur (talk) 05:29, 31 October 2017 (UTC)

Update: I continue to experience significant numbers of times when villagers are right next to me while I dig in the garbage, and yet no objections are made. I have not been able to determine the circumstances, although I've been looking for possible consistencies. It may be affected by season or rain. I'm still wondering if friendship level affects it, as most of my friendships are at ten hearts and I'm getting almost no resistance now. (But Sam always objects.) All are conjectures. But it is definitely happening often, and not as advertised. I can virtually guarantee there's something wrong with your reading of the code. Butterbur (talk) 19:40, 7 March 2018 (UTC)

More: Kent sometimes objects, not always. No one loses friendship points when they do. (Both are maxed out at 2749 points.) Observations taken in winter. Butterbur (talk) 05:42, 9 March 2018 (UTC)

Spousal Friendship Decay (frozen after 13 hearts?)

The Decay section states:

   When married, decay never stops — don't ignore your spouse!

But I suspect once you reach the 13 hearts (or maybe 13.5 and receive a stardrop) then it caps and stops naturally decaying, just like every other relationship. I base this inference on two sources:

1) This Oct 30, 2016 answer on Gaming.StackExchange https[colon-slash-slash]gaming.stackexchange.com/a/284423/35599 which states "...by increasing your relationship with your spouse, it will eventually reach 13 hearts. When this happens, the relationship becomes "capped" like every other relationship: it won't naturally decay."

2) The April 4, 2016 patch notes for build 1.07 at http[colon-slash-slash]steamcommunity.com/games/413150/announcements/detail/820027557812026939 which state "Maxed-out friendship levels will no longer decay"

Perhaps someone authoritative could update the article or reply here with why my inference seems circumspect. If nobody objects I might update it myself. (Particularly if I get an opportunity to test it) Rkagerer (talk) 08:33, 28 February 2018 (UTC)

The authoritative reference is already on the page, in the "References" section. margotbean (talk) 18:17, 28 February 2018 (UTC)
Thanks, but I'm still a little confused. The sentence with that reference says "not talking to a villager will slightly decrease their friendship unless their heart meter is full". Does that mean spouses can never reach what's considered a "full" (& frozen) heart meter? (Sorry to be pedantic, just wasn't clear if the reference covered the following sentence about marriage). If so, does this mean the StackExchange answer is wrong? If that's the case can you confirm the Farmer::resetFriendshipsForNewDay code has been examined to be certain, and I'll leave a comment on the StackExchange thread to let them know they're in error? Rkagerer (talk) 05:58, 1 March 2018 (UTC)
The reference covers the entire section (both sentences and the table), but it's impossible to add a superscripted [1] after a table, so I can see why it might be confusing.
Yes, I checked the code, and the page is accurate. Spouses never reach a frozen heart meter. margotbean (talk) 15:55, 1 March 2018 (UTC)

Total Gifts to stock up on

I did all the math to figure out how many Summer Spangles to save up for Coraline and then had fun doing the math a bit further and figured I'd at least post it in the talk page. The math is based on not doing anything but giving them the gifts stashed, so in reality you'd need less if not dramatically less (like from birthday gifting, questing and secret santas)

Loved items: 32 regular items | 29 silver ★ | 25 gold ★ | 21 iridium ★

Liked items: 56 regular items | 51 silver ★ | 45 gold ★ | 37 iridium ★

Secret Santa: Liked item 225pts | Gold ★ liked 281pts | ♥ reg 400pts | ♥ Silver ★ 440pts | ♥ Gold ★ 500pts | ♥ Iridium ★ 600pts

Birthday: Liked 360pts | Gold ★ liked 450pts | ♥ reg 640pts | ♥ Silver ★ 704pts | ♥ Gold ★ 800pts | ♥ Iridium ★ 960pts

I hope some people find this useful. If you want to/can figure out how to make it look nice, feel free to add it to the actual page! --Kittentamer (talk) 23:05, 29 May 2018 (BST)````

Linus at 11 Hearts

With Linus maxed at level 10, 2749 friendship points, I encountered for the first time the conditions for running the 8-heart event, with Robin, just at her door. The next day, the game had recorded the increase of 250 friendship points due from the proper response in the event. That put me at 11 hearts, 2999 friendship points. Has anyone else encountered this bug? Butterbur (talk) 05:34, 7 April 2019 (BST)

I don't think I have, but I'm curious what the in-game heart meter showed... did it show 11 hearts? margotbean (talk) 17:43, 7 April 2019 (BST)
The heart meter shows 10 hearts, but the file shows 2999 friendship points. I guess it's a matter of interpretation. My surprise was that friendship points didn't freeze at 2749. Butterbur (talk) 21:05, 7 April 2019 (BST)
I saved a new game day today, and Linus's friendship points dropped back to 2749. I noticed no game updates, but maybe I missed a bug fix? But I did talk to him on this game day, which would have caused the game to try adding points, and probably triggered a check for the maximum that didn't happen after the event. Butterbur (talk) 04:48, 12 April 2019 (BST)


Should we add the quartz preferences to each villager under the universal likes exceptions table? --Elliotthatesquartz (talk) 21:29, 20 August 2019 (UTC)

Quartz isn't a universal like. margotbean (talk) 23:53, 20 August 2019 (UTC)

Spring Onion

George says he loves the Spring Onion that I gave him "It's my favorite" were his exact words. Should I update the exceptions, or how do I verify that he actually does love it? --Timswast (talk) 13:47, 3 October 2019 (UTC)

There is a bug known to the developers that causes the incorrect response to gifts sometimes. If you're sure you haven't given George a Leek instead of a Spring Onion, then I think you've encountered this bug. The good news is that it should be removed with the next version of the game. margotbean (talk) 17:01, 3 October 2019 (UTC)
Thanks. I was just getting started with the game, so I probably did just confuse a leek with a spring onion. --Timswast (talk) 13:54, 19 October 2019 (UTC)

Is Super Cucumber a Universal Dislike?

Who wants a logic puzzle?

If a Super Cucumber is a Fish, and Fish are a Universal Dislike, is Super Cucumber a Universal Dislike?

Based on Super Cucumber#Gifting, most people dislike it -- but there are 11 exceptions. That seems like borderline for whether Super Cucumber should really be considered a "universal" dislike. Nevertheless, I'm guessing documentation-wise it's less work overall to leave Super Cucumber as a universal dislike.

In that case, shouldn't those 11 exceptions really all appear in Friendship#Universal Dislikes exceptions, as well as be documented on all 11 individual person pages? Nebulous Maestress (talk) 21:26, 15 February 2020 (UTC)

Sorry, I'm on a learning curve with this game's documentation/mechanics, and I appear to be publishing the whole process here on the wiki.
So I've already answered my own question: most of the 11 Super Cucumber exceptions are general fish exceptions, making Super-Cucumber-specific exceptions much smaller in number and easier to fix. Nebulous Maestress (talk) 21:47, 15 February 2020 (UTC)