]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix blunt melee weapon hitsound (#26286)
authorMr. 27 <45323883+Dutch-VanDerLinde@users.noreply.github.com>
Wed, 20 Mar 2024 14:25:38 +0000 (10:25 -0400)
committerGitHub <noreply@github.com>
Wed, 20 Mar 2024 14:25:38 +0000 (15:25 +0100)
* ok

* Update welders.yml

14 files changed:
Resources/Prototypes/Entities/Mobs/base.yml
Resources/Prototypes/Entities/Objects/Specific/Hydroponics/tools.yml
Resources/Prototypes/Entities/Objects/Specific/Mech/mechs.yml
Resources/Prototypes/Entities/Objects/Tools/flashlights.yml
Resources/Prototypes/Entities/Objects/Tools/jaws_of_life.yml
Resources/Prototypes/Entities/Objects/Tools/tools.yml
Resources/Prototypes/Entities/Objects/Tools/welders.yml
Resources/Prototypes/Entities/Objects/Weapons/Melee/baseball_bat.yml
Resources/Prototypes/Entities/Objects/Weapons/Melee/cult.yml
Resources/Prototypes/Entities/Objects/Weapons/Melee/fireaxe.yml
Resources/Prototypes/Entities/Objects/Weapons/Melee/mining.yml
Resources/Prototypes/Entities/Objects/Weapons/Melee/sledgehammer.yml
Resources/Prototypes/Entities/Objects/Weapons/security.yml
Resources/Prototypes/Entities/Structures/Furniture/chairs.yml

index d4e9a561c5e6a85e8a8ee8299820a155c30dac0a..ac9aabbeadbb5d57e703d0fb9a79248ce14df3f5 100644 (file)
   - type: CombatMode
   - type: MeleeWeapon
     hidden: true
+    soundHit:
+      collection: MetalThud
     damage:
       groups:
         Brute: 5
index 00224fd3182d2d35b68f48280e1c9426635e8bab..727c75c8794906e1b6e783e7e09d9428ccc581cf 100644 (file)
       types:
         Blunt: 8
         Piercing: 2 # I guess you can stab it into them?
+    soundHit:
+      collection: MetalThud
   - type: Item
     sprite: Objects/Tools/Hydroponics/spade.rsi
   - type: Shovel
index 0e132541e1e67fc3a6baad8fc21fcd9c7e5deda0..5a2587ff710e418ba7ea03fbfc8fb8976b14ef62 100644 (file)
@@ -48,6 +48,8 @@
       types:
         Blunt: 25 #thwack
         Structural: 20
+    soundHit:
+      collection: MetalThud
   - type: Puller
     needsHands: false
   - type: InputMover
index 39809b31b6862a6fc731bb55cfc9836aab35bf8e..d22e9190921521ae3370fa492e4ac767c28f6999 100644 (file)
     damage:
       types:
         Blunt: 10
+    soundHit:
+      collection: MetalThud
   - type: Item
     sprite: Objects/Tools/seclite.rsi
   - type: PointLight
index bb8545d91ff9fb1b25e78c985931340382fc9001..8e2b7597970d1b22ca2591458f483258267d811e 100644 (file)
@@ -47,6 +47,8 @@
     damage:
       types:
         Blunt: 10
+    soundHit:
+      collection: MetalThud
 
 - type: entity
   name: syndicate jaws of life
index c56c322b744a3396c499f158720368b6b4310d39..b46eded7d84fe620e13b605212a26e9b594ea8de 100644 (file)
     damage:
       types:
         Blunt: 4.5
+    soundHit:
+      collection: MetalThud
   - type: Tool
     qualities:
       - Anchoring
     damage:
       types:
         Blunt: 8
+    soundHit:
+      collection: MetalThud
   - type: Tool
     qualities:
       - Prying
     damage:
       types:
         Blunt: 14
+    soundHit:
+      collection: MetalThud
   - type: Item
     size: Normal
     sprite: Objects/Tools/shovel.rsi
     damage:
       types:
         Blunt: 7
+    soundHit:
+      collection: MetalThud
   - type: Tool
     qualities:
     - Rolling
index 42b16ba0538244af14e8e104b461c80edfa7d3cf..9bf3f2e2cb9d0b34b9b586f94f81d1d41dfab96d 100644 (file)
@@ -47,6 +47,8 @@
       params:
         variation: 0.250
         volume: -12
+    deactivatedSoundOnHitNoDamage:
+      collection: MetalThud
     activatedDamage:
         types:
             Heat: 8
@@ -70,6 +72,8 @@
     damage:
       types:
         Blunt: 5 #i mean... i GUESS you could use it like that
+    soundHit:
+      collection: MetalThud
   - type: RefillableSolution
     solution: Welder
   - type: SolutionContainerManager
index b7fae7acede8db35d904b649af0035187bacb926..8ba643a115521dbbdb541f4f7d88d0d1fc5e53fb 100644 (file)
@@ -13,6 +13,8 @@
       types:
         Blunt: 10
         Structural: 5
+    soundHit:
+      collection: MetalThud
   - type: Wieldable
   - type: IncreaseDamageOnWield
     damage:
index db24d3e2cd00313ffe94f336d39701b01a7f0e5d..ecb6479de7066879629d531f1eeff01fdeef2052 100644 (file)
@@ -67,6 +67,8 @@
         Blunt: 10
         Slash: 10
         Structural: 5
+    soundHit:
+      collection: MetalThud
   - type: Wieldable
   - type: IncreaseDamageOnWield
     damage:
index b46ee096336039820b600a998bcd1c770b6eb33e..93765ec40c361a2866927f8e3fa5b05858823281 100644 (file)
@@ -21,6 +21,8 @@
         Blunt: 5
         Slash: 10
         Structural: 10
+    soundHit:
+      collection: MetalThud
   - type: Wieldable
   - type: IncreaseDamageOnWield
     damage:
index eee65a1ca782feb38cdf80d03da36cd9cfb10f38..ccf45bf59aa92cdbd52b0d7bcf11e39ab67731fd 100644 (file)
@@ -49,6 +49,8 @@
       types:
         Blunt: 10
         Slash: 5
+    soundHit:
+      collection: MetalThud
   - type: Wieldable
   - type: IncreaseDamageOnWield
     damage:
index e566f90968e83e5ccfc94dced2cc5a475bb64b43..0c75015d9aa6f087432d50eb09807667ddf8557b 100644 (file)
@@ -13,6 +13,8 @@
       types:
         Blunt: 10
         Structural: 10
+    soundHit:
+      collection: MetalThud
   - type: Wieldable
   - type: IncreaseDamageOnWield
     damage:
index 082a8a956c830afded5de802bdc5347c0e46ad0f..6df6ae7b4ba6870ae3de26a7838ef5b383831de3 100644 (file)
@@ -97,6 +97,8 @@
     damage:
       types:
         Blunt: 20
+    soundHit:
+      collection: MetalThud
     bluntStaminaDamageFactor: 1.5
   - type: Item
     size: Normal
index 59782c958576c9d55a76cd986975ce9cfa79bda1..0b3c291af257056050518fe721c67255d023b4d8 100644 (file)
     damage:
       types:
         Blunt: 8
+    soundHit:
+      collection: MetalThud
   - type: Construction
     graph: Seat
     node: chairFolding