- type: entity
  save: false
  name: Urist McRaptor
  parent: [ BaseMobSpeciesOrganic, BaseSpeciesPickupable ]
  id: BaseMobResomi
  abstract: true
  components:
  - type: Interactions
  # - type: JumpSkill
  - type: DamageVisuals
    thresholds: [ 10, 30, 50, 70]
    targetLayers:
    - "enum.HumanoidVisualLayers.Chest"
    - "enum.HumanoidVisualLayers.Head"
    - "enum.HumanoidVisualLayers.LArm"
    - "enum.HumanoidVisualLayers.LLeg"
    - "enum.HumanoidVisualLayers.RArm"
    - "enum.HumanoidVisualLayers.RLeg"
    - "enum.HumanoidVisualLayers.RHand"
    - "enum.HumanoidVisualLayers.LHand"
    - "enum.HumanoidVisualLayers.RFoot"
    - "enum.HumanoidVisualLayers.LFoot"
    damageOverlayGroups:
      Brute:
        sprite: _Sunrise/Mobs/Effects/Resomi/brute_damage.rsi
        color: "#C048C2"
      Burn:
        sprite: _Sunrise/Mobs/Effects/Resomi/burn_damage.rsi
  - type: FireVisuals
    sprite: Mobs/Effects/onfire.rsi
    normalState: Resomi_minor_burning
    alternateState: Resomi_burning
  - type: HumanoidAppearance
    species: Resomi
  - type: Fixtures
    fixtures:
      fix1:
        shape:
          !type:PhysShapeCircle
          radius: 0.35
        density: 100
        restitution: 0.0
        mask:
        - MobMask
        layer:
        - MobLayer
  - type: Hunger
  - type: Puller
    needsHands: false
  - type: Thirst
  - type: Icon
    sprite: _Sunrise/Mobs/Species/Resomi/parts.rsi
    state: full
  - type: Damageable
    damageContainer: Biological
    damageModifierSet: Resomi
  - type: Body
    prototype: Resomi
    requiredLegs: 2
  - type: MobThresholds
    thresholds:
      0: Alive
      75: Critical
      150: Dead
  - type: SlowOnDamage
    speedModifierThresholds:
      50: 0.7
      60: 0.5
  - type: MeleeWeapon
    soundHit:
      collection: AlienClaw
    angle: 30
    animation: WeaponArcClaw
    damage:
      types:
        Slash: 5
  - type: Temperature
    heatDamageThreshold: 313
    coldDamageThreshold: 230
    currentTemperature: 310.15
    specificHeat: 42
    coldDamage:
      types:
        Cold : 0.1 #per second, scales with temperature & other constants
    heatDamage:
      types:
        Heat : 1.5 #per second, scales with temperature & other constants
  - type: InteractionPopup
    successChance: 0.9
    interactSuccessString: petting-success-monkey
    interactFailureString: petting-failure-monkey
    interactSuccessSpawn: EffectHearts
    interactSuccessSound:
      collection: ResomiChirp
    interactFailureSound:
      path: /Audio/Items/wirecutter.ogg
  - type: Hands
    handDisplacement:
      sizeMaps:
        32:
          sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
          state: inHand
  - type: Inventory
    templateId: nonUnderwear
    speciesId: resomi
    displacements:
      jumpsuit:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: jumpsuit
      eyes:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: eyes
      gloves:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: hands
      head:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: head
      back:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: back
      ears:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: ears
      shoes:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: feet
      neck:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: neck
      mask:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: mask
      outerClothing:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: outerClothing
      suitstorage:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: suitStorage
      belt:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: belt
    femaleDisplacements:
      jumpsuit:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: jumpsuit
      eyes:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: eyes
      gloves:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: hands
      head:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: head
      back:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: back
      ears:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: ears
      shoes:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: feet
      neck:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: neck
      mask:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: mask
      outerClothing:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: outerClothing
      suitstorage:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: suitStorage
      belt:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: belt
  - type: ToggleableNightVision
    effect: EffectNightVisioSpecies
  - type: FlashModifier
    modifier: 2
  - type: Vocal
    sounds:
      Male: UnisexResomi
      Female: UnisexResomi
      Unsexed: UnisexResomi
  - type: Speech
    speechVerb: Resomi
    allowedEmotes: ['Chirp', 'Hisses', 'Growl', 'Scree', 'Call', 'Squawk']
  - type: Tag
    tags:
    - CanPilot
    - FootstepSound
    - DoorBumpOpener
    - AnomalyHost
    - Resomi

- type: entity
  parent: BaseSpeciesDummy
  id: MobResomiDummy
  categories: [ HideSpawnMenu ]
  description: A dummy resomi meant to be used in character setup.
  components:
  - type: HumanoidAppearance
    species: Resomi
  - type: Inventory
    templateId: nonUnderwear
    speciesId: resomi
    displacements:
      jumpsuit:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: jumpsuit
      eyes:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: eyes
      gloves:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: hands
      head:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: head
      back:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: back
      ears:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: ears
      shoes:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: feet
      neck:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: neck
      mask:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: mask
      outerClothing:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: outerClothing
      suitstorage:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: suitStorage
      belt:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: belt
    femaleDisplacements:
      jumpsuit:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: jumpsuit
      eyes:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: eyes
      gloves:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: hands
      head:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: head
      back:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: back
      ears:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: ears
      shoes:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: feet
      neck:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: neck
      mask:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: mask
      outerClothing:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: outerClothing
      suitstorage:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: suitStorage
      belt:
        sizeMaps:
          32:
            sprite: _Sunrise/Mobs/Species/Resomi/displacement.rsi
            state: belt
