mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add ability to override item images using meta (#12614)
This commit is contained in:
parent
8c2c7fadbf
commit
4158b72971
13 changed files with 200 additions and 151 deletions
|
@ -2271,6 +2271,11 @@ Some of the values in the key-value store are handled specially:
|
|||
See also: `get_description` in [`ItemStack`]
|
||||
* `short_description`: Set the item stack's short description.
|
||||
See also: `get_short_description` in [`ItemStack`]
|
||||
* `inventory_image`: Override inventory_image
|
||||
* `inventory_overlay`: Override inventory_overlay
|
||||
* `wield_image`: Override wield_image
|
||||
* `wield_overlay`: Override wield_overlay
|
||||
* `wield_scale`: Override wield_scale, use vector.to_string
|
||||
* `color`: A `ColorString`, which sets the stack's color.
|
||||
* `palette_index`: If the item has a palette, this is used to get the
|
||||
current color from the palette.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue