mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
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>, |
||
---|---|---|
.. | ||
assets | ||
base | ||
benches | ||
ecs | ||
frontend | ||
net | ||
src | ||
state | ||
systems | ||
build.rs | ||
Cargo.toml |