- type: entity
  abstract: true
  parent: RMCDropshipAttachmentBase
  id: RMCDropshipAttachmentWeapon
  components:
  - type: DropshipFabricatorPrintable
    category: Equipment
    cost: 400
  - type: PowerLoaderGrabbable
    delay: 1
  - type: DropshipWeapon
    skills:
      all:
        RMCSkillPilot: 2
  - type: PowerLoaderAttachable
    attachDelay: 7
    attachableTypes:
    - RMCDropshipWeaponPoint
  - type: PowerLoaderDetachable
    detachDelay: 7

- type: entity
  parent: RMCDropshipAttachmentWeapon
  id: RMCDropshipAttachmentGau21Cannon
  name: GAU-21 30mm cannon
  description: A dismounted GAU-21 'Rattler' 30mm rotary cannon. It seems to be missing its feed links and has exposed connection wires. Capable of firing 5200 rounds a minute, feared by many for its power. Earned the nickname 'Rattler' from the vibrations it would cause on dropships in its initial production run. Accepts PGU-100/PGU-105 ammo crates
  components:
  - type: Sprite
    layers:
    - state: 30mm_cannon
      offset: 0.5, 0.5
  - type: DropshipFabricatorPrintable
    cost: 400
  - type: DropshipWeapon
    abbreviation: GAU
    fireDelay: 2
    fireInTransport: true
    skills:
      all:
        RMCSkillPilot: 1
    weaponAttachedSprite:
      sprite: _RMC14/Objects/dropship_attachments.rsi
      state: 30mm_cannon_installed
    ammoEmptyAttachedSprite:
      sprite: _RMC14/Objects/dropship_attachments.rsi
      state: 30mm_cannon_loaded0
    ammoAttachedSprite:
      sprite: _RMC14/Objects/dropship_attachments.rsi
      state: 30mm_cannon_loaded1

- type: entity
  parent: RMCDropshipAttachmentWeapon
  id: RMCDropshipAttachmentGuidedMissileLauncher
  name: LAU-444 guided missile launcher
  description: A missile pod weapon system capable of launching a single laser-guided missile. Moving this will require some sort of lifter. Accepts AGM, AIM, BLU, and GBU missile systems.
  components:
  - type: Sprite
    layers:
    - state: rocket_pod
      offset: 0.5, 0.5
  - type: DropshipFabricatorPrintable
    cost: 600
  - type: DropshipWeapon
    abbreviation: MSL
    fireDelay: 5
    weaponAttachedSprite:
      sprite: _RMC14/Objects/dropship_attachments.rsi
      state: rocket_pod_installed
    ammoEmptyAttachedSprite:
      sprite: _RMC14/Objects/dropship_attachments.rsi
      state: rocket_pod_installed
    ammoAttachedSprite:
      sprite: _RMC14/Objects/dropship_attachments.rsi
      state: rocket_pod_loaded

- type: entity
  parent: RMCDropshipAttachmentWeapon
  id: RMCDropshipAttachmentRocketPod
  name: LAU-229 rocket pod
  description: A rocket pod capable of launching six laser-guided mini rockets. Moving this will require some sort of lifter. Accepts the AGR-59 series of minirockets.
  components:
  - type: Sprite
    layers:
    - state: minirocket_pod
      offset: 0.5, 0.5
  - type: DropshipFabricatorPrintable
    cost: 600
  - type: DropshipWeapon
    abbreviation: RKT
    fireDelay: 1
    weaponAttachedSprite:
      sprite: _RMC14/Objects/dropship_attachments.rsi
      state: minirocket_pod_installed
    ammoEmptyAttachedSprite:
      sprite: _RMC14/Objects/dropship_attachments.rsi
      state: minirocket_pod_installed
    ammoAttachedSprite:
      sprite: _RMC14/Objects/dropship_attachments.rsi
      state: minirocket_pod_loaded
    ammoSpriteThresholds: [5, 4, 3, 2, 1]
