mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-27 17:28:41 +00:00
Overlays for wield and inventory images (#6107)
* Overlays for wield and inventory images
This commit is contained in:
parent
6761e21383
commit
f6a33a1a7a
6 changed files with 135 additions and 51 deletions
|
@ -60,7 +60,9 @@ struct ItemDefinition
|
|||
Visual properties
|
||||
*/
|
||||
std::string inventory_image; // Optional for nodes, mandatory for tools/craftitems
|
||||
std::string inventory_overlay; // Overlay of inventory_image.
|
||||
std::string wield_image; // If empty, inventory_image or mesh (only nodes) is used
|
||||
std::string wield_overlay; // Overlay of wield_image.
|
||||
std::string palette_image; // If specified, the item will be colorized based on this
|
||||
video::SColor color; // The fallback color of the node.
|
||||
v3f wield_scale;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue