Modding:Mod Packaging/ru: Difference between revisions

From Vintage Story Wiki
Created page with "* <code>"type": "content"</code>: определяет этот мод как '''Content Mod'''. Модификации контента не могут содержать к..."
(Created page with "Помимо<code>"type": "content"</code>, существует также <code>"type": "theme"</code> и <code>"type": "code"</code>.")
(Created page with "* <code>"type": "content"</code>: определяет этот мод как '''Content Mod'''. Модификации контента не могут содержать к...")
Line 71: Line 71:
Помимо<code>"type": "content"</code>, существует также <code>"type": "theme"</code> и <code>"type": "code"</code>.
Помимо<code>"type": "content"</code>, существует также <code>"type": "theme"</code> и <code>"type": "code"</code>.


* <code>"type": "content"</code>: Defines this mod as being a '''Content Mod'''. Content Mods cannot contain any C# code (if it does they will be ignored).
* <code>"type": "content"</code>: определяет этот мод как '''Content Mod'''. Модификации контента не могут содержать код C# (если это так, они будут проигнорированы).
* <code>"type": "theme"</code>: Defines this mod as being a '''Theme Pack'''. Theme Packs cannot override gameplay affecting assets categories (such as blocktypes, itemtypes and so on) and no C# code will be loaded.
* <code>"type": "theme"</code>: определяет этот мод как '''Theme Pack'''. Тематические пакеты не могут переопределить игровой процесс, влияющий на категории активов (такие как типы блоков, типы предметов и т. д.), и код C# не будет загружен.
* <code>"type": "code"</code>: Defines this mod as being a '''Code Mod'''. Code Mods are the same as a Content Mods, except they can also load C# code to do things that are not possible with JSON.
* <code>"type": "code"</code>: Определяет этот мод как '''Code Mod'''. Модификации кода аналогичны модификациям содержимого, за исключением того, что они также могут загружать код C#, чтобы делать то, что невозможно с помощью JSON.


<syntaxhighlight lang=json>
<syntaxhighlight lang=json>
Confirmedusers
13,514

edits