veloren/common
juliancoffee fbe07f016a Loadout Update. EntityInfo part
EntityConfig changes:
+ Add LoadoutKind instead of Hands + Meta::LoadoutAsset.
+ Allows for random loadout asset and inventory.

```
pub enum LoadoutAsset {
    Loadout(String),
    Choice(Vec<(f32, String)>),
}

pub enum LoadoutKind {
    FromBody,
    Asset(LoadoutAsset),
    Hands(Hands),
    Extended {
        hands: Hands,
        base_asset: LoadoutAsset,
        inventory: Vec<(u32, String)>,
    },
}
```

EntityInfo:
Remove
-    pub main_tool: Option<Item>,
-    pub second_tool: Option<Item>,
-    pub loadout_asset: Option<String>,
Add
+    pub inventory: Vec<(u32, Item)>,
+    pub loadout: Option<LoadoutBuilder>,
2022-01-28 00:02:34 +02:00
..
assets Move common-assets to 2021 edition 2022-01-26 15:09:00 +02:00
base Move Veloren to 2021 edition 2022-01-26 16:46:40 +02:00
benches use criterion groups and fix tracing to much on wgpu 2021-06-03 22:37:17 +02:00
ecs Move Veloren to 2021 edition 2022-01-26 16:46:40 +02:00
frontend Fix RUSTSEC-2022-0006 2022-01-26 22:08:38 +01:00
net Move Veloren to 2021 edition 2022-01-26 16:46:40 +02:00
src Loadout Update. EntityInfo part 2022-01-28 00:02:34 +02:00
state Move Veloren to 2021 edition 2022-01-26 16:46:40 +02:00
systems Move Veloren to 2021 edition 2022-01-26 16:46:40 +02:00
build.rs use bg_main.jpg instead of bg_main.png 2021-06-18 20:41:18 +03:00
Cargo.toml Add entity config migration tool 2022-01-28 00:02:34 +02:00