mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
removed warnings and item test values
This commit is contained in:
parent
61e2a986f2
commit
662f5b1037
@ -277,62 +277,10 @@ impl Inventory {
|
||||
impl Default for Inventory {
|
||||
fn default() -> Inventory {
|
||||
let mut inventory = Inventory {
|
||||
slots: vec![None; 45],
|
||||
slots: vec![None; 18],
|
||||
};
|
||||
inventory.push(assets::load_expect_cloned(
|
||||
"common.items.armor.chest.cloth_blue_0",
|
||||
));
|
||||
inventory.push(assets::load_expect_cloned(
|
||||
"common.items.armor.belt.cloth_blue_0",
|
||||
));
|
||||
inventory.push(assets::load_expect_cloned(
|
||||
"common.items.armor.foot.cloth_blue_0",
|
||||
));
|
||||
inventory.push(assets::load_expect_cloned(
|
||||
"common.items.armor.hand.cloth_blue_0",
|
||||
));
|
||||
inventory.push(assets::load_expect_cloned(
|
||||
"common.items.armor.pants.cloth_blue_0",
|
||||
));
|
||||
inventory.push(assets::load_expect_cloned(
|
||||
"common.items.armor.shoulder.cloth_blue_0",
|
||||
));
|
||||
inventory.push(assets::load_expect_cloned(
|
||||
"common.items.armor.chest.cloth_green_0",
|
||||
));
|
||||
inventory.push(assets::load_expect_cloned(
|
||||
"common.items.armor.belt.cloth_green_0",
|
||||
));
|
||||
inventory.push(assets::load_expect_cloned(
|
||||
"common.items.armor.foot.cloth_green_0",
|
||||
));
|
||||
inventory.push(assets::load_expect_cloned(
|
||||
"common.items.armor.hand.cloth_green_0",
|
||||
));
|
||||
inventory.push(assets::load_expect_cloned(
|
||||
"common.items.armor.pants.cloth_green_0",
|
||||
));
|
||||
inventory.push(assets::load_expect_cloned(
|
||||
"common.items.armor.shoulder.cloth_green_0",
|
||||
));
|
||||
inventory.push(assets::load_expect_cloned(
|
||||
"common.items.armor.chest.cloth_purple_0",
|
||||
));
|
||||
inventory.push(assets::load_expect_cloned(
|
||||
"common.items.armor.belt.cloth_purple_0",
|
||||
));
|
||||
inventory.push(assets::load_expect_cloned(
|
||||
"common.items.armor.foot.cloth_purple_0",
|
||||
));
|
||||
inventory.push(assets::load_expect_cloned(
|
||||
"common.items.armor.hand.cloth_purple_0",
|
||||
));
|
||||
inventory.push(assets::load_expect_cloned(
|
||||
"common.items.armor.pants.cloth_purple_0",
|
||||
));
|
||||
inventory.push(assets::load_expect_cloned(
|
||||
"common.items.armor.shoulder.cloth_purple_0",
|
||||
));
|
||||
inventory.push(assets::load_expect_cloned("common.items.cheese"));
|
||||
inventory.push(assets::load_expect_cloned("common.items.apple"));
|
||||
inventory
|
||||
}
|
||||
}
|
||||
|
@ -683,7 +683,7 @@ impl CharSelectionUi {
|
||||
Mode::Create {
|
||||
name,
|
||||
body,
|
||||
loadout,
|
||||
loadout: _,
|
||||
tool,
|
||||
} => {
|
||||
let mut to_select = false;
|
||||
|
@ -21,7 +21,6 @@ use common::{
|
||||
ItemKind, Loadout,
|
||||
},
|
||||
figure::{DynaUnionizer, MatSegment, Material, Segment},
|
||||
vol::SizedVol,
|
||||
};
|
||||
use dot_vox::DotVoxData;
|
||||
use hashbrown::HashMap;
|
||||
|
Loading…
Reference in New Issue
Block a user