veloren/assets/common/items/weapons/sceptre/loops0.ron
Avi Weinstock 8bdbf4f7c9 Implement modular weapons.
- 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.
2021-02-20 14:30:39 -05:00

17 lines
348 B
Plaintext

ItemDef(
name: "Soothing Loop",
description: "Do you really want to live forever?",
kind: Tool((
kind: Sceptre,
hands: Two,
stats: Direct((
equip_time_millis: 400,
power: 1.2,
poise_strength: 1.5,
speed: 1.5,
)),
)),
quality: High,
tags: [],
)