mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
Merge branch 'feat-inventory-enhancements' into feat-inventory-enhancements-p2
This commit is contained in:
commit
53355c4b7b
2 changed files with 10 additions and 1 deletions
|
|
@ -57,6 +57,10 @@ hud.get_block_inventory() -> int
|
|||
-- Gives the ID of the second open inventory (block, virtual inventory...) or 0.
|
||||
hud.get_second_inventory() -> int
|
||||
|
||||
-- Get the inventory ID of exchange item (grabbed item in inventory) or 0.
|
||||
-- It has only one slot - 0
|
||||
hud.get_exchange_inventory() -> int
|
||||
|
||||
-- Gives the ID of the player that the UI is bound to.
|
||||
hud.get_player() -> int
|
||||
|
||||
|
|
|
|||
|
|
@ -58,6 +58,11 @@ hud.get_block_inventory() -> int
|
|||
-- Дает ID второго открытого инвентаря (блок, виртуальный инвентарь...) или 0.
|
||||
hud.get_second_inventory() -> int
|
||||
|
||||
-- Получить ID инвентаря, в котором находится предмет во время
|
||||
-- его перемещения в инвентаре, или 0 если его не существует.
|
||||
-- Имеет единственный слот - 0
|
||||
hud.get_exchange_inventory() -> int
|
||||
|
||||
-- Дает ID игрока, к которому привязан пользовательский интерфейс.
|
||||
hud.get_player() -> int
|
||||
|
||||
|
|
@ -81,4 +86,4 @@ hud.set_allow_pause(flag: boolean)
|
|||
|
||||
-- Функция, управляющая именованным скелетом 'hand' (см. gfx.skeletons)
|
||||
hud.hand_controller: function()
|
||||
```
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue