Translations:Modding:Basic Block/65/es: Difference between revisions

From Vintage Story Wiki
No edit summary
No edit summary
 
Line 2: Line 2:
<syntaxhighlight lang="json">
<syntaxhighlight lang="json">
shapebytype: {
shapebytype: {
"*-good": {
"*-bien": {
base: "block/mimodelobrillante1",
base: "block/mimodelobrillante1",
},
},
"*-used": {
"*-usado": {
base: "block/mimodelobrillante",
base: "block/mimodelobrillante",
},
},
},
},
</syntaxhighlight>
</syntaxhighlight>

Latest revision as of 19:58, 14 June 2023

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Modding:Basic Block)
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">
"shapebytype": {
"*-good": {
"base": "block/myshinymodel1",
},
"*-used": {
"base": "block/myshinymodel",
},
},
</syntaxhighlight>

Para especificar la forma por tipo tenemos que eliminar la propiedad shape y sustituirla por shapebytype:

	shapebytype: {
		"*-bien": {
			base: "block/mimodelobrillante1",
		},
		"*-usado": {
			base: "block/mimodelobrillante",
		},
	},