- type: entity
  id: BaseCartridgeRifle
  name: cartridge (.20 rifle)
  parent: [ BaseCartridge, BaseC1Contraband ] # Frontier: BaseSecurityContraband<BaseC1Contraband
  abstract: true
  components:
  - type: Tag
    tags:
      - Cartridge
      - CartridgeRifle
  - type: CartridgeAmmo
    # proto: BulletRifle # Frontier
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Casings/ammo_casing.rsi
    layers:
    - state: base
      map: ["enum.AmmoVisualLayers.Base"]
  - type: Appearance
  - type: SpentAmmoVisuals
  - type: StaticPrice
    price: 1

- type: entity
  categories: [ HideSpawnMenu ] # Frontier
  id: CartridgeRifle
  name: cartridge (.20 rifle)
  parent: BaseCartridgeRifle
  components:
  - type: CartridgeAmmo
    # proto: BulletRifle # Frontier

- type: entity
  categories: [ HideSpawnMenu ] # Frontier
  id: CartridgeRiflePractice
  name: cartridge (.20 rifle practice)
  parent: BaseCartridgeRifle
  components:
  - type: CartridgeAmmo
    # proto: BulletRiflePractice # Frontier
  - type: Sprite
    layers:
      - state: base
        map: [ "enum.AmmoVisualLayers.Base" ]
      - state: tip
        map: [ "enum.AmmoVisualLayers.Tip" ]
        color: "#dbdbdb"

- type: entity
  categories: [ HideSpawnMenu ] # Frontier
  id: CartridgeRifleIncendiary
  name: cartridge (.20 rifle incendiary)
  parent: BaseCartridgeRifle
  components:
  - type: CartridgeAmmo
    # proto: BulletRifleIncendiary # Frontier
  - type: Sprite
    layers:
      - state: base
        map: [ "enum.AmmoVisualLayers.Base" ]
      - state: tip
        map: [ "enum.AmmoVisualLayers.Tip" ]
        color: "#ff6e52"

- type: entity
  categories: [ HideSpawnMenu ] # Frontier
  id: CartridgeRifleUranium
  name: cartridge (.20 rifle uranium)
  parent: BaseCartridgeRifle
  components:
  - type: CartridgeAmmo
    # proto: BulletRifleUranium # Frontier
  - type: Sprite
    layers:
      - state: base
        map: [ "enum.AmmoVisualLayers.Base" ]
      - state: tip
        map: [ "enum.AmmoVisualLayers.Tip" ]
        color: "#65fe08"
