Added golf club

This commit is contained in:
Joshua Barretto 2021-11-03 10:49:36 +00:00
parent 006edb9298
commit dbfbdcdacd
6 changed files with 55 additions and 0 deletions

View File

@ -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",

View 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,
)

View 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")),
)

View File

@ -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",

View File

@ -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

Binary file not shown.