Stardew Valley
0 of 0

File information

Last updated

Original upload

Created by

Super Aardvark

Uploaded by


Virus scan

Safe to use

About this mod

Allows modders to create NPCs that the player can't befriend.

Permissions and credits
This mod allows the creation of new NPCs that aren't friends with the player. They can have a schedule, a portrait, dialog... almost everything a normal villager NPC has. However, they won't show up on the Social menu and the player can't give them gifts.

This mod does nothing on its own. It is a resource for mod makers and content pack creators.


Note on SDV 1.6
The upcoming (as of 3/23) version 1.6 of Stardew Valley will have native support for non-social NPCs.  Therefore, this mod will be obsolete and unnecessary.  If you're a mod author making use of this mod, you can read about the planned features on the SDV wiki, here.

Instructions for Modders
  • Create a new NPC as your normally would (e.g. using Content Patcher)
  • Do not add the NPC to "Data/NPCGiftTastes"
  • Add the NPC to "Data/AntiSocialNPCs".  The key is the NPC's name, and the value can be anything (e.g., "true").
  • Add this mod to your mod's dependencies.

Sample Content Patcher Snippet
If you're using Content Patcher to make a new NPC named Bob, here's what you would add to the Changes section of your content.json file:

   "LogName": "Bob's AntiSocial Flag",
   "Action": "EditData",
   "Target": "Data/AntiSocialNPCs",
   "Entries": {
      "Bob": true

Advanced Use
It should be possible to cause an NPC to become friendly with proper use of "When" conditionals in Content Patcher.  If you add "Data/NPCGiftTastes" for your NPC, they will appear on the Social menu the next time the player talks to them.  Removing the NPC from "Data/AntiSocialNPCs" will cause them to appear in the Social menu immediately.  This functionality is not well tested.

  • Non-social NPCs cannot use "event" type dialog. The most common event of this type is "Introduction", which causes NPCs to say something special to the player if they meet in the first six days of the game.  Dialog that requires a certain Heart Level will also not be used, for obvious reasons. 
  • Use of anti-social NPCs in events is untested, but probably works just fine.
  • Anti-social NPCs accepting quest turn-ins is untested (let me know if it works!).

  • Tested with SMAPI 3.2 (Stardew Valley 1.4)
  • Tested with Content Patcher 1.12.0 (optional)
  • Compatible with any mod or content framework that uses SMAPI to edit assets.