diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2021-03-04 10:09:35 +0100 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2021-03-05 09:45:58 +0100 |
commit | 2fd31f525e28f88ef84179be4735da5115a0a0ee (patch) | |
tree | 3ee4a7aa91e8fd1c074bfdf90b948478eddc73e1 /src/itemdef.h | |
parent | 0d94a5e581d8338cb02af8a250623617f1cb6b7d (diff) | |
download | minetest-wield_animation.tar.xz |
Different animations for different actionswield_animation
Diffstat (limited to 'src/itemdef.h')
-rw-r--r-- | src/itemdef.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/itemdef.h b/src/itemdef.h index 10b4e9069..4e12864c7 100644 --- a/src/itemdef.h +++ b/src/itemdef.h @@ -65,7 +65,10 @@ struct ItemDefinition */ std::string inventory_image; // Optional for nodes, mandatory for tools/craftitems std::string inventory_overlay; // Overlay of inventory_image. - std::string wield_animation; // Named wield animation + std::string wield_animation_base; // Named wield animations + std::string wield_animation_dig; + std::string wield_animation_place; + std::string wield_animation_activate; 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 |