Files
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
..
2022-01-26 15:09:00 +02:00
2022-01-26 16:46:40 +02:00
2022-01-26 16:46:40 +02:00
2022-01-26 22:08:38 +01:00
2022-01-26 16:46:40 +02:00
2022-01-28 00:02:34 +02:00
2022-01-26 16:46:40 +02:00
2022-01-26 16:46:40 +02:00
2022-01-28 00:02:34 +02:00