# CHARON

- type: entity
  id: ShipRailgunProjectile
  name: M381 CHARON 280mm 26.5 kg slug
  parent: BaseBulletTrigger
  categories: [ HideSpawnMenu ]
  components:
  - type: Projectile
    damage:
      types:
        Structural: 9000
        Blunt: 5000
    penetrationThreshold: 2500
  - type: Sprite
    sprite: Objects/Weapons/Guns/Projectiles/projectiles_tg.rsi
    layers:
    - state: omnilaser
  - type: Ammo
    muzzleFlash: null
  - type: ShipWeaponProjectile
  - type: RadarBlip
    radarColor: "#CF0E0E"
    scale: 4
    requireNoGrid: true
    shape: triangle
  - type: TimedDespawn
    lifetime: 1.7
  - type: PointLight
    color: "#19AFFF"
  - type: ExplodeOnTrigger
  - type: Explosive
    explosionType: Default
    totalIntensity: 1500
    intensitySlope: 40
    maxIntensity: 200
  - type: GatheringProjectile
  - type: MiningGatheringSoft
  - type: MiningGatheringHard

- type: entity
  id: CharonSlugAmmo
  name: M381 CHARON 280mm 26.5kg slug cartridge
  description: An all-in-one package containing plasma gas accelerant and a high-density tungsten slug. Cheap, devastating, and long ranged.
  parent: BaseGrenade
  components:
  - type: Tag
    tags:
    - CharonSlug
  - type: Item
    size: Huge
  - type: CartridgeAmmo
    proto: ShipRailgunProjectile
    deleteOnSpawn: true
  - type: Sprite
    sprite: _Mono/Objects/Weapons/Guns/Ammunition/Explosives/charonslug.rsi
    layers:
    - state: railgun_slug
      map: ["enum.AmmoVisualLayers.Base"]
  - type: Appearance
  - type: SpentAmmoVisuals

# Subnuclear shells

- type: entity
  id: ShipRailgunProjectileSubnuclear
  name: M381 CHARON 280mm 1.5kt nuclear slug
  description: Once the genie is out of the bottle, there's no putting it back inside, tarkhan.
  parent: BaseBulletTrigger
  categories: [ HideSpawnMenu ]
  components:
  - type: Projectile
    damage:
      types:
        Structural: 125000
        Blunt: 5000
  - type: Sprite
    sprite: Objects/Weapons/Guns/Projectiles/projectiles_tg.rsi
    layers:
    - state: omnilaser
  - type: Ammo
    muzzleFlash: null
  - type: ShipWeaponProjectile
  - type: RadarBlip
    radarColor: "#268521"
    scale: 4
    requireNoGrid: true
    shape: triangle
  - type: TimedDespawn
    lifetime: 1.7
  - type: PointLight
    color: "#19AFFF"
  - type: ExplodeOnTrigger
  - type: Explosive
    explosionType: Default
    totalIntensity: 12000
    intensitySlope: 30
    maxIntensity: 400
  - type: GatheringProjectile
  - type: MiningGatheringSoft
  - type: MiningGatheringHard

- type: entity
  id: CharonSubnuclearSlugAmmo
  name: M381 CHARON 280mm 1.5kt nuclear slug cartridge
  description: NUCLEAR. CARNAGE. An all-in-one package containing plasma gas accelerant, and a low-yield fission warhead. May cause public outcry, but you *had* to use this, right?
  parent: BaseGrenade
  components:
  - type: Tag
    tags:
    - CharonSlug
  - type: Item
    size: Huge
  - type: CartridgeAmmo
    proto: ShipRailgunProjectileSubnuclear
    deleteOnSpawn: true
  - type: Sprite
    sprite: _Mono/Objects/Weapons/Guns/Ammunition/Explosives/charonslug.rsi
    layers:
    - state: subnuclear
      map: ["enum.AmmoVisualLayers.Base"]
  - type: Appearance
  - type: SpentAmmoVisuals
