mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
8bdbf4f7c9
- Add ItemKind::ModularComponent, Item::components. - Add tool::StatKind::{Direct,Modular} for the modular weapons themselves. - Move ItemConfig from ItemDesc to Item, so components' stats can be taken into account. - Crafting stores into the components field. - Components/recipes/placeholders are created dynamically. - Show which components a modular weapon contains in the tooltip in voxygen. Squashed fixes: - `Item::duplicate` components in `Item::new_from_item_def`. - Speed of 1.0 for now.
20 lines
510 B
Plaintext
20 lines
510 B
Plaintext
ItemDef(
|
|
name: "Belzeshrub the Broom-God",
|
|
description: "You can hear him giggle whenever\nyou hit the ground a bit too hard...",
|
|
kind: Tool(
|
|
(
|
|
kind: Debug,
|
|
hands: Two,
|
|
stats: Direct((
|
|
equip_time_millis: 0,
|
|
power: 1.00,
|
|
poise_strength: 1.00,
|
|
speed: 1.0
|
|
)),
|
|
)
|
|
),
|
|
quality: Debug,
|
|
tags: [],
|
|
)
|
|
// And the ground is pretty hard at maximum velocity...
|