- type: entity
  name: basesmg
  parent: BaseItem
  id: SmgBase
  description: A rooty tooty point and shooty.
  abstract: true
  components:
  - type: LoopingSound
  - type: RangedWeapon
    automatic: true
    firerate: 8
  - type: BallisticMagazineWeapon
    caliber: 12mm
    magazines:
    - A10mmSMG
    default_magazine: magazine_10mm_smg
    auto_eject_magazine: false
    sound_auto_eject: /Audio/Guns/EmptyAlarm/smg_empty_alarm.ogg
    sound_magazine_in: /Audio/Guns/MagIn/smg_magin.ogg
    sound_magazine_out: /Audio/Guns/MagOut/smg_magout.ogg
    sound_empty: /Audio/Guns/Empty/empty.ogg
    sound_gunshot: /Audio/Guns/Gunshots/smg.ogg

- type: entity
  name: c-20r sub machine gun
  parent: SmgBase
  id: SmgC20r
  description: A rooty tooty point and shooty.
  components:
  - type: Sprite
    netsync: false
    sprite: Objects/Guns/SMGs/c20r.rsi
    state: c20r-5
  - type: Icon
    sprite: Objects/Guns/SMGs/c20r.rsi
    state: c20r-5
  - type: RangedWeapon
    automatic: true
    firerate: 8
  - type: BallisticMagazineWeapon
    caliber: A10mm
    magazines:
    - A10mmSMG
    default_magazine: magazine_10mm_smg
    auto_eject_magazine: true
  - type: Appearance
    visuals:
    - type: BallisticMagazineWeaponVisualizer2D
      base_state: c20r
      steps: 6
  - type: Item
    Size: 24
    sprite: Objects/Guns/SMGs/c20r.rsi

- type: entity
  name: IH SMG
  parent: SmgBase
  id: SmgIhSmg
  description: Pla-ket-ket-ket-ket
  components:
  - type: Sprite
    netsync: false
    sprite: Objects/Guns/SMGs/ih_smg.rsi
    state: ih_smg-0
  - type: Icon
    sprite: Objects/Guns/SMGs/ih_smg.rsi
    state: ih_smg-0
  - type: LoopingSound
  - type: RangedWeapon
    automatic: true
    firerate: 16
  - type: BallisticMagazineWeapon
    spreadstddev: 6
    caliber: A9mm
    magazines:
    - A9mmSMG
    default_magazine: magazine_9mm_smg
  - type: Appearance
    visuals:
    - type: BallisticMagazineWeaponVisualizer2D
      base_state: ih_smg
      steps: 1
  - type: Item
    Size: 24
    sprite: Objects/Guns/SMGs/ih_smg.rsi

- type: entity
  name: IH SMG (silenced)
  parent: SmgBase
  id: SmgIhSmgS
  description: Pewsh pewsh
  components:
  - type: Sprite
    netsync: false
    sprite: Objects/Guns/SMGs/ih_smg_s.rsi
    state: ih_smg_s-0
  - type: Icon
    sprite: Objects/Guns/SMGs/ih_smg_s.rsi
    state: ih_smg_s-0
  - type: LoopingSound
  - type: RangedWeapon
    automatic: true
    firerate: 16
  - type: BallisticMagazineWeapon
    spreadstddev: 6
    caliber: A9mm
    magazines:
    - A9mmSMG
    default_magazine: magazine_9mm_smg
    sound_gunshot: /Audio/Guns/Gunshots/silenced.ogg
  - type: Appearance
    visuals:
    - type: BallisticMagazineWeaponVisualizer2D
      base_state: ih_smg_s
      steps: 1
  - type: Item
    Size: 24
    sprite: Objects/Guns/SMGs/ih_smg_s.rsi

- type: entity
  name: mac
  parent: SmgBase
  id: SmgMac
  description: Pla-ket-ket-ket-ket
  components:
  - type: Sprite
    netsync: false
    sprite: Objects/Guns/SMGs/mac.rsi
    state: mac-0
  - type: Icon
    sprite: Objects/Guns/SMGs/mac.rsi
    state: mac-0
  - type: LoopingSound
  - type: RangedWeapon
    automatic: true
    firerate: 16
  - type: BallisticMagazineWeapon
    spreadstddev: 6
    caliber: A9mm
    magazines:
    - A9mmSMG
    default_magazine: magazine_9mm_smg
  - type: Appearance
    visuals:
    - type: BallisticMagazineWeaponVisualizer2D
      base_state: mac
      steps: 1
  - type: Item
    Size: 24
    sprite: Objects/Guns/SMGs/mac.rsi

- type: entity
  name: saber
  parent: SmgBase
  id: SmgSaber
  description: A rooty tooty point and shooty.
  components:
  - type: Sprite
    netsync: false
    sprite: Objects/Guns/SMGs/saber.rsi
    state: saber-0
  - type: Icon
    sprite: Objects/Guns/SMGs/saber.rsi
    state: saber-0
  - type: LoopingSound
  - type: RangedWeapon
    automatic: true
    firerate: 12
  - type: BallisticMagazineWeapon
    spreadstddev: 4
    caliber: A9mm
    magazines:
    - A9mmSMG
    default_magazine: magazine_9mm_smg
  - type: Appearance
    visuals:
    - type: BallisticMagazineWeaponVisualizer2D
      base_state: saber
      steps: 1
  - type: Item
    Size: 24
    sprite: Objects/Guns/SMGs/saber.rsi

- type: entity
  name: wt550
  parent: SmgBase
  id: SmgWt550
  description: A rooty tooty point and shooty.
  components:
  - type: Sprite
    netsync: false
    sprite: Objects/Guns/SMGs/wt550.rsi
    state: wt550-5
  - type: Icon
    sprite: Objects/Guns/SMGs/wt550.rsi
    state: wt550-5
  - type: LoopingSound
  - type: RangedWeapon
    spreadstddev: 3.5
    automatic: true
    firerate: 10
  - type: BallisticMagazineWeapon
    caliber: A9mm
    magazines:
    - A9mmTopMounted
    default_magazine: magazine_9mmtm
  - type: Appearance
    visuals:
    - type: BallisticMagazineWeaponVisualizer2D
      base_state: wt550
      steps: 6
  - type: Item
    Size: 24
    sprite: Objects/Guns/SMGs/wt550.rsi
