- type: entity
  parent:
  - CMXenoDeveloped
  - CMXenoTail
  - CMXenoFlammable
  - RMCXenoSpeechSounds
  - RMCXenoCommendationReceiver
  - RMCXenoMobCollision
  id: RMCXenoCarrierBase
  name: Carrier
  description: A strange-looking alien creature. It carries a number of scuttling jointed crablike creatures.
  abstract: true
  components:
  - type: TTS
    voice: KHAJIIT
    faction: Xeno
  - type: CanBuildThickFromConstructNode
  - type: GhostRole
    name: cm-job-name-xeno-carrier
  - type: MobState
    allowedStates:
    - Alive
    - Critical
    - Dead
  - type: MobThresholds
    thresholds:
      0: Alive
      650: Critical
      750: Dead
  - type: Xeno
    role: CMXenoCarrier
    tier: 2
    hudOffset: 0,0.19
    unlockAt: 300 # 5 minutes
  - type: XenoHeavy
  - type: XenoDevolve
    devolvesTo:
    - CMXenoDrone
  - type: XenoConstruction
    canOrderConstruction:
    - HiveCoreXenoConstructionNode
    - HiveEggMorpherXenoConstructionNode
    - HiveClusterXenoConstructionNode
    - HiveRecoveryNodeXenoConstructionNode
    - HivePlasmaTreeXenoConstructionNode
  - type: XenoPheromones
    pheromonesMultiplier: 2
  - type: XenoPlasma
    plasma: 500
    maxPlasma: 500
    plasmaRegenOnWeeds: 3.5
  - type: CMArmor
    explosionArmor: 20
  - type: XenoDevour
  - type: MeleeWeapon
    damage:
      groups:
        Brute: 27.5
  - type: XenoTailStab
    tailDamage:
      groups:
        Brute: 42
  - type: Tackle
    max: 4
    chance: 0.5
    stunMin: 4
    stunMax: 5
  - type: TunnelRenamer
  - type: MovementSpeedModifier
    baseWalkSpeed: 2
    baseSprintSpeed: 3.5
  - type: SlowOnPull
    slowdowns:
    - multiplier: 0.6375
      whitelist:
        components:
        - Marine
    - multiplier: 0.7075
      whitelist:
        components:
        - XenoLight
    - multiplier: 0.475
      whitelist:
        components:
        - XenoHeavy
  - type: EggPlantTime
    plantTime: 1
  - type: WhitelistPickup
    whitelist:
      components:
      - XenoParasite
      - XenoEgg
      - XenoFruit
  - type: XenoEggRetriever
  - type: XenoNurturing
  - type: RMCSize
    size: Big
  - type: RMCXenoDamageVisuals
    prefix: carrier
  - type: TacticalMapIcon
    icon:
      sprite: /Textures/_RMC14/Interface/map_blips.rsi
      state: carrier
  - type: XenoInhands
    prefix: carrier
  - type: IntelRecoverCorpseObjectiveOnDeath
    value: 0.2
  - type: FixedIdentity
    name: cm-job-name-xeno-carrier
  - type: RMCSurgeryXenoHeart
    item: RMCOrganXenoHeartT2

- type: entity
  parent: RMCXenoCarrierBase
  id: CMXenoCarrier
  components:
  - type: GuideHelp
    guides:
    - RMCGuideRoleCarrier
  - type: Sprite
    sprite: _AU14/Mobs/Xenos/Carrier/carrier.rsi # AU14-Edit
    layers:
    - map: [ "enum.XenoVisualLayers.Base" ]
      state: alive
    - map: [ "enum.RMCDamageVisualLayers.Base" ]
      visible: false
    - map: [ "enum.ParasiteOverlayLayers.RightArm" ]
      visible: false
    - map: [ "enum.ParasiteOverlayLayers.Head" ]
      visible: false
    - map: [ "enum.ParasiteOverlayLayers.LeftArm" ]
      visible: false
    - map: [ "enum.ParasiteOverlayLayers.Back" ]
      visible: false
    - map: [ "enum.XenoInhandVisualLayers.Left" ]
      visible: false
    - map: [ "enum.XenoInhandVisualLayers.Right" ]
      visible: false
    - map: [ "enum.RMCShieldVisuals.Base" ]
      sprite: _RMC14/Effects/xeno_shields.rsi
      visible: false
  - type: Xeno
    actionIds:
    - ActionXenoRest
    - ActionXenoRegurgitate
    - ActionXenoWatch
    - ActionXenoTailStab
    - ActionXenoOrderConstruction
    - ActionXenoPheromones
    - ActionXenoPlantWeeds
    - ActionXenoResinHole
    - ActionXenoThrowParasite
    - ActionXenoRetrieveEgg
    - ActionXenoParasiteReserve
    - ActionXenoDevolve
  - type: XenoParasiteThrower
  - type: XenoEvolution
    max: 500
    evolvesTo:
    - CMXenoReaper
    strains:
    - RMCXenoCarrierEggsac
  - type: RMCActionOrder
    id: CMXenoCarrier

- type: entity
  parent: RMCXenoCarrierBase
  id: RMCXenoCarrierEggsac
  suffix: Eggsac
  components:
  - type: CanBuildThickFromConstructNode
  - type: GuideHelp
    guides:
    - RMCGuideRoleEggsac
  - type: Sprite
    sprite: _AU14/Mobs/Xenos/Carrier/eggsac_carrier.rsi # AU14-Edit
    layers:
    - map: [ "enum.XenoVisualLayers.Base" ]
      state: alive
    - map: [ "enum.XenoEggStorageVisualLayers.Base" ]
      state: eggsac_0
    - map: [ "enum.RMCDamageVisualLayers.Base" ]
      visible: false
    - map: [ "enum.XenoInhandVisualLayers.Left" ]
      visible: false
    - map: [ "enum.XenoInhandVisualLayers.Right" ]
      visible: false
    - map: [ "enum.RMCShieldVisuals.Base" ]
      sprite: _RMC14/Effects/xeno_shields.rsi
      visible: false
  - type: Xeno
    actionIds:
    - ActionXenoRest
    - ActionXenoRegurgitate
    - ActionXenoWatch
    - ActionXenoTailStab
    - ActionXenoOrderConstruction
    - ActionXenoPheromones
    - ActionXenoPlantWeeds
    - ActionXenoGenerateEggs
    - ActionXenoRetrieveEgg
    - ActionXenoDevolve
  - type: XenoStrain
    name: rmc-xeno-eggsac-name
    description: rmc-xeno-eggsac-description
    popup: rmc-xeno-eggsac-popup
  - type: XenoPheromones
    pheromonesMultiplier: 3
    pheroSuffix: strong
  - type: XenoEggRetriever
    maxEggs: 12
  - type: XenoEggStorageVisuals
  - type: EggPlantingDistance
    distance: 2.5
  - type: XenoGenerateEggs
  - type: XenoEggSustainer
  - type: XenoHidden
  - type: RMCActionOrder
    id: RMCXenoCarrierEggsac
