mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Added axe and hammer components.
This commit is contained in:
parent
6620c1dd1f
commit
5898ce9d98
assets/common/items/crafting_ing/modular
damage
axe
hammer
sword
held
25
assets/common/items/crafting_ing/modular/damage/axe/axe.ron
Normal file
25
assets/common/items/crafting_ing/modular/damage/axe/axe.ron
Normal file
@ -0,0 +1,25 @@
|
||||
ItemDef(
|
||||
name: "Axe head",
|
||||
description: "An axe head made of metal.",
|
||||
kind: ModularComponent((
|
||||
toolkind: Axe,
|
||||
modkind: Damage,
|
||||
stats: (
|
||||
equip_time_secs: 0.25,
|
||||
power: 1.0,
|
||||
effect_power: 1.0,
|
||||
speed: 1.0,
|
||||
crit_chance: 0.2,
|
||||
range: 1.0,
|
||||
energy_efficiency: 1.0,
|
||||
buff_strength: 1.0,
|
||||
),
|
||||
hand_restriction: None,
|
||||
)),
|
||||
quality: Common,
|
||||
tags: [
|
||||
ModularComponent((toolkind: Axe, modkind: Damage, hands: One)),
|
||||
ModularComponent((toolkind: Axe, modkind: Damage, hands: Two)),
|
||||
],
|
||||
)
|
||||
|
@ -0,0 +1,24 @@
|
||||
ItemDef(
|
||||
name: "Battleaxe head",
|
||||
description: "An axe head made of metal.",
|
||||
kind: ModularComponent((
|
||||
toolkind: Axe,
|
||||
modkind: Damage,
|
||||
stats: (
|
||||
equip_time_secs: 0.25,
|
||||
power: 0.9,
|
||||
effect_power: 0.8,
|
||||
speed: 1.5,
|
||||
crit_chance: 0.15,
|
||||
range: 1.0,
|
||||
energy_efficiency: 0.8,
|
||||
buff_strength: 0.8,
|
||||
),
|
||||
hand_restriction: None,
|
||||
)),
|
||||
quality: Common,
|
||||
tags: [
|
||||
ModularComponent((toolkind: Axe, modkind: Damage, hands: One)),
|
||||
ModularComponent((toolkind: Axe, modkind: Damage, hands: Two)),
|
||||
],
|
||||
)
|
@ -0,0 +1,23 @@
|
||||
ItemDef(
|
||||
name: "Greataxe Head",
|
||||
description: "An axe head made of metal.",
|
||||
kind: ModularComponent((
|
||||
toolkind: Axe,
|
||||
modkind: Damage,
|
||||
stats: (
|
||||
equip_time_secs: 0.25,
|
||||
power: 0.9,
|
||||
effect_power: 2.0,
|
||||
speed: 0.8,
|
||||
crit_chance: 0.15,
|
||||
range: 1.0,
|
||||
energy_efficiency: 0.8,
|
||||
buff_strength: 0.8,
|
||||
),
|
||||
hand_restriction: Some(Two),
|
||||
)),
|
||||
quality: Common,
|
||||
tags: [
|
||||
ModularComponent((toolkind: Axe, modkind: Damage, hands: Two)),
|
||||
],
|
||||
)
|
@ -0,0 +1,25 @@
|
||||
ItemDef(
|
||||
name: "Jagged axe head",
|
||||
description: "An axe head made of metal.",
|
||||
kind: ModularComponent((
|
||||
toolkind: Axe,
|
||||
modkind: Damage,
|
||||
stats: (
|
||||
equip_time_secs: 0.25,
|
||||
power: 0.9,
|
||||
effect_power: 0.8,
|
||||
speed: 0.9,
|
||||
crit_chance: 0.15,
|
||||
range: 1.0,
|
||||
energy_efficiency: 0.8,
|
||||
buff_strength: 2.0,
|
||||
),
|
||||
hand_restriction: None,
|
||||
)),
|
||||
quality: Common,
|
||||
tags: [
|
||||
ModularComponent((toolkind: Axe, modkind: Damage, hands: One)),
|
||||
ModularComponent((toolkind: Axe, modkind: Damage, hands: Two)),
|
||||
],
|
||||
)
|
||||
|
@ -0,0 +1,24 @@
|
||||
ItemDef(
|
||||
name: "Great mace head",
|
||||
description: "A hamemr head made of metal.",
|
||||
kind: ModularComponent((
|
||||
toolkind: Hammer,
|
||||
modkind: Damage,
|
||||
stats: (
|
||||
equip_time_secs: 0.25,
|
||||
power: 1.5,
|
||||
effect_power: 0.8,
|
||||
speed: 0.9,
|
||||
crit_chance: 0.15,
|
||||
range: 1.0,
|
||||
energy_efficiency: 0.8,
|
||||
buff_strength: 0.8,
|
||||
),
|
||||
hand_restriction: Some(Two),
|
||||
)),
|
||||
quality: Common,
|
||||
tags: [
|
||||
ModularComponent((toolkind: Hammer, modkind: Damage, hands: Two)),
|
||||
],
|
||||
)
|
||||
|
@ -0,0 +1,24 @@
|
||||
ItemDef(
|
||||
name: "Ornate axe head",
|
||||
description: "An axe head made of metal.",
|
||||
kind: ModularComponent((
|
||||
toolkind: Axe,
|
||||
modkind: Damage,
|
||||
stats: (
|
||||
equip_time_secs: 0.25,
|
||||
power: 0.9,
|
||||
effect_power: 0.8,
|
||||
speed: 0.9,
|
||||
crit_chance: 0.5,
|
||||
range: 1.0,
|
||||
energy_efficiency: 0.8,
|
||||
buff_strength: 0.8,
|
||||
),
|
||||
hand_restriction: None,
|
||||
)),
|
||||
quality: Common,
|
||||
tags: [
|
||||
ModularComponent((toolkind: Axe, modkind: Damage, hands: One)),
|
||||
ModularComponent((toolkind: Axe, modkind: Damage, hands: Two)),
|
||||
],
|
||||
)
|
@ -0,0 +1,23 @@
|
||||
ItemDef(
|
||||
name: "Poleaxe head",
|
||||
description: "An axe head made of metal.",
|
||||
kind: ModularComponent((
|
||||
toolkind: Axe,
|
||||
modkind: Damage,
|
||||
stats: (
|
||||
equip_time_secs: 0.25,
|
||||
power: 1.0,
|
||||
effect_power: 0.9,
|
||||
speed: 0.9,
|
||||
crit_chance: 0.2,
|
||||
range: 1.5,
|
||||
energy_efficiency: 0.9,
|
||||
buff_strength: 0.9,
|
||||
),
|
||||
hand_restriction: Some(Two),
|
||||
)),
|
||||
quality: Common,
|
||||
tags: [
|
||||
ModularComponent((toolkind: Axe, modkind: Damage, hands: Two)),
|
||||
],
|
||||
)
|
@ -0,0 +1,23 @@
|
||||
ItemDef(
|
||||
name: "Greathammer Head",
|
||||
description: "A hammer head made of metal.",
|
||||
kind: ModularComponent((
|
||||
toolkind: Hammer,
|
||||
modkind: Damage,
|
||||
stats: (
|
||||
equip_time_secs: 0.25,
|
||||
power: 0.9,
|
||||
effect_power: 2.0,
|
||||
speed: 0.8,
|
||||
crit_chance: 0.15,
|
||||
range: 1.0,
|
||||
energy_efficiency: 0.8,
|
||||
buff_strength: 0.8,
|
||||
),
|
||||
hand_restriction: Some(Two),
|
||||
)),
|
||||
quality: Common,
|
||||
tags: [
|
||||
ModularComponent((toolkind: Hammer, modkind: Damage, hands: Two)),
|
||||
],
|
||||
)
|
@ -0,0 +1,24 @@
|
||||
ItemDef(
|
||||
name: "Great mace head",
|
||||
description: "A hamemr head made of metal.",
|
||||
kind: ModularComponent((
|
||||
toolkind: Hammer,
|
||||
modkind: Damage,
|
||||
stats: (
|
||||
equip_time_secs: 0.25,
|
||||
power: 1.5,
|
||||
effect_power: 0.8,
|
||||
speed: 0.9,
|
||||
crit_chance: 0.15,
|
||||
range: 1.0,
|
||||
energy_efficiency: 0.8,
|
||||
buff_strength: 0.8,
|
||||
),
|
||||
hand_restriction: Some(Two),
|
||||
)),
|
||||
quality: Common,
|
||||
tags: [
|
||||
ModularComponent((toolkind: Hammer, modkind: Damage, hands: Two)),
|
||||
],
|
||||
)
|
||||
|
@ -0,0 +1,25 @@
|
||||
ItemDef(
|
||||
name: "Hammer head",
|
||||
description: "A hammer head made of metal.",
|
||||
kind: ModularComponent((
|
||||
toolkind: Hammer,
|
||||
modkind: Damage,
|
||||
stats: (
|
||||
equip_time_secs: 0.25,
|
||||
power: 1.0,
|
||||
effect_power: 1.0,
|
||||
speed: 1.0,
|
||||
crit_chance: 0.2,
|
||||
range: 1.0,
|
||||
energy_efficiency: 1.0,
|
||||
buff_strength: 1.0,
|
||||
),
|
||||
hand_restriction: None,
|
||||
)),
|
||||
quality: Common,
|
||||
tags: [
|
||||
ModularComponent((toolkind: Hammer, modkind: Damage, hands: One)),
|
||||
ModularComponent((toolkind: Hammer, modkind: Damage, hands: Two)),
|
||||
],
|
||||
)
|
||||
|
@ -0,0 +1,23 @@
|
||||
ItemDef(
|
||||
name: "Maul head",
|
||||
description: "A hammer head made of metal.",
|
||||
kind: ModularComponent((
|
||||
toolkind: Hammer,
|
||||
modkind: Damage,
|
||||
stats: (
|
||||
equip_time_secs: 0.25,
|
||||
power: 1.0,
|
||||
effect_power: 0.9,
|
||||
speed: 0.9,
|
||||
crit_chance: 0.2,
|
||||
range: 1.5,
|
||||
energy_efficiency: 0.9,
|
||||
buff_strength: 0.9,
|
||||
),
|
||||
hand_restriction: Some(Two),
|
||||
)),
|
||||
quality: Common,
|
||||
tags: [
|
||||
ModularComponent((toolkind: Hammer, modkind: Damage, hands: Two)),
|
||||
],
|
||||
)
|
@ -0,0 +1,24 @@
|
||||
ItemDef(
|
||||
name: "Ornate hammer head",
|
||||
description: "A hammer head made of metal.",
|
||||
kind: ModularComponent((
|
||||
toolkind: Hammer,
|
||||
modkind: Damage,
|
||||
stats: (
|
||||
equip_time_secs: 0.25,
|
||||
power: 0.9,
|
||||
effect_power: 0.8,
|
||||
speed: 0.9,
|
||||
crit_chance: 0.5,
|
||||
range: 1.0,
|
||||
energy_efficiency: 0.8,
|
||||
buff_strength: 0.8,
|
||||
),
|
||||
hand_restriction: None,
|
||||
)),
|
||||
quality: Common,
|
||||
tags: [
|
||||
ModularComponent((toolkind: Hammer, modkind: Damage, hands: One)),
|
||||
ModularComponent((toolkind: Hammer, modkind: Damage, hands: Two)),
|
||||
],
|
||||
)
|
@ -0,0 +1,25 @@
|
||||
ItemDef(
|
||||
name: "Spiked mace head",
|
||||
description: "A hammer head made of metal.",
|
||||
kind: ModularComponent((
|
||||
toolkind: Hammer,
|
||||
modkind: Damage,
|
||||
stats: (
|
||||
equip_time_secs: 0.25,
|
||||
power: 0.9,
|
||||
effect_power: 0.8,
|
||||
speed: 0.9,
|
||||
crit_chance: 0.15,
|
||||
range: 1.0,
|
||||
energy_efficiency: 0.8,
|
||||
buff_strength: 2.0,
|
||||
),
|
||||
hand_restriction: None,
|
||||
)),
|
||||
quality: Common,
|
||||
tags: [
|
||||
ModularComponent((toolkind: Hammer, modkind: Damage, hands: One)),
|
||||
ModularComponent((toolkind: Hammer, modkind: Damage, hands: Two)),
|
||||
],
|
||||
)
|
||||
|
@ -0,0 +1,25 @@
|
||||
ItemDef(
|
||||
name: "Warhammer head",
|
||||
description: "A hammer head made of metal.",
|
||||
kind: ModularComponent((
|
||||
toolkind: Hammer,
|
||||
modkind: Damage,
|
||||
stats: (
|
||||
equip_time_secs: 0.25,
|
||||
power: 0.9,
|
||||
effect_power: 0.8,
|
||||
speed: 1.5,
|
||||
crit_chance: 0.15,
|
||||
range: 1.0,
|
||||
energy_efficiency: 0.8,
|
||||
buff_strength: 0.8,
|
||||
),
|
||||
hand_restriction: None,
|
||||
)),
|
||||
quality: Common,
|
||||
tags: [
|
||||
ModularComponent((toolkind: Hammer, modkind: Damage, hands: One)),
|
||||
ModularComponent((toolkind: Hammer, modkind: Damage, hands: Two)),
|
||||
],
|
||||
)
|
||||
|
@ -18,7 +18,7 @@ ItemDef(
|
||||
)),
|
||||
quality: Common,
|
||||
tags: [
|
||||
ModularComponent((toolkind: Sword, modkind: Held, hands: Two)),
|
||||
ModularComponent((toolkind: Sword, modkind: Damage, hands: Two)),
|
||||
],
|
||||
)
|
||||
|
||||
|
@ -14,11 +14,12 @@ ItemDef(
|
||||
energy_efficiency: 0.8,
|
||||
buff_strength: 0.8,
|
||||
),
|
||||
hand_restriction: Some(One),
|
||||
hand_restriction: None,
|
||||
)),
|
||||
quality: Common,
|
||||
tags: [
|
||||
ModularComponent((toolkind: Sword, modkind: Held, hands: One)),
|
||||
ModularComponent((toolkind: Sword, modkind: Damage, hands: One)),
|
||||
ModularComponent((toolkind: Sword, modkind: Damage, hands: Two)),
|
||||
],
|
||||
)
|
||||
|
||||
|
@ -18,8 +18,8 @@ ItemDef(
|
||||
)),
|
||||
quality: Common,
|
||||
tags: [
|
||||
ModularComponent((toolkind: Sword, modkind: Held, hands: One)),
|
||||
ModularComponent((toolkind: Sword, modkind: Held, hands: Two)),
|
||||
ModularComponent((toolkind: Sword, modkind: Damage, hands: One)),
|
||||
ModularComponent((toolkind: Sword, modkind: Damage, hands: Two)),
|
||||
],
|
||||
)
|
||||
|
||||
|
@ -18,8 +18,8 @@ ItemDef(
|
||||
)),
|
||||
quality: Common,
|
||||
tags: [
|
||||
ModularComponent((toolkind: Sword, modkind: Held, hands: One)),
|
||||
ModularComponent((toolkind: Sword, modkind: Held, hands: Two)),
|
||||
ModularComponent((toolkind: Sword, modkind: Damage, hands: One)),
|
||||
ModularComponent((toolkind: Sword, modkind: Damage, hands: Two)),
|
||||
],
|
||||
)
|
||||
|
||||
|
@ -18,8 +18,8 @@ ItemDef(
|
||||
)),
|
||||
quality: Common,
|
||||
tags: [
|
||||
ModularComponent((toolkind: Sword, modkind: Held, hands: One)),
|
||||
ModularComponent((toolkind: Sword, modkind: Held, hands: Two)),
|
||||
ModularComponent((toolkind: Sword, modkind: Damage, hands: One)),
|
||||
ModularComponent((toolkind: Sword, modkind: Damage, hands: Two)),
|
||||
],
|
||||
)
|
||||
|
||||
|
@ -18,8 +18,8 @@ ItemDef(
|
||||
)),
|
||||
quality: Common,
|
||||
tags: [
|
||||
ModularComponent((toolkind: Sword, modkind: Held, hands: One)),
|
||||
ModularComponent((toolkind: Sword, modkind: Held, hands: Two)),
|
||||
ModularComponent((toolkind: Sword, modkind: Damage, hands: One)),
|
||||
ModularComponent((toolkind: Sword, modkind: Damage, hands: Two)),
|
||||
],
|
||||
)
|
||||
|
||||
|
@ -18,7 +18,7 @@ ItemDef(
|
||||
)),
|
||||
quality: Common,
|
||||
tags: [
|
||||
ModularComponent((toolkind: Sword, modkind: Held, hands: Two)),
|
||||
ModularComponent((toolkind: Sword, modkind: Damage, hands: Two)),
|
||||
],
|
||||
)
|
||||
|
||||
|
24
assets/common/items/crafting_ing/modular/held/axe/long.ron
Normal file
24
assets/common/items/crafting_ing/modular/held/axe/long.ron
Normal file
@ -0,0 +1,24 @@
|
||||
ItemDef(
|
||||
name: "Long axe haft",
|
||||
description: "A axe haft.",
|
||||
kind: ModularComponent((
|
||||
toolkind: Axe,
|
||||
modkind: Held,
|
||||
stats: (
|
||||
equip_time_secs: 1.0,
|
||||
power: 1.5,
|
||||
effect_power: 1.3,
|
||||
speed: 0.8,
|
||||
crit_chance: 0.8,
|
||||
range: 1.0,
|
||||
energy_efficiency: 0.9,
|
||||
buff_strength: 1.1,
|
||||
),
|
||||
hand_restriction: Some(Two),
|
||||
)),
|
||||
quality: Common,
|
||||
tags: [
|
||||
ModularComponent((toolkind: Axe, modkind: Held, hands: Two)),
|
||||
],
|
||||
)
|
||||
|
24
assets/common/items/crafting_ing/modular/held/axe/medium.ron
Normal file
24
assets/common/items/crafting_ing/modular/held/axe/medium.ron
Normal file
@ -0,0 +1,24 @@
|
||||
ItemDef(
|
||||
name: "Medium axe haft",
|
||||
description: "A axe half.",
|
||||
kind: ModularComponent((
|
||||
toolkind: Axe,
|
||||
modkind: Held,
|
||||
stats: (
|
||||
equip_time_secs: 1.0,
|
||||
power: 1.0,
|
||||
effect_power: 1.0,
|
||||
speed: 1.0,
|
||||
crit_chance: 1.0,
|
||||
range: 1.0,
|
||||
energy_efficiency: 1.0,
|
||||
buff_strength: 1.0,
|
||||
),
|
||||
)),
|
||||
quality: Common,
|
||||
tags: [
|
||||
ModularComponent((toolkind: Axe, modkind: Held, hands: One)),
|
||||
ModularComponent((toolkind: Axe, modkind: Held, hands: Two)),
|
||||
],
|
||||
)
|
||||
|
24
assets/common/items/crafting_ing/modular/held/axe/short.ron
Normal file
24
assets/common/items/crafting_ing/modular/held/axe/short.ron
Normal file
@ -0,0 +1,24 @@
|
||||
ItemDef(
|
||||
name: "Short axe haft",
|
||||
description: "A axe haft.",
|
||||
kind: ModularComponent((
|
||||
toolkind: Axe,
|
||||
modkind: Held,
|
||||
stats: (
|
||||
equip_time_secs: 1.0,
|
||||
power: 0.7,
|
||||
effect_power: 0.8,
|
||||
speed: 1.3,
|
||||
crit_chance: 1.2,
|
||||
range: 1.0,
|
||||
energy_efficiency: 1.1,
|
||||
buff_strength: 0.9,
|
||||
),
|
||||
hand_restriction: Some(One),
|
||||
)),
|
||||
quality: Common,
|
||||
tags: [
|
||||
ModularComponent((toolkind: Axe, modkind: Held, hands: One)),
|
||||
],
|
||||
)
|
||||
|
@ -0,0 +1,24 @@
|
||||
ItemDef(
|
||||
name: "Long hammer haft",
|
||||
description: "A hammer haft.",
|
||||
kind: ModularComponent((
|
||||
toolkind: Hammer,
|
||||
modkind: Held,
|
||||
stats: (
|
||||
equip_time_secs: 1.0,
|
||||
power: 1.5,
|
||||
effect_power: 1.3,
|
||||
speed: 0.8,
|
||||
crit_chance: 0.8,
|
||||
range: 1.0,
|
||||
energy_efficiency: 0.9,
|
||||
buff_strength: 1.1,
|
||||
),
|
||||
hand_restriction: Some(Two),
|
||||
)),
|
||||
quality: Common,
|
||||
tags: [
|
||||
ModularComponent((toolkind: Hammer, modkind: Held, hands: Two)),
|
||||
],
|
||||
)
|
||||
|
@ -0,0 +1,24 @@
|
||||
ItemDef(
|
||||
name: "Medium hammer haft",
|
||||
description: "A hammer half.",
|
||||
kind: ModularComponent((
|
||||
toolkind: Hammer,
|
||||
modkind: Held,
|
||||
stats: (
|
||||
equip_time_secs: 1.0,
|
||||
power: 1.0,
|
||||
effect_power: 1.0,
|
||||
speed: 1.0,
|
||||
crit_chance: 1.0,
|
||||
range: 1.0,
|
||||
energy_efficiency: 1.0,
|
||||
buff_strength: 1.0,
|
||||
),
|
||||
)),
|
||||
quality: Common,
|
||||
tags: [
|
||||
ModularComponent((toolkind: Hammer, modkind: Held, hands: One)),
|
||||
ModularComponent((toolkind: Hammer, modkind: Held, hands: Two)),
|
||||
],
|
||||
)
|
||||
|
@ -0,0 +1,24 @@
|
||||
ItemDef(
|
||||
name: "Short hammer haft",
|
||||
description: "A hammer haft.",
|
||||
kind: ModularComponent((
|
||||
toolkind: Hammer,
|
||||
modkind: Held,
|
||||
stats: (
|
||||
equip_time_secs: 1.0,
|
||||
power: 0.7,
|
||||
effect_power: 0.8,
|
||||
speed: 1.3,
|
||||
crit_chance: 1.2,
|
||||
range: 1.0,
|
||||
energy_efficiency: 1.1,
|
||||
buff_strength: 0.9,
|
||||
),
|
||||
hand_restriction: Some(One),
|
||||
)),
|
||||
quality: Common,
|
||||
tags: [
|
||||
ModularComponent((toolkind: Hammer, modkind: Held, hands: One)),
|
||||
],
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user