mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 22:41:49 +00:00
- Added Lua scripts hud.open, inventory.create and inventory.remove - Window now resizes even if it is not focused
This commit is contained in:
parent
5faca685ec
commit
8e549fe806
11 changed files with 117 additions and 13 deletions
|
|
@ -7,7 +7,11 @@ hud.open_inventory()
|
|||
-- Close inventory.
|
||||
hud.close_inventory()
|
||||
|
||||
-- Open block UI and inventory.
|
||||
-- Open UI and inventory.
|
||||
-- Throws an exception if has no UI layout.
|
||||
hud.open(invid: int, layoutid: str)
|
||||
|
||||
-- Open block UI and inventory.
|
||||
-- Throws an exception if block has no UI layout.
|
||||
-- Returns block inventory ID (if *"inventory-size"=0* a virtual
|
||||
-- inventory will be created), and UI layout ID.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue