# © SUNRISE, An EULA/CLA with a hosting restriction, full text: https://github.com/space-sunrise/space-station-14/blob/master/CLA.txt
- type: entity
  parent: BaseMobSpeciesOrganic
  id: BaseMobHumanoidXeno
  name: Urist McXeno
  abstract: true
  components:
  - type: Interactions
  - type: Respirator
    damage:
      types:
        Asphyxiation: 0.2
    damageRecovery:
      types:
        Asphyxiation: -1.0
    maxSaturation: 50
    minSaturation: 40
  - type: Vocal
    sounds:
      Male: XenoHumanoid
      Female: XenoHumanoid
      Unsexed: XenoHumanoid
  - type: PressureImmunity
  - type: TypingIndicator
    proto: alien
  - type: Temperature
    heatDamageThreshold: 360
    coldDamageThreshold: -150
    currentTemperature: 310.15
  - type: Speech
    speechVerb: LargeMob
  - type: MeleeWeapon
    hidden: true
    soundHit:
      collection: Punch
    angle: 30
    animation: WeaponArcClaw
    attackRate: 1
    damage:
      types:
        Blunt: 5
        Slash: 10
  - type: Bloodstream
    bloodReagent: FluorosulfuricAcidHumanoidXeno
  - type: Damageable
    damageContainer: Biological
    damageModifierSet: Xenomorph
  - type: DamageVisuals
    damageOverlayGroups:
      Brute:
        sprite: Mobs/Effects/brute_damage.rsi
        color: "#44944A"
  - type: Fixtures
    fixtures:
      fix1:
        shape:
          !type:PhysShapeCircle
          radius: 0.40
        density: 250
        restitution: 0.0
        mask:
        - MobMask
        layer:
        - MobLayer
  - type: Sprite
    layers:
    - map: [ "enum.HumanoidVisualLayers.Chest" ]
    - map: [ "enum.HumanoidVisualLayers.Snout" ]
    - map: [ "enum.HumanoidVisualLayers.Eyes" ]
    - map: [ "enum.HumanoidVisualLayers.RArm" ]
    - map: [ "enum.HumanoidVisualLayers.LArm" ]
    - map: [ "enum.HumanoidVisualLayers.RLeg" ]
    - map: [ "enum.HumanoidVisualLayers.LLeg" ]
    - shader: StencilClear
      sprite: _Sunrise/Mobs/Species/HumanoidXeno/parts.rsi
      state:
    - map: ["enum.HumanoidVisualLayers.LFoot"]
    - map: ["enum.HumanoidVisualLayers.RFoot"]
    - map: ["bra"]
    - map: ["pants"]
    - map: ["socks"]
    - map: ["jumpsuit"]
    - map: ["enum.HumanoidVisualLayers.LHand"]
    - map: ["enum.HumanoidVisualLayers.RHand"]
    - map: [ "gloves" ]
    - map: [ "shoes" ]
    - map: [ "ears" ]
    - map: [ "outerClothing" ]
    - map: [ "belt" ]
    - map: [ "id" ]
    - map: [ "neck" ]
    - map: [ "back" ]
    - map: [ "enum.HumanoidVisualLayers.FacialHair" ]
    - map: [ "enum.HumanoidVisualLayers.Hair" ]
    - map: [ "enum.HumanoidVisualLayers.HeadSide" ]
    - map: [ "enum.HumanoidVisualLayers.HeadTop" ]
    - map: [ "enum.HumanoidVisualLayers.Tail" ]
    - map: [ "pocket1" ]
    - map: [ "pocket2" ]
    - map: ["enum.HumanoidVisualLayers.Handcuffs"]
      color: "#ffffff"
      sprite: Objects/Misc/handcuffs.rsi
      state: body-overlay-2
      visible: false
  - type: Hunger
    baseDecayRate: 0.04
  - type: Thirst
    baseDecayRate: 0.15
    dehydrationDamage:
      types:
        Bloodloss: 0.5
        Asphyxiation: 0.5
  - type: Icon # It will not have an icon in the adminspawn menu without this. Body parts seem fine for whatever reason.
    sprite: _Sunrise/Mobs/Species/HumanoidXeno/parts.rsi
    state: full
  - type: Perishable
  - type: Butcherable
    butcheringType: Spike
    spawned:
    - id: FoodMeatXeno
      amount: 5
  - type: Body
    prototype: HumanoidXeno
    requiredLegs: 2
  - type: Inventory
    speciesId: reptilian
    templateId: humanoidxeno
  - type: HumanoidAppearance
    species: HumanoidXeno
  - type: Tag
    tags:
      - HumanoidXeno
      - CanPilot
      - FootstepSound
      - DoorBumpOpener
  - type: CollectiveMind
    minds:
    - Xeno
  - type: FootprintEmitter
  - type: Carriable

- type: entity
  parent: BaseSpeciesDummy
  id: MobXenoDummy
  categories: [ HideSpawnMenu ]
  components:
  - type: HumanoidAppearance
    species: HumanoidXeno
  - type: Inventory
    speciesId: reptilian
    templateId: humanoidxeno
  - type: Body
    prototype: HumanoidXeno

