diff --git a/assets/voxygen/element/icons/sword_whirlwind.png b/assets/voxygen/element/icons/sword_whirlwind.png new file mode 100644 index 0000000000..6b76ae0c1a --- /dev/null +++ b/assets/voxygen/element/icons/sword_whirlwind.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f5f67d60ff7ab065a99e49ee0cf1cda2ddc4d1b1c1370f5cc9ca066dedcbb682 +size 533 diff --git a/voxygen/src/hud/img_ids.rs b/voxygen/src/hud/img_ids.rs index 6548e91f48..29b35d13f6 100644 --- a/voxygen/src/hud/img_ids.rs +++ b/voxygen/src/hud/img_ids.rs @@ -267,6 +267,7 @@ image_ids! { fire_spell_1: "voxygen.element.icons.fire_spell_0", snake_arrow_0: "voxygen.element.icons.snake", heal_0: "voxygen.element.icons.heal_0", + sowrd_whirlwind: "voxygen.element.icons.sword_whirlwind", // Buttons button: "voxygen.element.buttons.button", diff --git a/voxygen/src/hud/slots.rs b/voxygen/src/hud/slots.rs index 534d0f3f50..13113cc5d3 100644 --- a/voxygen/src/hud/slots.rs +++ b/voxygen/src/hud/slots.rs @@ -84,6 +84,7 @@ pub enum HotbarImage { Item(ItemKey), Fireball, SnakeArrow, + SwordWhirlwind, } type HotbarSource<'a> = (&'a hotbar::State, &'a Inventory, &'a Loadout, &'a Energy); @@ -113,6 +114,7 @@ impl<'a> SlotKey<HotbarSource<'a>, HotbarImageSource<'a>> for HotbarSlot { "Boost" => Some(HotbarImage::SnakeArrow), _ => None, }, + ToolKind::Sword(_) => Some(HotbarImage::SwordWhirlwind), _ => None, }, _ => None, @@ -143,6 +145,7 @@ impl<'a> SlotKey<HotbarSource<'a>, HotbarImageSource<'a>> for HotbarSlot { HotbarImage::Item(key) => item_imgs.img_id_or_not_found_img(key.clone()), HotbarImage::SnakeArrow => imgs.snake_arrow_0, HotbarImage::Fireball => imgs.fire_spell_1, + HotbarImage::SwordWhirlwind => imgs.sowrd_whirlwind, } } }