- type: job
  parent: CMSurvivor
  id: CMSurvivorEngineer
  name: cm-job-name-survivor-engineer
  description: cm-job-description-survivor
  playTimeTracker: CMJobSurvivorEngineer
  startingGear: RMCGearSurvivorEngineer
  accessGroups:
  - ColonistEngi
  basePlaytimeTracker: true
  special:
  - !type:AddComponentSpecial
    components:
    - type: Skills
      skills:
        RMCSkillEndurance: 2
        RMCSkillFirearms: 2
        RMCSkillFireman: 1
        RMCSkillEngineer: 2
        RMCSkillConstruction: 2
        RMCSkillPowerLoader: 2
        RMCSkillVehicles: 1
    - type: EquipEntityPreset
      preset: RMCSurvivorPresetEngineer
    - type: RMCSurvivor
    - type: MotionDetectorTracked
    - type: NpcFactionMember
      factions:
      - Civilian
    - type: IntelRescueSurvivorObjective
    - type: RMCAllowSuitStorage
  useLoadoutOfJob: CMSurvivorEngineer # for inheritance

- type: startingGear
  id: RMCGearSurvivorEngineer
  equipment:
    head: RMCHardhatWhite
    eyes: RMCWeldingGoggles
    jumpsuit: CMJumpsuitLiaisonBrown
    outerClothing: RMCHazardVestYellow
    gloves: CMHandsInsulated
    shoes: RMCShoesJackboots
    back: CMSatchelEngineerSurvivorFill
    id: CMIDCardColonistEngineer
    pocket1: RMCPouchSurvivalFill
    pocket2: RMCWelderIndustrial

- type: entity
  parent: CMSpawnPointJobBase
  id: RMCSpawnPointSurvivorEngineer
  name: survivor engineer spawn point
  components:
  - type: SpawnPoint
    job_id: CMSurvivor
  - type: Sprite
    layers:
    - sprite: _RMC14/Markers/landmarks.rsi
      state: surv

- type: playTimeTracker
  id: CMJobSurvivorEngineer
  name: rmc-playtime-tracker-job-name-survivor-engineer
  isHumanoid: true

- type: entity
  parent: RMCSurvivorPresetCivilian
  id: RMCSurvivorPresetEngineer
  name: engineer colonist preset
  categories: [ HideSpawnMenu ]
  components:
  - type: EntityPreset
    randomGearOther:
    -
      - [ CMBeltUtilityFilled ]

- type: entity
  parent: MarkerBase
  id: RMCRandomHumanoidSurvivorEngineer
  name: engineer colonist ghost role
  components:
  - type: Sprite
    layers:
    - state: red
  - type: RandomHumanoidSpawner
    settings: RMCSurvivorEngineer

- type: randomHumanoidSettings
  parent: RMCSettingsGhostRole
  id: RMCSurvivorEngineer
  components:
  - type: RMCJobSpawner
    job: CMSurvivorEngineer
