- type: entity
  parent: BaseBullet
  id: PelletShotgunSlug
  categories: [ HideSpawnMenu ]
  name: pellet (.50 slug)
  components:
  - type: Sprite
    sprite: Objects/Weapons/Guns/Projectiles/projectiles2.rsi
    state: slug
  - type: Projectile
    damage:
      types:
        Piercing: 40
        Structural: 15


- type: entity
  parent: BaseBullet
  id: PelletShotgunBeanbag
  categories: [ HideSpawnMenu ]
  name: beanbag (.50)
  components:
  - type: Sprite
    sprite: Objects/Weapons/Guns/Projectiles/projectiles2.rsi
    layers:
    - state: bullet #just reapplying to here so it can be shaded
  - type: Projectile
    damage:
      types:
        Blunt: 10
  - type: StaminaDamageOnCollide
    damage: 40 # 3 hits to stun

- type: entity
  parent: BaseBullet
  id: PelletShotgun
  categories: [ HideSpawnMenu ]
  name: pellet (.50)
  components:
  - type: Projectile
    damage:
      types:
        Piercing: 10
        Structural: 15

- type: entity
  parent: PelletShotgun
  id: PelletShotgunSpread
  categories: [ HideSpawnMenu ]
  components:
  - type: ProjectileSpread
    proto: PelletShotgun
    count: 6
    spread: 15

- type: entity
  parent: BaseBulletIncendiary
  id: PelletShotgunIncendiary
  categories: [ HideSpawnMenu ]
  name: pellet (.50 incendiary)
  components:
  - type: Projectile
    damage:
      types:
        Piercing: 7
        Heat: 3
  - type: IgnitionSource
    ignited: true

- type: entity
  parent: PelletShotgunIncendiary
  id: PelletShotgunIncendiarySpread
  categories: [ HideSpawnMenu ]
  components:
  - type: ProjectileSpread
    proto: PelletShotgunIncendiary
    count: 6
    spread: 15

- type: entity
  parent: BaseBulletPractice
  id: PelletShotgunPractice
  categories: [ HideSpawnMenu ]
  name: pellet (.50 practice)
  components:
  - type: Projectile
    damage:
      types:
        Blunt: 1

- type: entity
  parent: PelletShotgunPractice
  id: PelletShotgunPracticeSpread
  categories: [ HideSpawnMenu ]
  components:
  - type: ProjectileSpread
    proto: PelletShotgunPractice
    count: 6
    spread: 15

- type: entity
  parent: BaseBullet
  id: PelletShotgunImprovised
  categories: [ HideSpawnMenu ]
  name: improvised pellet
  components:
  - type: Sprite
    sprite: Objects/Weapons/Guns/Projectiles/projectiles2.rsi
    layers:
    - state: shard
      shader: unshaded
  - type: Projectile
    damage:
      types:
        Piercing: 3
        Slash: 3

- type: entity
  parent: PelletShotgunImprovised
  id: PelletShotgunImprovisedSpread
  categories: [ HideSpawnMenu ]
  components:
  - type: ProjectileSpread
    proto: PelletShotgunImprovised
    count: 10
    spread: 45

- type: entity
  parent: [SolutionAmmo, SolutionToolVeryTiny, BaseBulletPractice]
  id: PelletShotgunTranquilizer
  categories: [ HideSpawnMenu ]
  name: pellet (.50 tranquilizer)
  components:
  - type: Projectile
    damage:
      types:
        Blunt: 1
  - type: SolutionInjectOnProjectileHit
    transferAmount: 7.5
    solution: ammo

- type: entity
  id: PelletShotgunFlare
  categories: [ HideSpawnMenu ]
  name: pellet (.50 flare)
  components:
  - type: Physics
    bodyType: Dynamic
    fixedRotation: false
  - type: EmbeddableProjectile
    deleteOnRemove: true
  - type: Fixtures
    fixtures:
      projectile:
        shape:
          !type:PhysShapeAabb
          bounds: "-0.1,-0.1,0.1,0.1"
        mask:
          - BulletImpassable
  - type: Sprite
    sprite: Objects/Weapons/Guns/Projectiles/projectiles2.rsi
    state: buckshot-flare
  - type: IgnitionSource
    ignited: true
    temperature: 1000
  - type: TimedDespawn
    lifetime: 240
  - type: AmbientSound
    enabled: true
    volume: 0
    range: 7
    sound:
      path: /Audio/Items/Flare/flare_burn.ogg
      params:
        loop: true
  - type: IgniteOnCollide
    fireStacks: 1
  - type: PointLight
    enabled: true
    color: "#FF8080"
    radius: 15.0
    energy: 9.0
  - type: Projectile
    deleteOnCollide: false
    damage:
      types:
        Heat: 5

- type: entity
  parent: BaseBulletUranium
  id: PelletShotgunUranium
  categories: [ HideSpawnMenu ]
  name: pellet (.50 uranium)
  components:
  - type: Projectile
    damage:
      types:
        Radiation: 5
        Piercing: 5

- type: entity
  parent: PelletShotgunUranium
  id: PelletShotgunUraniumSpread
  categories: [ HideSpawnMenu ]
  components:
  - type: ProjectileSpread
    proto: PelletShotgunUranium
    count: 5
    spread: 6

- type: entity
  parent: BaseBullet
  id: PelletGrapeshot #tally fucking ho
  categories: [ HideSpawnMenu ]
  name: grapeshot pellet
  components:
  - type: Sprite
    noRot: false
    sprite: Objects/Weapons/Guns/Projectiles/projectiles2.rsi
    layers:
    - state: grapeshot
      shader: unshaded
  - type: Projectile
    damage:
      types:
        Piercing: 25
        Structural: 5

- type: entity
  parent: PelletGrapeshot
  id: PelletGrapeshotSpread
  categories: [ HideSpawnMenu ]
  components:
  - type: ProjectileSpread
    proto: PelletGrapeshot
    count: 5
    spread: 40

- type: entity
  parent: BaseBullet
  id: PelletGlass
  categories: [ HideSpawnMenu ]
  name: glass shard
  components:
  - type: Sprite
    noRot: false
    sprite: Objects/Weapons/Guns/Projectiles/projectiles2.rsi
    layers:
    - state: shard
  - type: EmbeddableProjectile
    deleteOnRemove: true
  - type: Projectile
    deleteOnCollide: false
    damage:
      types:
        Slash: 25

- type: entity
  parent: PelletGlass
  id: PelletGlassSpread
  categories: [ HideSpawnMenu ]
  components:
  - type: ProjectileSpread
    proto: PelletGlass
    count: 5
    spread: 10
