# Gunner
- type: job
  parent: CMJobBase
  id: RMCPMCGunner
  name: rmc-job-name-pmc-gunner
  description: rmc-ghost-role-information-pmc-description
  playTimeTracker: RMCJobPMCGunner
  ranks:
    RMCRankWeYaSupportSpecialist: []
  startingGear: RMCJobPMCGunner
  icon: RMCJobIconPMCGunner
  joinNotifyCrew: false
  accessGroups:
  - Colony
  - RMCWeYa
  spawnMenuRoleName: WEYA PMC Support Gunner
  special:
  - !type:AddComponentSpecial
    components:
    - type: NpcFactionMember
      factions:
      - WeYa
    - type: Skills
      skills:
        RMCSkillCqc: 1
        RMCSkillFirearms: 2
        RMCSkillPolice: 2
        RMCSkillFireman: 2
        RMCSkillConstruction: 2
        RMCSkillEngineer: 2
        RMCSkillSmartGun: 1
        RMCSkillEndurance: 3
        RMCSkillJtac: 1
        RMCSkillVehicles: 1
    - type: JobPrefix
      prefix: rmc-job-prefix-pmc-gunner
    - type: TacticalMapIcon
      icon:
        sprite: /Textures/_RMC14/Interface/map_blips.rsi
        state: pmc_sg
      background:
        sprite: /Textures/_RMC14/Interface/map_blips.rsi
        state: background_pmc
  hidden: true

- type: entity
  id: RMCRandomHumanoidPMCGunner
  name: weya pmc ghost role gunner
  suffix: Spawner, Player
  components:
  - type: Sprite
    sprite: _RMC14/Markers/landmarks.rsi
    state: pmc_spawn
  - type: RandomHumanoidSpawner
    settings: RMCPMCGunner

- type: entity
  parent: CMSpawnPointJobBase
  id: RMCSpawnPointPMCGunner
  name: weya pmc gunner spawn point
  components:
  - type: SpawnPoint
    job_id: RMCPMCGunner
  - type: Sprite
    sprite: _RMC14/Markers/landmarks.rsi
    state: pmc_spawn

- type: randomHumanoidSettings
  parent: EventHumanoid
  id: RMCPMCGunner
  components:
  - type: GhostRole
    name: rmc-ghost-name-pmc-gunner
    description: rmc-ghost-role-information-pmc-description
    rules: rmc-ghost-role-information-pmc-rules
    reregister: false
    job: RMCPMCGunner
    raffle:
      settings: short
    requirements:
    - !type:RoleTimeRequirement
      role: CMJobSmartGunOperator
      time: 18000 # 5 Hours
  - type: GhostRoleApplySpecial
    squad: SquadPMC

- type: startingGear
  id: RMCJobPMCGunner
  equipment:
    id: RMCIDCardPMC
    ears: RMCHeadsetDistressPMC
    jumpsuit: RMCJumpsuitVeteranPMCGunner
    outerClothing: CMArmorM4PMCSmartGunHarness
    gloves: RMCHandsVeteran
    head: ArmorHelmetPMCGunner
    shoes: RMCBootsPMCFilled
    mask: RMCMaskCoifPMC
    suitstorage: RMCSmartGunPMC
    pocket1: RMCPouchFirstAidPMCFill
    pocket2: RMCPouchDrumPMCFill
    belt: RMCBeltSmartGunOperatorPistolPMCFilled
    eyes: RMCGlassesSmartGunSight
  storage:
    outerClothing:
    - CMMagazinePistolMK80
    - CMMagazinePistolMK80
    head:
    - CMGauze10
    - CMGauze10

- type: playTimeTracker
  id: RMCJobPMCGunner

- type: jobIcon
  parent: CMJobIconBase
  id: RMCJobIconPMCGunner
  icon:
    sprite: _RMC14/Interface/cm_job_icons.rsi
    state: pmc_sg
