Issue Issues modding dialogue for specific NPC

SterlingDraven

Greenhorn
I've been trying to edit Evelyn's dialogue, but no matter which way I try it, the changes aren't reflected in-game. The portraits and sprites change as intended, though. It seems that just the dialogue changes are being ignored all together.

To test my coding, I downloaded this mod, which does something identical to what I'm trying to achieve, and it works just fine. So I took the content.json from that mod and used it in mine, and got the same result as before: the images change, but not Evelyn's name or dialogue. So I tried it again with Linus, and it worked as intended (except for the name change).

So I'm at a loss here, as I can't see anything wrong with my code or file structure, and there's no conflict with any of my other mods. Any help would be greatly appreciated.

Images for reference: https://imgur.com/a/XFwCBRg
SMAPI log (just in case): https://smapi.io/log/fff9a373859b4133a51d0128357cdf7b
 

Attachments

TildenJack

Tiller
and there's no conflict with any of my other mods.
Except there is. Canon-Friendly Dialogue Expansion, wich according to your log is loaded after your own mod and also edits her Introduction dialogue.
Your mod alone works perfectly fine, though.
 

SterlingDraven

Greenhorn
Except there is. Canon-Friendly Dialogue Expansion, wich according to your log is loaded after your own mod and also edits her Introduction dialogue.
Your mod alone works perfectly fine, though.
I didn't even see that line, and I searched specifically for it. I have no idea how I missed it! Thank you so much! As a side note, how can I force my mods to load after others? Rename it?
 

UlyanaLeyana

Planter
I've been trying to edit Evelyn's dialogue, but no matter which way I try it, the changes aren't reflected in-game. The portraits and sprites change as intended, though. It seems that just the dialogue changes are being ignored all together.

To test my coding, I downloaded this mod, which does something identical to what I'm trying to achieve, and it works just fine. So I took the content.json from that mod and used it in mine, and got the same result as before: the images change, but not Evelyn's name or dialogue. So I tried it again with Linus, and it worked as intended (except for the name change).

So I'm at a loss here, as I can't see anything wrong with my code or file structure, and there's no conflict with any of my other mods. Any help would be greatly appreciated.

Images for reference: https://imgur.com/a/XFwCBRg
SMAPI log (just in case): https://smapi.io/log/fff9a373859b4133a51d0128357cdf7b
With a game with almost no mods I can see portraits, sprites change and dialogue, but characters have the same vanilla names. I just made it for you:
Mrs. Doubtfire
XML:
        {
            "Action": "EditData",
            "Target": "Data/NPCDispositions",
            "Entries": {
            "Evelyn": "adult/polite/outgoing/positive/female/not-datable/George/Town/winter 20/George 'husband' Alex 'grandson'/JoshHouse 2 17/Mrs. Doubtfire",
            }
    },
Alan
XML:
        {
            "Action": "EditData",
            "Target": "Data/NPCDispositions",
            "Entries": {
            "Linus": "adult/neutral/shy/positive/male/not-datable/null/Town/winter 3//Tent 2 2/Alan",
            }
    },
 

UlyanaLeyana

Planter
I didn't even see that line, and I searched specifically for it. I have no idea how I missed it! Thank you so much! As a side note, how can I force my mods to load after others? Rename it?
Make your mod load after Canon-Friendly Dialogue Expansion edit manifest.json in [CP] Stardew Valley Dialogue Expansion to:
Code:
{
   "Name": "Canon-Friendly Dialogue Expansion for All Friend-able Characters for Content Patcher",
   "Author": "gizzymo (dialogue), paradigmnomad (coding), and various translators.",
   "Description": "Adds about 2500 new lines of dialogue across all 34 characters who have a heart level",
   "Version": "2.0.9",
   "UniqueID": "gizzymo.canonfriendlyexpansion",
   "ContentPackFor": {
       "UniqueID": "Pathoschild.ContentPatcher"
    },
   "UpdateKeys": [ "Nexus:2544" ],
},
    "Dependencies": [
        {
            "UniqueID": "gizzymo.canonfriendlyexpansion",
            "IsRequired": false,
        },
    ]
}
 

SterlingDraven

Greenhorn
Thanks guys! I went with renaming and so far, so good. I wish I'd thought about that before posting, but at least if someone else has the same issue, here's the answer, right? Again, thank you so much for all the help!
 
Top