- type: entity
  parent: AppearanceHuman
  id: AppearanceDwarf
  categories: [ HideSpawnMenu ]
  name: dwarf appearance
  components:
  - type: Inventory
    femaleDisplacements: { } # Necessary due to MobHuman inheritance for MobDwarf
    displacements:
      jumpsuit:
        sizeMaps:
          32:
            sprite: Mobs/Species/Human/displacement.rsi
            state: dwarfism
      outerClothing:
        sizeMaps:
          32:
            sprite: Mobs/Species/Human/displacement.rsi
            state: dwarfism
      suitstorage:
        sizeMaps:
          32:
            sprite: Mobs/Species/Human/displacement.rsi
            state: dwarfism
      id:
        sizeMaps:
          32:
            sprite: Mobs/Species/Human/displacement.rsi
            state: dwarfism
      mask:
        sizeMaps:
          32:
            sprite: Mobs/Species/Human/displacement.rsi
            state: dwarfism
      belt:
        sizeMaps:
          32:
            sprite: Mobs/Species/Human/displacement.rsi
            state: dwarfism
      eyes:
        sizeMaps:
          32:
            sprite: Mobs/Species/Human/displacement.rsi
            state: dwarfism
      gloves:
        sizeMaps:
          32:
            sprite: Mobs/Species/Human/displacement.rsi
            state: dwarfism
      head:
        sizeMaps:
          32:
            sprite: Mobs/Species/Human/displacement.rsi
            state: dwarfism
      neck:
        sizeMaps:
          32:
            sprite: Mobs/Species/Human/displacement.rsi
            state: dwarfism
      back:
        sizeMaps:
          32:
            sprite: Mobs/Species/Human/displacement.rsi
            state: dwarfism
      ears:
        sizeMaps:
          32:
            sprite: Mobs/Species/Human/displacement.rsi
            state: dwarfism
      shoes:
        sizeMaps:
          32:
            sprite: Mobs/Species/Human/displacement.rsi
            state: dwarfism
  - type: InitialBody
    organs:
      Torso: OrganDwarfTorso
      Head: OrganDwarfHead
      ArmLeft: OrganDwarfArmLeft
      ArmRight: OrganDwarfArmRight
      HandRight: OrganDwarfHandRight
      HandLeft: OrganDwarfHandLeft
      LegLeft: OrganDwarfLegLeft
      LegRight: OrganDwarfLegRight
      FootLeft: OrganDwarfFootLeft
      FootRight: OrganDwarfFootRight
      Brain: OrganHumanBrain
      Eyes: OrganDwarfEyes
      Tongue: OrganHumanTongue
      Appendix: OrganHumanAppendix
      Ears: OrganHumanEars
      Lungs: OrganHumanLungs
      Heart: OrganDwarfHeart
      Stomach: OrganDwarfStomach
      Liver: OrganDwarfLiver
      Kidneys: OrganHumanKidneys
  - type: Hands
    leftHandDisplacement:
      sizeMaps:
        32:
          sprite: Mobs/Species/Human/displacement.rsi
          state: dwarfism_hand_left
    rightHandDisplacement:
      sizeMaps:
        32:
          sprite: Mobs/Species/Human/displacement.rsi
          state: dwarfism_hand_right
  - type: HumanoidProfile
    species: Dwarf

- type: displacementData
  id: Dwarfism
  displacement:
    sizeMaps:
      32:
        sprite: Mobs/Species/Human/displacement.rsi
        state: dwarfism

- type: entity
  parent:
  - AppearanceDwarf
  - MobHuman
  id: MobDwarf
  name: Urist McHands the Dwarf
  components:
  - type: Fixtures
    fixtures: # TODO: This needs a second fixture just for mob collisions.
      fix1:
        shape:
          !type:PhysShapeCircle
          radius: 0.35
        # they r smaller
        density: 120
        restitution: 0.0
        mask:
        - MobMask
        layer:
        - MobLayer
  - type: Vocal
    emoteSounds: UnisexDwarf
  - type: ReplacementAccent
    accent: scottish
  - type: Speech
    speechSounds: Bass
  - type: CreamPied
    displacement: Dwarfism
  - type: Damageable
    displacement: Dwarfism
  - type: Flammable
    displacement: Dwarfism
  - type: InnerBodyAnomalyVisuals
    displacement: Dwarfism

- type: entity
  parent: OrganBaseOrganic
  id: OrganDwarf
  abstract: true
  suffix: Dwarf

- type: entity
  parent: OrganDwarf
  id: OrganDwarfAppearance
  abstract: true
  suffix: Dwarf
  components:
  - type: VisualOrgan
    data:
      sprite: Mobs/Species/Human/parts.rsi
    displacement: Dwarfism

- type: entity
  parent: OrganDwarf
  id: OrganDwarfMetabolizer
  abstract: true
  components:
  - type: Metabolizer
    metabolizerTypes: [ Dwarf ]

