Modding:Basic Block: Difference between revisions

From Vintage Story Wiki
Line 43: Line 43:
[[File:2017-01-10 12-33-45.png|700px]].
[[File:2017-01-10 12-33-45.png|700px]].


== Translations ==
== Naming the Block ==


Not supported yet.
To give the block a proper name, you currently have to manually add a line like this in the file assets/lang/en.json
 
<syntaxhighlight lang="json">
"block-mygoldblock": "Block of Gold",
</syntaxhighlight>
 
A better way of handling naming and translation will come once there is a need for it.


== Export a mod ==
== Export a mod ==
Confirmedusers, Bureaucrats, editor, Administrators
1,779

edits