Hightower4589
Newcomer
Hi everyone. I'm new to modding and I'm trying to make some simple event mods to see what I can do and learn from the process. I created a mod that adds new simple events to the game. I followed a bunch of guilds and looked for info but I'm stumped. It took a lot of error correcting but I finally got my json files to pass the SMAPI JSON Validator at https://smapi.io/json and my mod gets loaded without errors. The problem is when I load up a test game and use debug ebi <event id> I get an event doesn't exist or nothing was output message. I must be missing a piece of the puzzle, any advice would be appreciated.
I can't uplade my json files here so I'll copy paste them. Sorry for the long post.
// My manifest
{
"Name": "Silly Stories",
"Author": "Hightower4589",
"Version": "0.0.1",
"Description": "Adds new silly stories for fun and testing",
"UniqueID": "Hightower4589.SillyStories",
"ContentPackFor": {
"UniqueID": "Pathoschild.ContentPatcher"
},
"Dependencies": [
{
"UniqueID": "FlashShifter.StardewValleyExpandedCP",
"MinimumVersion": "1.14.24",
"IsRequired": false
}
]
}
//My content
{
"Format": "1.29.3",
"Changes": [
{
"Action": "Include",
"FromFile": "assets/Data/Stories.json"
}
]
}
//The json my content file points to, the main edits of my mod
{
"Format": "1.29.3",
"Changes": [
{
"Action": "EditData",
"Target": "Data/Events/Farm",
"Entries": {
"19843471/f Robin 250/t 1000 1800/w sunny": "spring_day_ambient/1000 -1000/farmer 91 57 3 Robin 113 57 3/skippable/fade unfade/vewport 91 57/pause 3000/move Robin 10 0 3/pause 3000/textAboveHead Robin \"Nice...\"/pause 3000/emote Robin 6/pause 3000/emote farmer 3/pause 500/faceDirection farmer 1/jump Robin/move Robin -10 0 1/message \"Was Robin staring at my ass?$b\"/globalFade/viewport 1000 -1000/end position 91 53"
}
},
{
"Action": "EditData",
"Target": "Data/Events/Beach",
"Entries": {
"19843575/t 600 2300/w sunny": "continue/1000 -1000/farmer 26 14 1 Willy 32 14 3/skippable/fade unfade/vewport 29 17/pause 3000/speak farmer \"Ahoy there fellow fisherino!\"/pause 500/speak Willy \"Aye aye ya blighted landlubber.$b#I know ya be after me hidden treasure.$b#But ya not be gettin any information from me!\"/pause 3000/globalFade/viewport 1000 -1000/end"
}
}
]
}
I can't uplade my json files here so I'll copy paste them. Sorry for the long post.
// My manifest
{
"Name": "Silly Stories",
"Author": "Hightower4589",
"Version": "0.0.1",
"Description": "Adds new silly stories for fun and testing",
"UniqueID": "Hightower4589.SillyStories",
"ContentPackFor": {
"UniqueID": "Pathoschild.ContentPatcher"
},
"Dependencies": [
{
"UniqueID": "FlashShifter.StardewValleyExpandedCP",
"MinimumVersion": "1.14.24",
"IsRequired": false
}
]
}
//My content
{
"Format": "1.29.3",
"Changes": [
{
"Action": "Include",
"FromFile": "assets/Data/Stories.json"
}
]
}
//The json my content file points to, the main edits of my mod
{
"Format": "1.29.3",
"Changes": [
{
"Action": "EditData",
"Target": "Data/Events/Farm",
"Entries": {
"19843471/f Robin 250/t 1000 1800/w sunny": "spring_day_ambient/1000 -1000/farmer 91 57 3 Robin 113 57 3/skippable/fade unfade/vewport 91 57/pause 3000/move Robin 10 0 3/pause 3000/textAboveHead Robin \"Nice...\"/pause 3000/emote Robin 6/pause 3000/emote farmer 3/pause 500/faceDirection farmer 1/jump Robin/move Robin -10 0 1/message \"Was Robin staring at my ass?$b\"/globalFade/viewport 1000 -1000/end position 91 53"
}
},
{
"Action": "EditData",
"Target": "Data/Events/Beach",
"Entries": {
"19843575/t 600 2300/w sunny": "continue/1000 -1000/farmer 26 14 1 Willy 32 14 3/skippable/fade unfade/vewport 29 17/pause 3000/speak farmer \"Ahoy there fellow fisherino!\"/pause 500/speak Willy \"Aye aye ya blighted landlubber.$b#I know ya be after me hidden treasure.$b#But ya not be gettin any information from me!\"/pause 3000/globalFade/viewport 1000 -1000/end"
}
}
]
}