Translations:Modding:Basic Block/46/ru
From Vintage Story Wiki
Revision as of 11:22, 20 July 2020 by NlgEndlessplay (talk | contribs) (Created page with "Полное определение blocktype может тогда выглядеть так: <syntaxhighlight lang="json"> { code: "myshinyblock", creativeinventory: { "ge...")
Полное определение blocktype может тогда выглядеть так:
{
code: "myshinyblock",
creativeinventory: { "general": ["*"] },
variantgroups: [
{ code: "type", states: ["gold", "iron"] }
],
blockmaterial: "Stone",
drawtype: "cube",
textures: {
all: {
base: "block/my{type}texture",
alternates: [{base: "block/my{type}texture1" }, {base: "block/my{type}texture2" }, {base: "block/my{type}texture3" }],
},
},
resistance: 3.5,
sounds: {
"place": "game:block/anvil",
"walk": "game:walk/stone"
}
}