]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fixes oversight in wieldable smg accuracy (#27907)
authorRiceMar1244 <138547931+RiceMar1244@users.noreply.github.com>
Sat, 11 May 2024 14:40:01 +0000 (10:40 -0400)
committerGitHub <noreply@github.com>
Sat, 11 May 2024 14:40:01 +0000 (10:40 -0400)
Resources/Prototypes/Entities/Objects/Weapons/Guns/SMGs/smgs.yml

index f5193164e7b14b55877c95b897e11fae820efe2f..dd1e3e21f42ae8e926765e688c1b0795850731ff 100644 (file)
@@ -80,7 +80,7 @@
 
 - type: entity
   name: C-20r sub machine gun
-  parent: [BaseWeaponSubMachineGun, BaseGunWieldable]
+  parent: BaseWeaponSubMachineGun
   id: WeaponSubMachineGunC20r
   description: A firearm that is often used by the infamous nuclear operatives. Uses .35 auto ammo.
   components:
       map: ["enum.GunVisualLayers.Mag"]
   - type: Clothing
     sprite: Objects/Weapons/Guns/SMGs/c20r.rsi
+  - type: Wieldable
+  - type: GunWieldBonus
+    minAngle: -19
+    maxAngle: -16
   - type: Gun
     minAngle: 21
-    maxAngle: 32  
+    maxAngle: 32 
     shotsPerBurst: 5
     availableModes:
     - SemiAuto
 
 - type: entity
   name: Drozd
-  parent: [BaseWeaponSubMachineGun, BaseGunWieldable]
+  parent: BaseWeaponSubMachineGun
   id: WeaponSubMachineGunDrozd
   description: An excellent fully automatic Heavy SMG.
   components:
           map: ["enum.GunVisualLayers.Mag"]
     - type: Clothing
       sprite: Objects/Weapons/Guns/SMGs/drozd.rsi
+    - type: Wieldable
+    - type: GunWieldBonus
+      minAngle: -19
+      maxAngle: -16
     - type: Gun
       minAngle: 21
-      maxAngle: 32  
+      maxAngle: 32
       fireRate: 6
       selectedMode: FullAuto
       soundGunshot: