- type: entity
  id: CartridgePistol40SP
  name: cartridge (.40 SP)
  parent: BaseCartridgePistol
  components:
  - type: HitScanCartridgeAmmo
    hitscan: BulletPistolTrace40SP
  - type: Sprite
    layers:
      - state: base
        map: [ "enum.AmmoVisualLayers.Base" ]
      - state: tip
        map: [ "enum.AmmoVisualLayers.Tip" ]
        color: "#326ec8"
  - type: Tag
    tags:
      - Cartridge
      - CartridgePistolDP

- type: entity
  id: CartridgePistol40HP
  name: cartridge (.40 HP)
  parent: CartridgePistol40SP
  components:
  - type: HitScanCartridgeAmmo
    hitscan: BulletPistolTrace40HP
  - type: Sprite
    layers:
      - state: base
        map: [ "enum.AmmoVisualLayers.Base" ]
      - state: tip
        map: [ "enum.AmmoVisualLayers.Tip" ]
        color: "#000000"

- type: entity
  id: CartridgePistol40FMJ
  name: cartridge (.40 FMJ)
  parent: CartridgePistol40SP
  components:
  - type: HitScanCartridgeAmmo
    hitscan: BulletPistolTrace40FMJ
  - type: Sprite
    layers:
      - state: base
        map: [ "enum.AmmoVisualLayers.Base" ]
      - state: tip
        map: [ "enum.AmmoVisualLayers.Tip" ]
        color: "#B68F0E"

- type: entity
  id: CartridgePistol40AP
  name: cartridge (.40 AP)
  parent: CartridgePistol40SP
  components:
  - type: HitScanCartridgeAmmo
    hitscan: BulletPistolTrace40AP
  - type: Sprite
    layers:
      - state: base
        map: [ "enum.AmmoVisualLayers.Base" ]
      - state: tip
        map: [ "enum.AmmoVisualLayers.Tip" ]
        color: "#1A8C1A"

- type: entity
  id: CartridgePistolImprovised
  name: improvised cartridge (.35 auto)
  description: A handmade pistol bullet, uses phosphorus as a propellent instead of gunpowder which makes it much less effective.
  parent: [BaseCartridgePistol, BaseMinorContraband]
  components:
  - type: HitScanCartridgeAmmo
    hitscan: BulletPistolTraceImprovised
  - type: Sprite
    sprite: _Starlight/Objects/Weapons/Guns/Ammunition/Casings/improvised_casing.rsi
    layers:
      - state: base
        map: [ "enum.AmmoVisualLayers.Base" ]
      - state: tip
        map: [ "enum.AmmoVisualLayers.Tip" ]
        color: "#717171"
  - type: Tag
    tags:
      - CartridgePistol
      - CartridgePistolImprovised
  - type: Construction
    graph: ImprovisedPistolBulletGraph
    node: shell
