Changes

Jump to navigation Jump to search
m
Replace deprecated <source> tags with <syntaxhighlight> tags
Line 58: Line 58:  
<li>Edit the unpacked file (see below).</li>
 
<li>Edit the unpacked file (see below).</li>
 
<li>If this is a data file (not an image or map), there's one more step if you want to replace or edit the file with [[Modding:Content Patcher|Content Patcher]]: removing the XNB metadata. Your current JSON file should look something like this:
 
<li>If this is a data file (not an image or map), there's one more step if you want to replace or edit the file with [[Modding:Content Patcher|Content Patcher]]: removing the XNB metadata. Your current JSON file should look something like this:
<source lang="js">
+
<syntaxhighlight lang="js">
 
{
 
{
 
     "header": {
 
     "header": {
Line 84: Line 84:  
     }
 
     }
 
}
 
}
</source>
+
</syntaxhighlight>
 
Just remove everything except the content field, so it looks like this:
 
Just remove everything except the content field, so it looks like this:
<source lang="js">
+
<syntaxhighlight lang="js">
 
{
 
{
 
     "0": "Weeds/0/-1/Basic/Weeds/A bunch of obnoxious weeds."
 
     "0": "Weeds/0/-1/Basic/Weeds/A bunch of obnoxious weeds."
 
}
 
}
</source></li>
+
</syntaxhighlight></li>
 
</ol>
 
</ol>
  
114

edits

Navigation menu