# © 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
    currentTemperature: 310.15
  - type: TemperatureDamage
    coldDamage:
      types:
        Cold: 0
    heatDamage:
      types:
        Heat: 3
  - type: Speech
    speechVerb: LargeMob
    allowedEmotes: [ 'Hisses', 'Roars', 'Rumbles', 'Growl' ]
  - type: MeleeWeapon
    hidden: true
    soundHit:
      collection: Punch
    angle: 30
    animation: WeaponArcClaw
    attackRate: 1
    damage:
      types:
        Blunt: 5
        Slash: 5
        Caustic: 1
  - type: LizardAccent
  - type: VulpaAccent
  - type: Bloodstream
    bloodReferenceSolution:
      reagents:
      - ReagentId: FluorosulfuricAcidHumanoidXeno
        Quantity: 300
  - type: ProtectedFromStepTriggers
  - type: Damageable
    damageContainer: Biological
    damageModifierSet: Xenomorph
  - type: ToggleableNightVision
    effect: EffectNightVisionXeno
  - type: DamageVisuals
    damageOverlayGroups:
      Brute:
        sprite: Mobs/Effects/brute_damage.rsi
        color: "#44944A"
  - type: Stamina
    baseCritThreshold: 125
  - 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.08
  - type: Thirst
    baseDecayRate: 0.15
    dehydrationDamage:
      types:
        Bloodloss: 0.5
        Asphyxiation: 0.5
        Caustic: 0.05
  - 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
    femaleDisplacements:
      jumpsuit:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Reptilian/displacement.rsi
            state: jumpsuit-female
      head:
        sizeMaps:
          32:
            sprite: Mobs/Species/Reptilian/displacement.rsi
            state: head
      mask:
        sizeMaps:
          32:
            sprite: Mobs/Species/Reptilian/displacement.rsi
            state: mask
    displacements:
      head:
        sizeMaps:
          32:
            sprite: Mobs/Species/Reptilian/displacement.rsi
            state: head
      mask:
        sizeMaps:
          32:
            sprite: Mobs/Species/Reptilian/displacement.rsi
            state: mask
      shoes:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Reptilian/displacement.rsi
            state: shoes
      socks-body-curved-small-muzzle:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Reptilian/displacement.rsi
            state: socks
      outerClothing:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Reptilian/displacement.rsi
            state: outer
      hardsuit:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Reptilian/displacement.rsi
            state: hardsuit
    maleDisplacements:
      jumpsuit:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Reptilian/displacement.rsi
            state: jumpsuit
      shoes:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Reptilian/displacement.rsi
            state: shoes
      socks:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Reptilian/displacement.rsi
            state: socks
      outerClothing:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Reptilian/displacement.rsi
            state: outer
      hardsuit-body-normal:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Reptilian/displacement.rsi
            state: hardsuit
  - 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
    femaleDisplacements:
      jumpsuit:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Reptilian/displacement.rsi
            state: jumpsuit-female
      head:
        sizeMaps:
          32:
            sprite: Mobs/Species/Reptilian/displacement.rsi
            state: head
      mask:
        sizeMaps:
          32:
            sprite: Mobs/Species/Reptilian/displacement.rsi
            state: mask
    displacements:
      head:
        sizeMaps:
          32:
            sprite: Mobs/Species/Reptilian/displacement.rsi
            state: head
      mask:
        sizeMaps:
          32:
            sprite: Mobs/Species/Reptilian/displacement.rsi
            state: mask
      shoes:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Reptilian/displacement.rsi
            state: shoes
      socks:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Reptilian/displacement.rsi
            state: socks
      outerClothing:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Reptilian/displacement.rsi
            state: outer
      hardsuit:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Reptilian/displacement.rsi
            state: hardsuit
    maleDisplacements:
      jumpsuit:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Reptilian/displacement.rsi
            state: jumpsuit
      shoes:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Reptilian/displacement.rsi
            state: shoes
      socks:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Reptilian/displacement.rsi
            state: socks
      outerClothing:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Reptilian/displacement.rsi
            state: outer
      hardsuit-body-normal:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Reptilian/displacement.rsi
            state: hardsuit
  - type: Body
    prototype: HumanoidXeno

