Line 244: |
Line 244: |
| "Target": "Data/AdditionalFarms", | | "Target": "Data/AdditionalFarms", |
| "Entries": { | | "Entries": { |
− | "Pathoschild.PineappleFarm/PineappleFarm": { // for technical reasons, you need to specify the ID here *and* in the "ID" field | + | "ExampleAuthor.PineappleFarm/PineappleFarm": { // for technical reasons, you need to specify the ID here *and* in the "ID" field |
− | "ID": "Pathoschild.PineappleFarm/PineappleFarm", | + | "ID": "ExampleAuthor.PineappleFarm/PineappleFarm", |
− | "TooltipStringPath": "Strings/UI:Pathoschild_PineappleFarm", | + | "TooltipStringPath": "Strings/UI:ExampleAuthor_PineappleFarm", |
− | "MapName": "Pathoschild_PineappleFarm", | + | "MapName": "ExampleAuthor_PineappleFarm", |
− | "IconTexture": "Mods/Pathoschild.PineappleFarm/Icon", | + | "IconTexture": "Mods/ExampleAuthor.PineappleFarm/Icon", |
− | "WorldMapTexture": "Mods/Pathoschild.PineappleFarm/WorldMap" | + | "WorldMapTexture": "Mods/ExampleAuthor.PineappleFarm/WorldMap" |
| } | | } |
| } | | } |
Line 259: |
Line 259: |
| "Target": "Strings/UI", | | "Target": "Strings/UI", |
| "Entries": { | | "Entries": { |
− | "Pathoschild_PineappleFarm": "Pineapple Farm_A farm shaped like a pineapple!" // tip: use <nowiki>{{i18n}}</nowiki> to translate it | + | "ExampleAuthor_PineappleFarm": "Pineapple Farm_A farm shaped like a pineapple!" // tip: use <nowiki>{{i18n}}</nowiki> to translate it |
| } | | } |
| }, | | }, |
Line 266: |
Line 266: |
| { | | { |
| "Action": "Load", | | "Action": "Load", |
− | "Target": "Maps/Pathoschild_PineappleFarm", | + | "Target": "Maps/ExampleAuthor_PineappleFarm", |
| "FromFile": "assets/map.tmx" | | "FromFile": "assets/map.tmx" |
| }, | | }, |
Line 273: |
Line 273: |
| { | | { |
| "Action": "Load", | | "Action": "Load", |
− | "Target": "Mods/Pathoschild.PineappleFarm/Icon, Mods/Pathoschild.PineappleFarm/WorldMap", | + | "Target": "Mods/ExampleAuthor.PineappleFarm/Icon, Mods/ExampleAuthor.PineappleFarm/WorldMap", |
| "FromFile": "assets/<nowiki>{{TargetWithoutPath}}</nowiki>.png" | | "FromFile": "assets/<nowiki>{{TargetWithoutPath}}</nowiki>.png" |
| } | | } |
Line 353: |
Line 353: |
| "Target": "Data/AdditionalLanguages", | | "Target": "Data/AdditionalLanguages", |
| "Entries": { | | "Entries": { |
− | "Pathoschild.Esperanto": { // for technical reasons, you need to specify the ID here *and* in the "ID" field | + | "ExampleAuthor.Esperanto": { // for technical reasons, you need to specify the ID here *and* in the "ID" field |
− | "ID": "Pathoschild.Esperanto", | + | "ID": "ExampleAuthor.Esperanto", |
| "LanguageCode": "eo", | | "LanguageCode": "eo", |
− | "ButtonTexture": "Mods/Pathoschild.Esperanto/Button", | + | "ButtonTexture": "Mods/ExampleAuthor.Esperanto/Button", |
| "UseLatinFont": true, | | "UseLatinFont": true, |
| "TimeFormat": "[HOURS_24_00]:[MINUTES]", | | "TimeFormat": "[HOURS_24_00]:[MINUTES]", |
Line 368: |
Line 368: |
| { | | { |
| "Action": "Load", | | "Action": "Load", |
− | "Target": "Mods/Pathoschild.Esperanto/Button", | + | "Target": "Mods/ExampleAuthor.Esperanto/Button", |
| "FromFile": "assets/button.png" | | "FromFile": "assets/button.png" |
| } | | } |
Line 427: |
Line 427: |
| "Target": "Data/SpouseRooms", | | "Target": "Data/SpouseRooms", |
| "Entries": { | | "Entries": { |
− | "Akila": "Pathoschild_ExampleAkilaMod_SpouseRoom/0" | + | "Akila": "ExampleAuthor_ExampleAkilaMod_SpouseRoom/0" |
| } | | } |
| }, | | }, |
Line 434: |
Line 434: |
| { | | { |
| "Action": "Load", | | "Action": "Load", |
− | "Target": "Maps/Pathoschild_ExampleAkilaMod_SpouseRoom", | + | "Target": "Maps/ExampleAuthor_ExampleAkilaMod_SpouseRoom", |
| "FromFile": "assets/spouse-room.tmx" | | "FromFile": "assets/spouse-room.tmx" |
| } | | } |
Line 472: |
Line 472: |
| "Target": "Data/SpousePatios", | | "Target": "Data/SpousePatios", |
| "Entries": { | | "Entries": { |
− | "Akila": "Pathoschild_ExampleAkilaMod_OutsideArea/0/16 16 16 17 17 17 18 18 18 19 19 19/1 5" | + | "Akila": "ExampleAuthor_ExampleAkilaMod_OutsideArea/0/16 16 16 17 17 17 18 18 18 19 19 19/1 5" |
| } | | } |
| }, | | }, |
Line 479: |
Line 479: |
| { | | { |
| "Action": "Load", | | "Action": "Load", |
− | "Target": "Maps/Pathoschild_ExampleAkilaMod_OutsideArea", | + | "Target": "Maps/ExampleAuthor_ExampleAkilaMod_OutsideArea", |
| "FromFile": "assets/outside-area.tmx" | | "FromFile": "assets/outside-area.tmx" |
| } | | } |
Line 519: |
Line 519: |
| |} | | |} |
| | | |
− | For example, this Content Patcher pack would add a renovation to the fully-upgraded farmhouse based on a custom <samp>Pathoschild_PineapplesEverywhere_HasRenovation</samp> flag. Note that <samp>TextOperations</samp> is used to avoid overwriting any renovations added by another mod, and <samp>Pathoschild_PineapplesEverywhere_</samp> is a unique prefix for the hypothetical mod to avoid conflicts with other mods. | + | For example, this Content Patcher pack would add a renovation to the fully-upgraded farmhouse based on a custom <samp>ExampleAuthor_PineapplesEverywhere_HasRenovation</samp> flag. Note that <samp>TextOperations</samp> is used to avoid overwriting any renovations added by another mod, and <samp>ExampleAuthor_PineapplesEverywhere_</samp> is a unique prefix for the hypothetical mod to avoid conflicts with other mods. |
| {{#tag:syntaxhighlight| | | {{#tag:syntaxhighlight| |
| { | | { |
Line 532: |
Line 532: |
| "Operation": "Append", | | "Operation": "Append", |
| "Target": [ "MapProperties", "AdditionalRenovations" ], | | "Target": [ "MapProperties", "AdditionalRenovations" ], |
− | "Value": "Pathoschild_PineapplesEverywhere_KitchenUpgrade Pathoschild_PineapplesEverywhere_HasRenovation Pathoschild_PineapplesEverywhere_Kitchen Pathoschild_PineapplesEverywhere_Empty 0 19 3 3", | + | "Value": "ExampleAuthor_PineapplesEverywhere_KitchenUpgrade ExampleAuthor_PineapplesEverywhere_HasRenovation ExampleAuthor_PineapplesEverywhere_Kitchen ExampleAuthor_PineapplesEverywhere_Empty 0 19 3 3", |
| "Delimiter": "," // if there are already renovations, add a comma before this one | | "Delimiter": "," // if there are already renovations, add a comma before this one |
| } | | } |
Line 541: |
Line 541: |
| { | | { |
| "Action": "Load", | | "Action": "Load", |
− | "Target": "Maps/Pathoschild_PineapplesEverywhere_Kitchen", | + | "Target": "Maps/ExampleAuthor_PineapplesEverywhere_Kitchen", |
| "FromFile": "assets/kitchen-upgrade.tmx" | | "FromFile": "assets/kitchen-upgrade.tmx" |
| }, | | }, |
Line 548: |
Line 548: |
| { | | { |
| "Action": "Load", | | "Action": "Load", |
− | "Target": "Maps/Pathoschild_PineapplesEverywhere_Empty", | + | "Target": "Maps/ExampleAuthor_PineapplesEverywhere_Empty", |
| "FromFile": "assets/kitchen-upgrade-empty.tmx" | | "FromFile": "assets/kitchen-upgrade-empty.tmx" |
| } | | } |
Line 626: |
Line 626: |
| "Target": "Data/AdditionalWallpaperFlooring", | | "Target": "Data/AdditionalWallpaperFlooring", |
| "Entries": { | | "Entries": { |
− | "Pathoschild.CustomWallpapers": { // for technical reasons, you need to specify the ID here *and* in the "ID" field | + | "ExampleAuthor.CustomWallpapers": { // for technical reasons, you need to specify the ID here *and* in the "ID" field |
− | "ID": "Pathoschild.CustomWallpapers", | + | "ID": "ExampleAuthor.CustomWallpapers", |
− | "Texture": "Mods/Pathoschild.CustomWallpapers/Wallpapers", | + | "Texture": "Mods/ExampleAuthor.CustomWallpapers/Wallpapers", |
| "IsFlooring": false, | | "IsFlooring": false, |
| "Count": 3 | | "Count": 3 |
Line 638: |
Line 638: |
| { | | { |
| "Action": "Load", | | "Action": "Load", |
− | "Target": "Mods/Pathoschild.CustomWallpapers/Wallpapers", | + | "Target": "Mods/ExampleAuthor.CustomWallpapers/Wallpapers", |
| "FromFile": "assets/wallpapers.png" | | "FromFile": "assets/wallpapers.png" |
| } | | } |