Changes

→‎Example: put in expander, change to json highlighting
Line 74: Line 74:  
==Example==
 
==Example==
 
This is an example of a [[Modding:Content Patcher|Content Patcher]] pack adding a custom farm type with custom location data.
 
This is an example of a [[Modding:Content Patcher|Content Patcher]] pack adding a custom farm type with custom location data.
{{#tag:syntaxhighlight|
+
{{collapse|Data|content=<syntaxhighlight lang="json">
 
{
 
{
 
     "Format": "{{Content Patcher version}}",
 
     "Format": "{{Content Patcher version}}",
Line 185: Line 185:  
         }
 
         }
 
     ]
 
     ]
}|lang=javascript}}
+
}
 +
</syntaxhighlight>}}
    
[[Category:Modding]]
 
[[Category:Modding]]