diff --git a/doc/en/scripting/ui.md b/doc/en/scripting/ui.md index 7ce304b8c..02cebe709 100644 --- a/doc/en/scripting/ui.md +++ b/doc/en/scripting/ui.md @@ -236,3 +236,11 @@ Properties: | Name | Type | Read | Write | Description | | --------- | ---- | ---- | ----- | ------------------------------------------------- | | inventory | int | yes | yes | id of the inventory to which the element is bound | + +## Slot + +Properties: + +| Name | Type | Read | Write | Description | +| --------- | ---- | ---- | ----- | ------------------------------------------------- | +| inventory | int | yes | no | id of the inventory to which the element is bound | diff --git a/doc/ru/scripting/ui.md b/doc/ru/scripting/ui.md index 963e8b004..4d1fee695 100644 --- a/doc/ru/scripting/ui.md +++ b/doc/ru/scripting/ui.md @@ -237,3 +237,11 @@ Canvas.decode(data: Bytearray, format: str) -> Canvas |-----------|-----|--------|--------|-------------------------------------------| | inventory | int | да | да | id инвентаря, к которому привязан элемент | +## Слот (slot) + +Свойства: + +| Название | Тип | Чтение | Запись | Описание | +|-----------|-----|--------|--------|-------------------------------------------| +| inventory | int | да | нет | id инвентаря, к которому привязан элемент | +