diff --git a/doc/en/world-generator.md b/doc/en/world-generator.md index 0de466bb..15d9ea54 100644 --- a/doc/en/world-generator.md +++ b/doc/en/world-generator.md @@ -72,15 +72,13 @@ Fragments used by the generator must present in the directory: ## Structures -A structure is a set of rules for inserting a fragment into the world by the generator. It currently has no properties, being created as empty objects in the `generators/generator_name.files/structures.json` file. Example: -```lua -{ - "tree0": {}, - "tree1": {}, - "tree2": {}, - "tower": {}, - "coal_ore0": {} -} +A structure is a set of rules for inserting a fragment into the world by the generator. It currently has no properties, being created as empty objects in the `generators/generator_name.files/structures.toml` file. Example: +```toml +tree0 = {} +tree1 = {} +tree2 = {} +tower = {} +coal_ore0 = {} ``` Currently, the name of the structure must match the name of the fragment used. @@ -136,7 +134,7 @@ structures = [ - block - plant block - structure-chance - probability of generating a small structure on a surface block. - structures - structures randomly placed on the surface. - - name - name of the structure declared in `structures.json`. + - name - name of the structure declared in `structures.toml`. - weight - weight directly affecting the chance of choosing a specific structure. ### Biome Parameters diff --git a/doc/ru/world-generator.md b/doc/ru/world-generator.md index ec3112cb..98be0ff4 100644 --- a/doc/ru/world-generator.md +++ b/doc/ru/world-generator.md @@ -72,15 +72,13 @@ ## Структуры -Структура - набор правил по вставке фрагмента в мир генератором. На данный момент не имеет свойств, создаваясь в виде пустых объектов в файле `generators/имя_генератора.files/structures.json`. Пример: -```lua -{ - "tree0": {}, - "tree1": {}, - "tree2": {}, - "tower": {}, - "coal_ore0": {} -} +Структура - набор правил по вставке фрагмента в мир генератором. На данный момент не имеет свойств, создаваясь в виде пустых объектов в файле `generators/имя_генератора.files/structures.toml`. Пример: +```toml +tree0 = {} +tree1 = {} +tree2 = {} +tower = {} +coal_ore0 = {} ``` На данный момент, имя структуры должно совпадать с именем использованного фрагмента. @@ -136,7 +134,7 @@ structures = [ - block - блок растения - structure-chance - вероятность генерации малой структуры на блоке поверхности. - structures - структуры, случайно расставляемые на поверхности. - - name - имя структуры, объявленной в `structures.json`. + - name - имя структуры, объявленной в `structures.toml`. - weight - вес, напрямую влияющий на шанс выбора конкретной структуры. ### Параметры биомов