- type: entity
  id: BaseMagazine635x40mmCaseless
  name: "magazine (635x40mm Caseless)"
  parent: [ BaseCartridge, RecyclableItemSteelTiny ]
  abstract: true
  components:
  - type: Tag
    tags:
      - Magazine635x40mmCaseless
  - type: BallisticAmmoProvider
    mayTransfer: true
    whitelist:
      tags:
        - Cartridge635x40mmCaseless
    proto: Cartridge635x40mmCaseless
    capacity: 30
  - type: Item
    size: Small
  - type: ContainerContainer
    containers:
      ballistic-ammo: !type:Container
  - type: Sprite
    sprite: _Mono/Objects/Weapons/Guns/Ammunition/Magazine/6.35x40mm_caseless/6.35x40mm_caseless_rifle_mag.rsi
    layers:
    - state: base
      map: ["enum.GunVisualLayers.Base"]
    - state: mag-1
      map: ["enum.GunVisualLayers.Mag"]
  - type: MagazineVisuals
    magState: mag
    steps: 2
    zeroVisible: false
  - type: Appearance

- type: entity
  id: BaseMagazine635x40mmCaselessShort
  name: "caseless rifle short magazine (635x40mm Caseless)"
  parent: BaseMagazine635x40mmCaseless
  abstract: true
  components:
  - type: BallisticAmmoProvider
    proto: Cartridge635x40mmCaseless
    capacity: 10
  - type: Item
    size: Tiny
  - type: Sprite
    sprite: _Mono/Objects/Weapons/Guns/Ammunition/Magazine/6.35x40mm_caseless/6.35x40mm_caseless_rifle_mag_short.rsi
    layers:
    - state: base
      map: ["enum.GunVisualLayers.Base"]
    - state: mag-1
      map: ["enum.GunVisualLayers.Mag"]

- type: entity
  id: BaseMagazine635x40mmCaselessPistol
  name: "pistol magazine (635x40mm Caseless)"
  parent: BaseMagazine635x40mmCaseless
  abstract: true
  components:
  - type: Tag
    tags:
      - Magazine635x40mmCaselessPistol
  - type: BallisticAmmoProvider
    whitelist:
      tags:
        - Cartridge635x40mmCaseless
    proto: Cartridge635x40mmCaseless
    capacity: 10
  - type: Item
    size: Small
  - type: Sprite
    sprite: _Mono/Objects/Weapons/Guns/Ammunition/Magazine/6.35x40mm_caseless/6.35x40mm_caseless_pistol_mag.rsi
    layers:
    - state: base
      map: ["enum.GunVisualLayers.Base"]
    - state: mag-1
      map: ["enum.GunVisualLayers.Mag"]
  - type: MagazineVisuals
    magState: mag
    steps: 6
    zeroVisible: false
  - type: Appearance

- type: entity
  id: Magazine635x40mmCaselessBig
  name: "box magazine (635x40mm Caseless)"
  parent: BaseMagazine635x40mmCaseless
  components:
  - type: BallisticAmmoProvider
    proto: Cartridge635x40mmCaseless
    capacity: 99
  - type: Sprite
    sprite: _Mono/Objects/Weapons/Guns/Ammunition/Magazine/6.35x40mm_caseless/6.35x40mm_caseless_lmg_mag.rsi
  - type: MagazineVisuals
    magState: mag
    steps: 8
    zeroVisible: false

- type: entity
  id: Magazine635x40mmCaselessPistol
  name: "pistol magazine (635x40mm Caseless)"
  parent: BaseMagazine635x40mmCaselessPistol
  components:
  - type: BallisticAmmoProvider
    proto: Cartridge635x40mmCaseless
    capacity: 10
  - type: Sprite
    slayers:
    - state: red
      map: ["enum.GunVisualLayers.Base"]
    - state: mag-1
      map: ["enum.GunVisualLayers.Mag"]
  - type: MagazineVisuals
    magState: mag
    steps: 6
    zeroVisible: false
  - type: Appearance

- type: entity
  id: Magazine635x40mmCaselessPistolPractice
  name: "pistol magazine (635x40mm Caseless practice)"
  parent: BaseMagazine635x40mmCaselessPistol
  components:
  - type: BallisticAmmoProvider
    proto: Cartridge635x40mmCaselessPractice
    capacity: 10
  - type: Sprite
    layers:
    - state: practice
      map: ["enum.GunVisualLayers.Base"]
    - state: mag-1
      map: ["enum.GunVisualLayers.Mag"]
  - type: MagazineVisuals
    magState: mag
    steps: 6
    zeroVisible: false
  - type: Appearance

- type: entity
  id: Magazine635x40mmCaseless
  name: "magazine (635x40mm Caseless)"
  parent: BaseMagazine635x40mmCaseless
  components:
  - type: BallisticAmmoProvider
    proto: Cartridge635x40mmCaseless
  - type: Sprite
    layers:
    - state: red
      map: ["enum.GunVisualLayers.Base"]
    - state: mag-1
      map: ["enum.GunVisualLayers.Mag"]

- type: entity
  id: Magazine635x40mmCaselessRubber
  name: "magazine (635x40mm Caseless)"
  parent: BaseMagazine635x40mmCaseless
  components:
  - type: BallisticAmmoProvider
    proto: Cartridge635x40mmCaselessRubber
  - type: Sprite
    layers:
    - state: base
      map: ["enum.GunVisualLayers.Base"]
    - state: mag-1
      map: ["enum.GunVisualLayers.Mag"]

- type: entity
  id: Magazine635x40mmCaselessPractice
  name: "magazine (635x40mm Caseless practice)"
  parent: BaseMagazine635x40mmCaseless
  components:
  - type: BallisticAmmoProvider
    proto: Cartridge635x40mmCaselessPractice
  - type: Sprite
    layers:
    - state: practice
      map: ["enum.GunVisualLayers.Base"]
    - state: mag-1
      map: ["enum.GunVisualLayers.Mag"]

- type: entity
  id: Magazine635x40mmCaselessShort
  name: "short magazine (635x40mm Caseless)"
  parent: BaseMagazine635x40mmCaselessShort
  components:
  - type: BallisticAmmoProvider
    proto: Cartridge635x40mmCaseless
    capacity: 20
  - type: Sprite
    layers:
    - state: red
      map: ["enum.GunVisualLayers.Base"]
    - state: mag-1
      map: ["enum.GunVisualLayers.Mag"]

- type: entity
  id: Magazine635x40mmCaselessShortPractice
  name: "short magazine (635x40mm Caseless practice)"
  parent: BaseMagazine635x40mmCaselessShort
  components:
  - type: BallisticAmmoProvider
    proto: Cartridge635x40mmCaselessPractice
    capacity: 20
  - type: Sprite
    layers:
    - state: practice
      map: ["enum.GunVisualLayers.Base"]
    - state: mag-1
      map: ["enum.GunVisualLayers.Mag"]
