mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-17 10:25:21 +02:00
Add ability to override item images using meta (#12614)
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user