Translations:Modding:Basic Block/65/en: Difference between revisions
From Vintage Story Wiki
(Importing a new version from external source) |
(Importing a new version from external source) |
||
Line 1: | Line 1: | ||
In order to specify the shape by type we need to remove the property <code>shape</code> and replace it with <code>shapebytype</code>: | In order to specify the shape by type we need to remove the property <code>shape</code> and replace it with <code>shapebytype</code>: | ||
<syntaxhighlight lang="json"> | <syntaxhighlight lang="json"> | ||
shapebytype: { | "shapebytype": { | ||
"*-good": { | "*-good": { | ||
base: "block/myshinymodel1", | "base": "block/myshinymodel1", | ||
}, | }, | ||
"*-used": { | "*-used": { | ||
base: "block/myshinymodel", | "base": "block/myshinymodel", | ||
}, | }, | ||
}, | }, | ||
</syntaxhighlight> | </syntaxhighlight> |
Latest revision as of 14:09, 25 September 2023
In order to specify the shape by type we need to remove the property shape
and replace it with shapebytype
:
"shapebytype": {
"*-good": {
"base": "block/myshinymodel1",
},
"*-used": {
"base": "block/myshinymodel",
},
},