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

From Vintage Story Wiki
(Created page with "Чтобы указать форму по типу, нам нужно удалить свойство <code>shape</code> и заменить его на <code>shapebytype</cod...")
 
No edit summary
 
Line 1: Line 1:
Чтобы указать форму по типу, нам нужно удалить свойство <code>shape</code> и заменить его на <code>shapebytype</code>:
Чтобы указать форму по типу, нам нужно удалить свойство <code>shape</code> и заменить его на <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 13:41, 16 January 2024

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>

Чтобы указать форму по типу, нам нужно удалить свойство shape и заменить его на shapebytype:

	"shapebytype": {
		"*-good": {
			"base": "block/myshinymodel1",
		},
		"*-used": {
			"base": "block/myshinymodel",
		},
	},