Line 76: |
Line 76: |
| {{collapse|Data|content=<syntaxhighlight lang="json"> | | {{collapse|Data|content=<syntaxhighlight lang="json"> |
| { | | { |
− | "Format": "{{Content Patcher version}}",
| |
| "Changes": [ | | "Changes": [ |
| // add farm type | | // add farm type |
Line 83: |
Line 82: |
| "Target": "Data/AdditionalFarms", | | "Target": "Data/AdditionalFarms", |
| "Entries": { | | "Entries": { |
− | "ExampleAuthor.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": "ExampleAuthor.PineappleFarm/PineappleFarm", | | "ID": "ExampleAuthor.PineappleFarm/PineappleFarm", |
| "TooltipStringPath": "Strings/UI:ExampleAuthor_PineappleFarm", | | "TooltipStringPath": "Strings/UI:ExampleAuthor_PineappleFarm", |
Line 98: |
Line 97: |
| "Target": "Strings/UI", | | "Target": "Strings/UI", |
| "Entries": { | | "Entries": { |
− | "ExampleAuthor_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 {{i18n}} to translate it |
| } | | } |
| }, | | }, |
Line 113: |
Line 112: |
| "Action": "Load", | | "Action": "Load", |
| "Target": "Mods/ExampleAuthor.PineappleFarm/Icon, Mods/ExampleAuthor.PineappleFarm/WorldMap", | | "Target": "Mods/ExampleAuthor.PineappleFarm/Icon, Mods/ExampleAuthor.PineappleFarm/WorldMap", |
− | "FromFile": "assets/<nowiki>{{TargetWithoutPath}}</nowiki>.png" | + | "FromFile": "assets/{{TargetWithoutPath}}.png" |
| }, | | }, |
| | | |