forked from Mirrorlandia_minetest/minetest
Document that item_image_button[] name is non-optional
This commit is contained in:
parent
d6be6682ec
commit
514bf3582c
@ -2726,6 +2726,7 @@ Elements
|
|||||||
### `item_image_button[<X>,<Y>;<W>,<H>;<item name>;<name>;<label>]`
|
### `item_image_button[<X>,<Y>;<W>,<H>;<item name>;<name>;<label>]`
|
||||||
|
|
||||||
* `item name` is the registered name of an item/node
|
* `item name` is the registered name of an item/node
|
||||||
|
* `name` is non-optional and must be unique, or else tooltips are broken.
|
||||||
* The item description will be used as the tooltip. This can be overridden with
|
* The item description will be used as the tooltip. This can be overridden with
|
||||||
a tooltip element.
|
a tooltip element.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user