Stardew Valley

I only recommend this to modders that are more experienced because it involves going into the code!!

This options allows you to show different reactions to different NPCs for example you can be happy when Gus is happy and at the same time be sad when Clint is happy.

In order to turn on specific reactions you have to go into the GMCM and go into Farmer 2.0 Looks. From here you can turn on reactions for, Vanilla and SVE, Ridgeside Village, and East Scarpe NPC’s. Then if you scroll further down you can turn on the individual NPC’s, note the NPC will only get a specific reaction if you have both where they came from and their own checkbox set to true.

This is where it gets a bit tricky, after you have turned on the NPC’s that you want, save the options and exit the game. Go into the Farmer 2.0 Looks NPC Overhaul folder, into assets and into setup. You will see files named:

  • Specififcreactions_vanilla_sve
  • Specififcreactions_rsv
  • Specififcreactions_es
Depending on what NPC’s you want go into the corresponding file, from here you should see something that looks like this
{
            "Action": "EditData",
            "Target": "aedenthorn.FarmerPortraits/reactions",
            "When": {
                "Abigail Specific Reactions": "true"
            },
            "Entries": {
                "Abigail": {
                    "0": 1,
                    "1": 1,
                    "2": 2,
                    "3": 3,
                    "4": 4
                }
            }
        },

This is where you will enter the specific reactions you want, for example above the first entry under “Abigail” is “0”: 1, this means that when Abigail has a normal expression your character will show the “happy” portrait option.


Cheat sheet:

“NPC emotion” : player emotion

0 = normal 
1 = happy
2 = sad
3 = angry 
4 = blush

There are now more options for the player emotions, please note these are only for the PLAYER!! Misty has only coded the base emotions of the NPC's into Farmer Portraits for 1.6 so these are just more add-ons for you!!

More Player Emotions

5 = scared
6 = surprised
7 = disgust
8 = awkward

All of the Npc’s are in alphabetical order and if you want any new npcs just add them like you see in the files, don't forget to copy and paste these over when updating!

When adding a new NPC you have the add them in several places:

Copy and paste this section of code to where you would like your new NPC to show up
content.json
configschema
"Abigail Specific Reactions": {
            "AllowValues": "true, false",
            "Default": "false",
            "Section": "NPC Specific Reactions Vanilla and SVE",
            "Description": "Enables specific reactions for Abigail"
        },
Then replace "Abigail" with new NPC name
Make sure the "Section": is already one of the Sections that have been made

Then go into:
assets
setup
(the section that you put the NPC in) in this case "Specififcreactions_vanilla_sve"
{
            "Action": "EditData",
            "Target": "aedenthorn.FarmerPortraits/reactions",
            "When": {
                "Abigail Specific Reactions": "true"
            },
            "Entries": {
                "Abigail": {
                    "0": 1,
                    "1": 1,
                    "2": 2,
                    "3": 3,
                    "4": 4
                }
            }
        },
Then in here copy and paste this section of code and replace "Abigail" and "Abigail Specific Reactions" with the new NPC"s name

Article information

Added on

Edited on

Written by

saltyDG

0 comments