From ee7251c6d0af787a9f480737e9bf54141eba9c4d Mon Sep 17 00:00:00 2001 From: ThereDrD0 <88589686+ThereDrD0@users.noreply.github.com> Date: Wed, 19 Jun 2024 18:59:59 +0300 Subject: [PATCH] fix: fix wrong rifle sounds + add sounds to lmgs (#367) --- .../Entities/Objects/Weapons/Guns/LMGs/lmgs.yml | 9 +++++++++ .../Objects/Weapons/Guns/Launchers/launchers.yml | 2 +- .../Entities/Objects/Weapons/Guns/Rifles/rifles.yml | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/Resources/Prototypes/Entities/Objects/Weapons/Guns/LMGs/lmgs.yml b/Resources/Prototypes/Entities/Objects/Weapons/Guns/LMGs/lmgs.yml index 49b2eeaada..67e738d1b5 100644 --- a/Resources/Prototypes/Entities/Objects/Weapons/Guns/LMGs/lmgs.yml +++ b/Resources/Prototypes/Entities/Objects/Weapons/Guns/LMGs/lmgs.yml @@ -60,6 +60,15 @@ price: 500 - type: UseDelay delay: 1 + - type: EmitSoundOnPickup + sound: + collection: RiflesPickUp + - type: EmitSoundOnDrop + sound: + collection: RiflesDrop + - type: EmitSoundOnLand + sound: + collection: RiflesDrop - type: entity name: L6 SAW diff --git a/Resources/Prototypes/Entities/Objects/Weapons/Guns/Launchers/launchers.yml b/Resources/Prototypes/Entities/Objects/Weapons/Guns/Launchers/launchers.yml index 32957cb12c..80475c2b4a 100644 --- a/Resources/Prototypes/Entities/Objects/Weapons/Guns/Launchers/launchers.yml +++ b/Resources/Prototypes/Entities/Objects/Weapons/Guns/Launchers/launchers.yml @@ -27,7 +27,7 @@ collection: RiflesDrop - type: EmitSoundOnLand sound: - collection: RiflesPickUp + collection: RiflesDrop - type: entity name: china lake diff --git a/Resources/Prototypes/Entities/Objects/Weapons/Guns/Rifles/rifles.yml b/Resources/Prototypes/Entities/Objects/Weapons/Guns/Rifles/rifles.yml index fbd87ca72f..080b8212db 100644 --- a/Resources/Prototypes/Entities/Objects/Weapons/Guns/Rifles/rifles.yml +++ b/Resources/Prototypes/Entities/Objects/Weapons/Guns/Rifles/rifles.yml @@ -58,7 +58,7 @@ collection: RiflesDrop - type: EmitSoundOnLand sound: - collection: RiflesPickUp + collection: RiflesDrop - type: entity name: AKMS