mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Added golf club
This commit is contained in:
parent
006edb9298
commit
dbfbdcdacd
@ -294,6 +294,11 @@
|
||||
secondary: "common.abilities.empty.basic",
|
||||
abilities: [],
|
||||
),
|
||||
Custom("Golf Club"): (
|
||||
primary: "common.abilities.hammer.singlestrike",
|
||||
secondary: "common.abilities.tool.golf_club.charged",
|
||||
abilities: [],
|
||||
),
|
||||
Tool(Debug): (
|
||||
primary: "common.abilities.debug.forwardboost",
|
||||
secondary: "common.abilities.debug.upboost",
|
||||
|
17
assets/common/abilities/tool/golf_club/charged.ron
Normal file
17
assets/common/abilities/tool/golf_club/charged.ron
Normal file
@ -0,0 +1,17 @@
|
||||
ChargedMelee(
|
||||
energy_cost: 1,
|
||||
energy_drain: 1.0,
|
||||
initial_damage: 1.0,
|
||||
scaled_damage: 0.1,
|
||||
initial_poise_damage: 1,
|
||||
scaled_poise_damage: 1,
|
||||
initial_knockback: 500.0,
|
||||
scaled_knockback: 2000.0,
|
||||
range: 5.0,
|
||||
max_angle: 30.0,
|
||||
charge_duration: 2.0,
|
||||
swing_duration: 0.1,
|
||||
hit_timing: 0.2,
|
||||
recover_duration: 1.5,
|
||||
damage_kind: Crushing,
|
||||
)
|
21
assets/common/items/weapons/tool/golf_club.ron
Normal file
21
assets/common/items/weapons/tool/golf_club.ron
Normal file
@ -0,0 +1,21 @@
|
||||
ItemDef(
|
||||
name: "Golf Club",
|
||||
description: "Peasant swatter. Fiercely anti-urbanist. Climate crisis? What climate crisis?",
|
||||
kind: Tool((
|
||||
kind: Hammer,
|
||||
hands: Two,
|
||||
stats: Direct((
|
||||
equip_time_secs: 0.5,
|
||||
power: 0.6,
|
||||
effect_power: 1.0,
|
||||
speed: 1.0,
|
||||
crit_chance: 0.083333336,
|
||||
range: 1.0,
|
||||
energy_efficiency: 1.0,
|
||||
buff_strength: 1.0,
|
||||
)),
|
||||
)),
|
||||
quality: Low,
|
||||
tags: [],
|
||||
ability_spec: Some(Custom("Golf Club")),
|
||||
)
|
@ -2866,6 +2866,11 @@
|
||||
"voxel.weapon.tool.broom_belzeshrub_purple",
|
||||
(0.0, 0.0, 0.0), (-135.0, 90.0, 0.0), 1.1,
|
||||
),
|
||||
// Misc
|
||||
Tool("common.items.weapons.tool.golf_club"): VoxTrans(
|
||||
"voxel.weapon.tool.golf_club",
|
||||
(2.0, -1.0, 0.0), (-135.0, 25.0, 0.0), 1.1,
|
||||
),
|
||||
// Gems
|
||||
Ingredient("Amethyst"): VoxTrans(
|
||||
"voxel.sprite.mineral.gem.amethystgem",
|
||||
|
@ -1000,6 +1000,10 @@
|
||||
vox_spec: ("weapon.sword.frost-1", (-2.0, -4.5, -7.5)),
|
||||
color: None
|
||||
),
|
||||
"common.items.weapons.tool.golf_club": (
|
||||
vox_spec: ("weapon.tool.golf_club", (-5.5, -4.0, -4.0)),
|
||||
color: None
|
||||
),
|
||||
// Misc
|
||||
"common.items.weapons.empty.empty": (
|
||||
vox_spec: ("armor.empty", (-3.0, -3.5, 1.0)),
|
||||
|
BIN
assets/voxygen/voxel/weapon/tool/golf_club.vox
(Stored with Git LFS)
Normal file
BIN
assets/voxygen/voxel/weapon/tool/golf_club.vox
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user