- type: entity
  name: SniperBase
  parent: BaseItem
  id: SniperBase
  description: A rooty tooty point and shooty.
  abstract: true
  components:
  - type: Sprite
    netsync: false
    layers:
    - state: base
      map: ["enum.RangedBarrelVisualLayers.Base"]
    - state: bolt-closed
      map: ["enum.RangedBarrelVisualLayers.Bolt"]
  - type: Item
    size: 24
  - type: BoltActionBarrel
    currentSelector: Single
    allSelectors:
    - Single
    fillPrototype: CartridgeLRifle
    caliber: LRifle
    capacity: 10
    fireRate: 1.0
    minAngle: 5
    maxAngle: 45
    angleIncrease: 20
    angleDecay: 15
    soundGunshot:
      path: /Audio/Weapons/Guns/Gunshots/sniper.ogg
    soundEmpty:
      path: /Audio/Weapons/Guns/Empty/empty.ogg
    soundInsert:
      path: /Audio/Weapons/Guns/MagIn/bullet_insert.ogg

- type: entity
  name: Kardashev-Mosin
  parent: SniperBase
  id: SniperBoltGun
  description: Weapon for hunting, or endless trench warfare.
  components:
  - type: Sprite
    sprite: Objects/Weapons/Guns/Snipers/bolt_gun.rsi
  - type: Item
    sprite: Objects/Weapons/Guns/Snipers/bolt_gun.rsi
  - type: RangedWeapon
  - type: BoltActionBarrel
  - type: Appearance
    visuals:
    - type: BarrelBoltVisualizer

- type: entity
  name: Kardashev-Mosin
  parent: SniperBase
  id: SniperBoltGunWood
  description: Weapon for hunting, or endless trench warfare.
  components:
  - type: Sprite
    sprite: Objects/Weapons/Guns/Snipers/bolt_gun_wood.rsi
  - type: Item
    sprite: Objects/Weapons/Guns/Snipers/bolt_gun_wood.rsi
  - type: RangedWeapon
  - type: BoltActionBarrel
  - type: Appearance
    visuals:
    - type: BarrelBoltVisualizer

- type: entity
  name: Hristov
  parent: SniperBase
  id: SniperHeavy
  description: A portable anti-armour rifle. Fires armor piercing 14.5mm shells.
  components:
  - type: Sprite
    sprite: Objects/Weapons/Guns/Snipers/heavy_sniper.rsi
  - type: Item
    sprite: Objects/Weapons/Guns/Snipers/heavy_sniper.rsi
  - type: RangedWeapon
  - type: BoltActionBarrel
    caliber: AntiMaterial
    capacity: 1
    fillPrototype: CartridgeAntiMaterial
  - type: Appearance
    visuals:
    - type: BarrelBoltVisualizer

- type: entity
  name: flintlock pistol
  parent: SniperBase
  id: FlintlockPistol
  description: A pirate's companion. Yarrr!
  components:
  - type: Sprite
    sprite: Objects/Weapons/Guns/Snipers/flintlock.rsi
  - type: RangedWeapon
  - type: BoltActionBarrel
    caliber: AntiMaterial
    capacity: 1
    fireRate: 1.0
    minAngle: 25
    maxAngle: 80
    angleIncrease: 20
    angleDecay: 15
    fillPrototype: CartridgeAntiMaterial
    soundInsert:
      path: /Audio/Weapons/Guns/MagIn/bullet_insert.ogg
  - type: Appearance
    visuals:
    - type: BarrelBoltVisualizer
  - type: Item
    icon: Objects/Weapons/Guns/Snipers/flintlock.rsi


- type: entity
  name: musket
  parent: SniperBase
  id: Musket
  description: This should've been in a museum long before you were born.
  components:
  - type: Sprite
    sprite: Objects/Weapons/Guns/Snipers/musket.rsi
  - type: RangedWeapon
  - type: BoltActionBarrel
    caliber: AntiMaterial
    capacity: 1
    fireRate: 1.0
    minAngle: 15
    maxAngle: 60
    angleIncrease: 20
    angleDecay: 15
    fillPrototype: CartridgeAntiMaterial
    soundInsert:
      path: /Audio/Weapons/Guns/MagIn/bullet_insert.ogg
  - type: Appearance
    visuals:
    - type: BarrelBoltVisualizer
  - type: Item
    icon: Objects/Weapons/Guns/Snipers/musket.rsi
