summaryrefslogtreecommitdiff
path: root/src/itemdef.h
diff options
context:
space:
mode:
authorDániel Juhász <juhdanad@gmail.com>2017-08-25 11:20:53 +0000
committerLoïc Blot <nerzhul@users.noreply.github.com>2017-08-25 13:20:53 +0200
commitf6a33a1a7a298cb7d3fb18818bae97bd1b89d633 (patch)
tree7bc7689e33895e5a6084129484f679caaed1cfc0 /src/itemdef.h
parent6761e213836e902359c5d0acff277623dc3e1588 (diff)
downloadminetest-f6a33a1a7a298cb7d3fb18818bae97bd1b89d633.tar.gz
minetest-f6a33a1a7a298cb7d3fb18818bae97bd1b89d633.tar.bz2
minetest-f6a33a1a7a298cb7d3fb18818bae97bd1b89d633.zip
Overlays for wield and inventory images (#6107)
* Overlays for wield and inventory images
Diffstat (limited to 'src/itemdef.h')
-rw-r--r--src/itemdef.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/itemdef.h b/src/itemdef.h
index bca922d3a..45cff582a 100644
--- a/src/itemdef.h
+++ b/src/itemdef.h
@@ -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;