- type: entity
  parent: [ OrganHumanTorso, OrganDwarfAppearance ]
  id: OrganDwarfTorso
  components:
  - type: VisualOrganMarkings
    markingsDisplacement:
      Chest:
        sizeMaps:
          32:
            sprite: Mobs/Species/Human/displacement.rsi
            state: dwarfism
      Tail:
        sizeMaps:
          32:
            sprite: Mobs/Species/Human/displacement.rsi
            state: dwarfism
      Overlay:
        sizeMaps:
          32:
            sprite: Mobs/Species/Human/displacement.rsi
            state: dwarfism
      TailOverlay:
        sizeMaps:
          32:
            sprite: Mobs/Species/Human/displacement.rsi
            state: dwarfism
      UndergarmentTop:
        sizeMaps:
          32:
            sprite: Mobs/Species/Human/displacement.rsi
            state: dwarfism
      UndergarmentBottom:
        sizeMaps:
          32:
            sprite: Mobs/Species/Human/displacement.rsi
            state: dwarfism
      Special:
        sizeMaps:
          32:
            sprite: Mobs/Species/Human/displacement.rsi
            state: dwarfism

- type: entity
  parent: [ OrganHumanHead, OrganDwarfAppearance ]
  id: OrganDwarfHead
  components:
  - type: VisualOrganMarkings
    markingsDisplacement:
      Head:
        sizeMaps:
          32:
            sprite: Mobs/Species/Human/displacement.rsi
            state: dwarfism
      Hair:
        sizeMaps:
          32:
            sprite: Mobs/Species/Human/displacement.rsi
            state: dwarfism
      FacialHair:
        sizeMaps:
          32:
            sprite: Mobs/Species/Human/displacement.rsi
            state: dwarfism
      Snout:
        sizeMaps:
          32:
            sprite: Mobs/Species/Human/displacement.rsi
            state: dwarfism
      SnoutCover:
        sizeMaps:
          32:
            sprite: Mobs/Species/Human/displacement.rsi
            state: dwarfism
      HeadSide:
        sizeMaps:
          32:
            sprite: Mobs/Species/Human/displacement.rsi
            state: dwarfism
      HeadTop:
        sizeMaps:
          32:
            sprite: Mobs/Species/Human/displacement.rsi
            state: dwarfism

- type: entity
  parent: [ OrganHumanArmLeft, OrganDwarfAppearance ]
  id: OrganDwarfArmLeft
  components:
  - type: VisualOrganMarkings
    markingsDisplacement:
      LArm:
        sizeMaps:
          32:
            sprite: Mobs/Species/Human/displacement.rsi
            state: dwarfism

- type: entity
  parent: [ OrganHumanArmRight, OrganDwarfAppearance ]
  id: OrganDwarfArmRight
  components:
  - type: VisualOrganMarkings
    markingsDisplacement:
      RArm:
        sizeMaps:
          32:
            sprite: Mobs/Species/Human/displacement.rsi
            state: dwarfism

- type: entity
  parent: [ OrganHumanHandRight, OrganDwarfAppearance ]
  id: OrganDwarfHandRight
  components:
  - type: VisualOrganMarkings
    markingsDisplacement:
      RHand:
        sizeMaps:
          32:
            sprite: Mobs/Species/Human/displacement.rsi
            state: dwarfism

- type: entity
  parent: [ OrganHumanHandLeft, OrganDwarfAppearance ]
  id: OrganDwarfHandLeft
  components:
  - type: VisualOrganMarkings
    markingsDisplacement:
      LHand:
        sizeMaps:
          32:
            sprite: Mobs/Species/Human/displacement.rsi
            state: dwarfism

- type: entity
  parent: [ OrganHumanLegLeft, OrganDwarfAppearance ]
  id: OrganDwarfLegLeft
  components:
  - type: VisualOrganMarkings
    markingsDisplacement:
      LLeg:
        sizeMaps:
          32:
            sprite: Mobs/Species/Human/displacement.rsi
            state: dwarfism

- type: entity
  parent: [ OrganHumanLegRight, OrganDwarfAppearance ]
  id: OrganDwarfLegRight
  components:
  - type: VisualOrganMarkings
    markingsDisplacement:
      RLeg:
        sizeMaps:
          32:
            sprite: Mobs/Species/Human/displacement.rsi
            state: dwarfism

- type: entity
  parent: [ OrganHumanFootLeft, OrganDwarfAppearance ]
  id: OrganDwarfFootLeft
  components:
  - type: VisualOrganMarkings
    markingsDisplacement:
      LFoot:
        sizeMaps:
          32:
            sprite: Mobs/Species/Human/displacement.rsi
            state: dwarfism

- type: entity
  parent: [ OrganHumanFootRight, OrganDwarfAppearance ]
  id: OrganDwarfFootRight
  components:
  - type: VisualOrganMarkings
    markingsDisplacement:
      RFoot:
        sizeMaps:
          32:
            sprite: Mobs/Species/Human/displacement.rsi
            state: dwarfism

- type: entity
  parent: [ OrganHumanEyes, OrganDwarfAppearance ]
  id: OrganDwarfEyes
  components:
  - type: VisualOrgan
    data:
      sprite: Mobs/Customization/eyes.rsi
    displacement: Dwarfism
  - type: VisualOrganMarkings
    markingsDisplacement:
      Eyes:
        sizeMaps:
          32:
            sprite: Mobs/Species/Human/displacement.rsi
            state: dwarfism

- type: entity
  parent: [ OrganDwarfMetabolizer, OrganHumanStomach ]
  id: OrganDwarfStomach
  components:
  - type: Metabolizer
    maxReagents: 5

- type: entity
  parent: [ OrganDwarfMetabolizer, OrganHumanLiver ]
  id: OrganDwarfLiver

- type: entity
  parent: [ OrganDwarfMetabolizer, OrganHumanHeart ]
  id: OrganDwarfHeart
