mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
2 weapons
This commit is contained in:
parent
87c276b292
commit
4d9327cef5
@ -1,6 +1,7 @@
|
||||
Item(
|
||||
name: "Sharp Kitchen Knife",
|
||||
description: "Great for cutting meat.
|
||||
|
||||
Power: 15",
|
||||
kind: Tool(
|
||||
ToolData (
|
||||
|
@ -5,7 +5,7 @@ Item(
|
||||
Power: 20",
|
||||
kind: Tool(
|
||||
ToolData (
|
||||
kind: Staff(BasicHammer),
|
||||
kind: Staff(BasicStaff),
|
||||
equip_time_millis: 800,
|
||||
)
|
||||
),
|
||||
|
@ -5,7 +5,7 @@ Item(
|
||||
Power: 15",
|
||||
kind: Tool(
|
||||
ToolData (
|
||||
kind: Sword(Rapier),
|
||||
kind: Sword(BasicSword),
|
||||
equip_time_millis: 800,
|
||||
)
|
||||
),
|
||||
|
11
assets/common/items/weapons/wood_sword.ron
Normal file
11
assets/common/items/weapons/wood_sword.ron
Normal file
@ -0,0 +1,11 @@
|
||||
Item(
|
||||
name: "Wooden Training Sword",
|
||||
description: "
|
||||
Power: 15",
|
||||
kind: Tool(
|
||||
ToolData (
|
||||
kind: Sword(WoodTraining),
|
||||
equip_time_millis: 800,
|
||||
)
|
||||
),
|
||||
)
|
11
assets/common/items/weapons/zweihander_sword_0.ron
Normal file
11
assets/common/items/weapons/zweihander_sword_0.ron
Normal file
@ -0,0 +1,11 @@
|
||||
Item(
|
||||
name: "Wooden Training Sword",
|
||||
description: "
|
||||
Power: 15",
|
||||
kind: Tool(
|
||||
ToolData (
|
||||
kind: Sword(Zweihander0),
|
||||
equip_time_millis: 800,
|
||||
)
|
||||
),
|
||||
)
|
@ -1,5 +1,5 @@
|
||||
({
|
||||
Sword(Scimitar): (
|
||||
Sword(BasicSword): (
|
||||
vox_spec: ("weapon.sword.rusty_2h", (-1.5, -6.5, -4.0)),
|
||||
color: None
|
||||
),
|
||||
@ -7,6 +7,14 @@
|
||||
vox_spec: ("weapon.sword.rusty_2h", (-1.5, -6.5, -4.0)),
|
||||
color: None
|
||||
),
|
||||
Sword(WoodTraining)
|
||||
vox_spec: ("weapon.sword.wood_2h", (-1.5, -6.5, -4.0)),
|
||||
color: None
|
||||
),
|
||||
Sword(Zweihander0)
|
||||
vox_spec: ("weapon.sword.zweihander_2h-0", (-1.5, -6.5, -4.0)),
|
||||
color: None
|
||||
),
|
||||
Axe(BasicAxe): (
|
||||
vox_spec: ("weapon.axe.rusty_2h", (-1.5, -5.0, -4.0)),
|
||||
color: None
|
||||
|
@ -14,8 +14,10 @@ use std::{fs::File, io::BufReader, time::Duration, vec::Vec};
|
||||
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)]
|
||||
pub enum SwordKind {
|
||||
Scimitar,
|
||||
BasicSword,
|
||||
Rapier,
|
||||
Zweihander0,
|
||||
WoodTraining,
|
||||
}
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)]
|
||||
pub enum AxeKind {
|
||||
|
Loading…
Reference in New Issue
Block a user