Modding:Basic Modding Examples: Difference between revisions

From Vintage Story Wiki
m
add json syntax highlighting
m (Add quotes to keys in json)
m (add json syntax highlighting)
Line 109: Line 109:
<!--T:21-->
<!--T:21-->
Inside the assets folder, navigate to <code>assets/survival/worldgen/</code>. Copy aside the landforms.json so you have a backup, then open the landforms.json. Remove everything in this file and paste in the following text:
Inside the assets folder, navigate to <code>assets/survival/worldgen/</code>. Copy aside the landforms.json so you have a backup, then open the landforms.json. Remove everything in this file and paste in the following text:
<pre>
<syntaxhighlight lang="json">
{
{
code: "landforms",
"code": "landforms",
"variants":  
"variants":  
[
[
Line 127: Line 127:
]
]
}
}
</pre>
</syntaxhighlight>


<!--T:22-->
<!--T:22-->
Confirmedusers
27

edits