Modding:Basic Block/ru: Difference between revisions

From Vintage Story Wiki
Created page with "=== Вариантгруппа: Состояние ==="
(Created page with "Полное определение blocktype может тогда выглядеть так: <syntaxhighlight lang="json"> { code: "myshinyblock", creativeinventory: { "ge...")
(Created page with "=== Вариантгруппа: Состояние ===")
Line 178: Line 178:
[[File:2017-01-10 14-36-58.png|700px]]
[[File:2017-01-10 14-36-58.png|700px]]


=== Variantgroup: Condition ===
=== Вариантгруппа: Состояние ===


Let's at another group to our block, which will determine the condition of this block. There will be two states <code>good</code> and <code>used</code>. We can add this group by adding another property inside <code>variantgroups[]</code>.
Let's at another group to our block, which will determine the condition of this block. There will be two states <code>good</code> and <code>used</code>. We can add this group by adding another property inside <code>variantgroups[]</code>.