mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 10:31:50 +00:00
update doc/*/content-packs.md
This commit is contained in:
parent
9ea50148b8
commit
ec8326f3ed
2 changed files with 4 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ Content-pack folder must contain file **package.json** with following contents:
|
|||
{
|
||||
"id": "pack_id",
|
||||
"title": "pack name will be displayed in the content menu",
|
||||
"version": "content-pack version - major.minor",
|
||||
"version": "content-pack version - major.minor.[patch])",
|
||||
"creator": "content-pack creator",
|
||||
"description": "short description",
|
||||
"dependencies": [
|
||||
|
|
@ -26,6 +26,7 @@ Dependency levels are indicated by prefixes in the name:
|
|||
- '!' - required dependency
|
||||
- '?' - optional dependency
|
||||
- '~' - weak dependency
|
||||
|
||||
If prefix is not specified, '!' level will be used.
|
||||
|
||||
Example: '~randutil' - weak dependency 'randutil'.
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
{
|
||||
"id": "выбранное_имя_пака",
|
||||
"title": "имя контент-пака для отображения в меню контента",
|
||||
"version": "версия контент-пака в формате major.minor",
|
||||
"version": "версия контент-пака в формате major.minor.[patch]",
|
||||
"creator": "создатель контент-пака",
|
||||
"description": "краткое описание",
|
||||
"dependencies": [
|
||||
|
|
@ -28,6 +28,7 @@
|
|||
- '!' - обязательная зависимость
|
||||
- '?' - опциональная зависимость
|
||||
- '~' - слабая зависимость
|
||||
|
||||
Отсутствие префикса интерпретируется как '!'.
|
||||
|
||||
Пример: '~randutil' - слабая зависимость 'randutil'.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue