mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
change merchant backpack visuals and add mining skill icons
This commit is contained in:
parent
3cba7e7f87
commit
d72d926341
@ -6,7 +6,6 @@
|
||||
Armor(Feet): Item("common.items.armor.merchant.foot"),
|
||||
Armor(Belt): Item("common.items.armor.merchant.belt"),
|
||||
Armor(Head): Item("common.items.armor.merchant.turban"),
|
||||
|
||||
Lantern: Item("common.items.lantern.black_0"),
|
||||
Armor(Neck): Item("common.items.armor.misc.neck.gem_of_resilience"),
|
||||
Armor(Ring1): Item("common.items.armor.misc.ring.gold"),
|
||||
|
@ -351,6 +351,8 @@ pub fn ability_image(imgs: &img_ids::Imgs, ability_id: &str) -> image::Id {
|
||||
"common.abilities.shield.block" => imgs.onehshield_m2,
|
||||
// Dagger
|
||||
"common.abilities.dagger.tempbasic" => imgs.onehdagger_m1,
|
||||
// Pickaxe
|
||||
"common.abilities.pick.swing" => imgs.mining,
|
||||
|
||||
_ => imgs.not_found,
|
||||
}
|
||||
|
@ -1108,7 +1108,7 @@ fn weapon_bag(economy: Option<&trade::SiteInformation>) -> Item {
|
||||
fn ingredient_backpack(economy: Option<&trade::SiteInformation>, rng: &mut impl Rng) -> Item {
|
||||
#![warn(clippy::pedantic)]
|
||||
|
||||
let mut bag = Item::new_from_asset_expect("common.items.armor.misc.back.backpack");
|
||||
let mut bag = Item::new_from_asset_expect("common.items.armor.merchant.back");
|
||||
let slots = bag.slots_mut();
|
||||
|
||||
// It's safe to truncate here, because coins clamped to 3000 max
|
||||
|
Loading…
Reference in New Issue
Block a user