Visualize melee weapon cooldowns in HUD.

This commit is contained in:
Pieter-Jan Briers
2019-11-12 01:43:11 +01:00
parent 7198a7c78d
commit 841bb101c5
20 changed files with 279 additions and 10 deletions

View File

@@ -6,6 +6,7 @@
Capacity: 60
- type: Item
Size: 9999
- type: ItemCooldown
- type: MeleeWeapon
hitSound: "/Audio/weapons/smash.ogg"

View File

@@ -9,6 +9,7 @@
texture: Objects/Tools/wirecutter.png
- type: Icon
texture: Objects/Tools/wirecutter.png
- type: ItemCooldown
- type: MeleeWeapon
- type: entity
@@ -22,6 +23,7 @@
texture: Objects/Tools/screwdriver.png
- type: Icon
texture: Objects/Tools/screwdriver.png
- type: ItemCooldown
- type: MeleeWeapon
- type: entity
@@ -42,6 +44,7 @@
- type: Icon
sprite: Objects/Tools/welder.rsi
state: welder
- type: ItemCooldown
- type: MeleeWeapon
- type: entity
@@ -55,6 +58,7 @@
texture: Objects/Tools/wrench.png
- type: Icon
texture: Objects/Tools/wrench.png
- type: ItemCooldown
- type: MeleeWeapon
- type: entity
@@ -68,6 +72,7 @@
texture: Objects/Tools/crowbar.png
- type: Icon
texture: Objects/Tools/crowbar.png
- type: ItemCooldown
- type: MeleeWeapon
- type: entity

View File

@@ -13,6 +13,7 @@
sprite: Objects/Melee/cleaver.rsi
state: butch
- type: ItemCooldown
- type: MeleeWeapon
- type: Item
Size: 10

View File

@@ -11,6 +11,7 @@
sprite: Objects/Melee/pickaxe.rsi
state: pickaxe
- type: Pickaxe
- type: ItemCooldown
- type: MeleeWeapon
damage: 25
- type: Item

View File

@@ -21,6 +21,8 @@
sprite: Objects/Melee/spear.rsi
prefix: inhand
- type: ItemCooldown
- type: MeleeWeaponAnimation
id: spear
state: spear