Fixed gloved weapons being able to attack when not equipped. (#26762)

* Initial commit. No evil hidden files this time :)

* Added newline because I forgot :(

* We <3 tags :)

* Fixed! Works now

* Update Content.Shared/Weapons/Melee/MeleeWeaponComponent.cs

---------

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
beck-thompson
2024-04-17 03:10:03 -07:00
committed by GitHub
parent 0785516eac
commit afcdc8b866
3 changed files with 15 additions and 1 deletions

View File

@@ -20,6 +20,7 @@
soundHit:
collection: BoxingHit
animation: WeaponArcFist
mustBeEquippedToUse: true
- type: Fiber
fiberMaterial: fibers-leather
fiberColor: fibers-red
@@ -90,6 +91,7 @@
types:
Blunt: 8
bluntStaminaDamageFactor: 0.0 # so blunt doesn't deal stamina damage at all
mustBeEquippedToUse: true
- type: entity
parent: ClothingHandsBase
@@ -362,6 +364,7 @@
soundHit:
collection: Punch
animation: WeaponArcFist
mustBeEquippedToUse: true
- type: Fiber
fiberMaterial: fibers-leather
fiberColor: fibers-blue