Modding:Asset System: Difference between revisions

From Vintage Story Wiki
Line 228: Line 228:
If you want to create a new block for example you can use your own domain <code>assets/mymoddomain/blocktypes/myblock.json</code>. In this case the folder <code>mymoddomain</code> specifies the domain and therefore the code of the added block will be <code>mymoddomain:myblock</code>.
If you want to create a new block for example you can use your own domain <code>assets/mymoddomain/blocktypes/myblock.json</code>. In this case the folder <code>mymoddomain</code> specifies the domain and therefore the code of the added block will be <code>mymoddomain:myblock</code>.


== Overwriting game assets ==
== Overwriting assets ==


There are no limitations to the system. So you can overwrite assets from Vintagestory itself by using the <code>game</code> domain folder.
There are no limitations to the system. So you can overwrite assets from Vintagestory itself by using the <code>game</code> domain folder.
Confirmedusers, editor, Administrators
886

edits