# © SUNRISE, An EULA/CLA with a hosting restriction, full text: https://github.com/makura-games/sunrise-station/blob/master/CLA.txt
- type: entity
  parent: BaseSpeciesAppearance
  id: AppearanceHumanoidXeno
  name: humanoid xeno appearance
  components:
  - type: InitialBody
    organs:
      Torso: TorsoHumanoidXeno
      Head: HeadHumanoidXeno
      ArmLeft: LeftArmHumanoidXeno
      ArmRight: RightArmHumanoidXeno
      HandRight: RightHandHumanoidXeno
      HandLeft: LeftHandHumanoidXeno
      LegLeft: LeftLegHumanoidXeno
      LegRight: RightLegHumanoidXeno
      FootLeft: LeftFootHumanoidXeno
      FootRight: RightFootHumanoidXeno
      Brain: OrganHumanoidXenoBrain
      Eyes: OrganHumanoidXenoEyes
      Tongue: OrganHumanTongue
      Heart: OrganHumanoidXenoHeart
      Lungs: OrganHumanoidXenoLungs
      Stomach: OrganHumanoidXenoStomach
      Liver: OrganHumanoidXenoLiver
      Kidneys: OrganHumanoidXenoKidneys

- type: entity
  parent:
  - AppearanceHumanoidXeno
  - BaseSpeciesMobOrganic
  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: AlienClaw
    angle: 30
    animation: WeaponArcClaw
    attackRate: 1
    damage:
      types:
        Blunt: 2
        Slash: 3
        Caustic: 1
  - type: LizardAccent
  - type: VulpaAccent
  - type: TajaranAccent
  - type: Bloodstream
    bloodReferenceSolution:
      reagents:
      - ReagentId: FluorosulfuricAcidHumanoidXeno
        Quantity: 300
  - type: ProtectedFromStepTriggers
  - type: Damageable
    damageContainer: Biological
    damageModifierSet: Xenomorph
  - type: MovementSpeedModifier
    baseWalkSpeed: 3
    baseSprintSpeed: 4
  - 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.Head" ]
    - 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: 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
      socks:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Reptilian/displacement.rsi
            state: socks
      shoes:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Reptilian/displacement.rsi
            state: shoes
      outerClothing:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Reptilian/displacement.rsi
            state: outer
      hardsuit:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Reptilian/displacement.rsi
            state: hardsuit
    displacements:
      jumpsuit:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Reptilian/displacement.rsi
            state: jumpsuit
      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:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Reptilian/displacement.rsi
            state: hardsuit
  - type: HumanoidProfile
    species: HumanoidXeno
  - type: SunriseHumanoidProfile
    bodyType: HumanoidXenoNormal
  - type: SunriseHumanoidBaseLayers
  - type: Tag
    tags:
      - HumanoidXeno
      - CanPilot
      - FootstepSound
      - DoorBumpOpener
  - type: CollectiveMind
    minds:
    - Xeno
  - type: FootprintEmitter
    leftBareFootState: [ footprint-left-bare-lizard ]
    rightBareFootState: [ footprint-right-bare-lizard ]

- type: entity
  parent: AppearanceHumanoidXeno
  id: MobXenoDummy
  categories: [ HideSpawnMenu ]
  components:
  - type: HumanoidProfile
    species: HumanoidXeno
  - type: SunriseHumanoidProfile
  - type: SunriseHumanoidBaseLayers
  - 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
      socks:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Reptilian/displacement.rsi
            state: socks
      shoes:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Reptilian/displacement.rsi
            state: shoes
      outerClothing:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Reptilian/displacement.rsi
            state: outer
      hardsuit:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Reptilian/displacement.rsi
            state: hardsuit
    displacements:
      jumpsuit:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Reptilian/displacement.rsi
            state: jumpsuit
      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:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Reptilian/displacement.rsi
            state: hardsuit

