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.8.0", "Changes": [ { "LogName": "Blank JSON load", "Action": "Load", "Target": "Characters/Dialogue/{{ModId}}_SpeedyManny, Characters/schedules/{{ModId}}_SpeedyManny, Strings/schedules/{{ModId}}_SpeedyManny", "FromFile": "assets/blank.json", }, { "LogName": "Manny Desc", "Action": "Include", "FromFile": "assets/Dispos.json" }, { "LogName": "Load All Portraits", "Action": "Load", "Target": "Portraits/{{ModId}}/Manny_Spring, Portraits/{{ModId}}/Manny_Summer,Portraits/{{ModId}}/Manny_Fall,Portraits/{{ModId}}/Manny_Winter,Portraits/{{ModId}}/Manny_Beach", "FromFile": "assets/images/{{TargetWithoutPath}}_Portrait.png", }, { "LogName": "Load All Sprites", "Action": "Load", "Target": "Characters/{{ModId}}/Manny_Spring, Characters/{{ModId}}/Manny_Summer,Characters/{{ModId}}/Manny_Fall,Characters/{{ModId}}/Manny_Winter,Characters/{{ModId}}/Manny_Beach",", "FromFile": "assets/images/{{TargetWithoutPath}}.png", }, { "LogName": "NPC Dialogue", "Action": "Include", "FromFile": "assets/Dialogue.json" }, { "LogName": "Gift Tastes Include", "Action": "Include", "FromFile": "assets/GiftTastes.json" }, { "LogName": "Add custom locations", "Action": "EditData", "Target": "Data/Locations", "Entries": { "{{ModId}}_SpeedyShop": { "DisplayName": "{{i18n: location.Speedy-Shop.name}}", "DefaultArrivalTile": { "X": 12, "Y": 28 }, "CreateOnLoad": { "MapPath": "Maps/{{ModId}}_SpeedyManny_Interior" } } } }, { "LogName": "Load Speedy's Tileset", "Action": "Load", "Target": "Maps/Speedy_Bakery_Tileset", "FromFile": "Assets/Images/Speedy_Bakery_Tileset.png" }, { "LogName": "Replace Map", "Action": "EditMap", "Target": "Maps/Town", "FromFile": "Assets/Maps/town_mod.tmx" }, { "LogName": "Load Manny's Bakery Interior Map", "Action": "Load", "Target": "Maps/{{ModId}}_SpeedyManny_Interior", "FromFile": "assets/Maps/Manny-Bakery-Interior.tmx" }, // Adds the LockedDoorWarp. This tile is locked behind a specific time in-game + the player clicking on said tile. It can also be locked behind heart level with an NPC. { "LogName": "Edit Town map to add warp into Manny's Bakery", "Action": "EditMap", "Target": "Maps/Town", // Target the map you're adding your house to. "MapTiles": [ { "Position": { "X": 19, "Y": 12 }, // The coordinate of the bottom tile of the door. This is the first set of coordinates that we wrote down earlier in the tutorial. "Layer": "Buildings", // The tile the player is clicking is on the buildings layer. "SetProperties": { "Action": "LockedDoorWarp 12 26 {{ModID}}_SpeedyShop 900 2200" // LockedDoorWarp that takes you to these coordinates INSIDE the house, then the name of the house, and then the opening and closing time. If you also want the player to be locked out until they reach a certain heart level with an NPC you can add their internal name and the number of friendship points needed to use the warp (in this case AirynDao 1000). } } ] }, { "LogName": "Edit Manny's Bakery interior to add warp out of Manny's Bakery", "Action": "EditMap", "Target": "Maps/{{ModID}}_SpeedyShop", // Target the interior house map this time "AddWarps": [ "12 29 Town 19 13", // The first set of coordinates is where you want the player to step to LEAVE the house, the second set is where they will show up OUTSIDE the house, in the village. ] }, { "LogName": "Include Bakery Shop", "Action": "Include", "FromFile": "assets/Shops.json" }, { "LogName": "Manny Schedule", "Action": "Include", "FromFile": "assets/Schedules.json" }, { "LogName": "Manny Animations", "Action": "Include", "FromFile": "assets/AnimationDescriptions.json" }, { "LogName": "Objects", "Action": "Include", "FromFile": "assets/Objects.json" }, ] }
Click this button: