SMAPI
About SMAPI
Modding docs
Tools
Mod compatibility
Log parser
JSON validator
JSON validator
Upload a JSON file
Choose the JSON format:
None
SMAPI: manifest
SMAPI: translations (i18n)
Content Patcher
Drag the file onto this textbox
(or
choose a file
)
:
{ "Format": "2.7.0", //if you have a 1.5 NPC, make sure this is updated once you have the NPC converted, or certain things like map patches will break "Changes": [ { "LogName": "Blank JSON load", //The logline is not required, but it's useful down the road for labeling your patches so you can tell your problem is, say "NPC Dialogue Patch" and not "NPC Patch #14" "Action": "Load", "Target": "Characters/Dialogue/{{ModId}}_PILindsay", Characters/schedules/{{ModId}}_PILindsay", "FromFile": "assets/data/blank.json", //this should be wherever you put it in your assets folder - put it in a subfolder if you want. }, { "LogName": "Prairie Island, adding Lindsay, "Action": "Include", "FromFile": "assets/data/dispos.json" }, { "LogName": "Base Portraits", "Action": "Load", "Target": "Portraits/{{ModId}}_PILindsay", "FromFile": "assets/images/portraits/Lindsay_Portraits.png", }, { "LogName": "Base Sprites", "Action": "Load", "Target": "Characters/{{ModId}}_PILindsay", "FromFile": "assets/images/characters/Lindsay_Sprites.png", }, { "LogName": "Lindsay Dialogue", "Action": "Include", "FromFile": "assets/data/dialogue.json" }, ] } { "Format": "2.7.0", "Changes": [ // add location data { "Action": "EditData", "Target": "Data/Locations", "Entries": { "{{ModId}}_PrairieIslandEntrance": { "CreateOnLoad": { "MapPath": "Maps/{{ModId}}_PrairieIslandEntrance" } } } }, // add the map file { "Action": "Load", "Target": "Maps/{{ModId}}_ExampleCave", "FromFile": "assets/maps/PrairieIslandEntrance.tmx" }, // add a warp from another map { "Action": "EditMap", "Target": "Maps/Town", "AddWarps": [ "29 67 {{ModId}}_ExampleCave 0 30" // warp from town (center of plaza) to custom location (tile 0, 30) ] } ] }
Click this button: