mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Formspec: Create a new class for inventorylists (#9287)
This commit is contained in:
parent
908e762479
commit
1116918dbb
8 changed files with 448 additions and 291 deletions
|
@ -1946,8 +1946,6 @@ For coloured text you can use `minetest.colorize`.
|
|||
|
||||
Since formspec version 3, elements drawn in the order they are defined. All
|
||||
background elements are drawn before all other elements.
|
||||
`list` elements are an exception here. They are drawn last. This, however, might
|
||||
be changed at any time.
|
||||
|
||||
**WARNING**: do _not_ use a element name starting with `key_`; those names are
|
||||
reserved to pass key press events to formspec!
|
||||
|
@ -2058,7 +2056,6 @@ Elements
|
|||
be shown if the inventory list is of size 0.
|
||||
* **Note**: With the new coordinate system, the spacing between inventory
|
||||
slots is one-fourth the size of an inventory slot.
|
||||
* **Note**: Lists are drawn after every other element. This might change at any time.
|
||||
|
||||
### `list[<inventory location>;<list name>;<X>,<Y>;<W>,<H>;<starting item index>]`
|
||||
|
||||
|
@ -2066,7 +2063,6 @@ Elements
|
|||
be shown if the inventory list is of size 0.
|
||||
* **Note**: With the new coordinate system, the spacing between inventory
|
||||
slots is one-fourth the size of an inventory slot.
|
||||
* **Note**: Lists are drawn after every other element. This might change at any time.
|
||||
|
||||
### `listring[<inventory location>;<list name>]`
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue