Stardew Valley
0 of 0

File information

Last updated

Original upload

Created by

jwdred

Uploaded by

jwdred

Virus scan

Safe to use

About this mod

A console command to make NPCs say whatever is in your crazy, little mind.

Permissions and credits
Stardew NPCs say the darndest things, don't they?  Well, now you can make them say just about anything.

This mod registers a SMAPI console command "npc_say" which will allow you to make any NPC say anything you want.

I realize this is pretty stupid, and I mainly wrote it as an exercise in learning to write a SMAPI console command, but someone with a lot more time on their hands than I have could probably create some Stardew Valley fan fiction with this.  At the very least, maybe it will help make some of the screenshots on Nexus a little more interesting.

Usage

Type into the SMAPI console:

npc_say <NPC name> <Message>

The messages use the same syntax as the messages in various dialogue/message yaml/xnb files.  You'll have to do your own reading up on that, but for the most part you don't really need to know any of that unless you want to use specific portraits, etc.  For example, the messages in my screenshots were created by using the following commands:

npc_say Lewis I told you not to ask me what the truffle oil was for.  That's none of your business!$a
npc_say Emily So Clint says, "I bought one of John's saps the other day, it was disgusting."  And I was all like, "Eww!! What kind of idiot eats sap?"$6
npc_say Demetrius It sure is cozy in here.$3


Additional Resources


I learned most of what I know about Stardew Valley dialogue from reading through Alpha_Omegasis' guide, found here: https://docs.google.com/document/d/1s5cEf7NLvJ6iIu6kh1oRGKE-Uw25Aak0xs2S5_MA9to

The document contains lots of very helpful information if you're interested in XNB modding, but as it pertains to this mod, the "NPC Dialogue" section will probably be most useful.