mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Overlays for wield and inventory images (#6107)
* Overlays for wield and inventory images
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user