# TODO: Add descriptions (many)
# TODO BODY: Part damage
- type: entity
  id: PartDemon
  parent: BaseItem
  name: "demon body part"
  abstract: true
  components:
  - type: Damageable
    damageContainer: Biological
  - type: BodyPart
  - type: ContainerContainer
    containers:
      bodypart: !type:Container
        ents: []
  - type: Tag
    tags:
      - Trash

- type: entity
  id: TorsoDemon
  name: "demon torso"
  parent: PartDemon
  components:
  - type: Sprite
    netsync: false
    sprite: _Sunrise/Mobs/Species/Demon/parts.rsi
    state: "torso_m"
  - type: Icon
    sprite: _Sunrise/Mobs/Species/Demon/parts.rsi
    state: "torso_m"
  - type: BodyPart
    partType: Torso

- type: entity
  id: HeadDemon
  name: "demon head"
  parent: PartDemon
  components:
  - type: Sprite
    netsync: false
    sprite: _Sunrise/Mobs/Species/Demon/parts.rsi
    state: "head_m"
  - type: Icon
    sprite: _Sunrise/Mobs/Species/Demon/parts.rsi
    state: "head_m"
  - type: BodyPart
    partType: Head
    vital: true
  - type: Input
    context: "ghost"
  - type: MovementSpeedModifier
    baseWalkSpeed: 0
    baseSprintSpeed: 0
  - type: InputMover
  - type: GhostOnMove
  - type: Tag
    tags:
      - Head

- type: entity
  id: LeftArmDemon
  name: "left demon arm"
  parent: PartDemon
  components:
  - type: Sprite
    netsync: false
    sprite: _Sunrise/Mobs/Species/Demon/parts.rsi
    state: "l_arm"
  - type: Icon
    sprite: _Sunrise/Mobs/Species/Demon/parts.rsi
    state: "l_arm"
  - type: BodyPart
    partType: Arm
    symmetry: Left

- type: entity
  id: RightArmDemon
  name: "right demon arm"
  parent: PartDemon
  components:
  - type: Sprite
    netsync: false
    sprite: _Sunrise/Mobs/Species/Demon/parts.rsi
    state: "r_arm"
  - type: Icon
    sprite: _Sunrise/Mobs/Species/Demon/parts.rsi
    state: "r_arm"
  - type: BodyPart
    partType: Arm
    symmetry: Right

- type: entity
  id: LeftHandDemon
  name: "left demon hand"
  parent: PartDemon
  components:
  - type: Sprite
    netsync: false
    sprite: _Sunrise/Mobs/Species/Demon/parts.rsi
    state: "l_hand"
  - type: Icon
    sprite: _Sunrise/Mobs/Species/Demon/parts.rsi
    state: "l_hand"
  - type: BodyPart
    partType: Hand
    symmetry: Left

- type: entity
  id: RightHandDemon
  name: "right demon hand"
  parent: PartDemon
  components:
  - type: Sprite
    netsync: false
    sprite: _Sunrise/Mobs/Species/Demon/parts.rsi
    state: "r_hand"
  - type: Icon
    sprite: _Sunrise/Mobs/Species/Demon/parts.rsi
    state: "r_hand"
  - type: BodyPart
    partType: Hand
    symmetry: Right

- type: entity
  id: LeftLegDemon
  name: "left demon leg"
  parent: PartDemon
  components:
  - type: Sprite
    netsync: false
    sprite: _Sunrise/Mobs/Species/Demon/parts.rsi
    state: "l_leg"
  - type: Icon
    sprite: _Sunrise/Mobs/Species/Demon/parts.rsi
    state: "l_leg"
  - type: BodyPart
    partType: Leg
    symmetry: Left
  - type: MovementBodyPart
    walkSpeed : 2.5
    sprintSpeed : 4.5

- type: entity
  id: RightLegDemon
  name: "right demon leg"
  parent: PartDemon
  components:
  - type: Sprite
    netsync: false
    sprite: _Sunrise/Mobs/Species/Demon/parts.rsi
    state: "r_leg"
  - type: Icon
    sprite: _Sunrise/Mobs/Species/Demon/parts.rsi
    state: "r_leg"
  - type: BodyPart
    partType: Leg
    symmetry: Right
  - type: MovementBodyPart
    walkSpeed : 2.5
    sprintSpeed : 4.5

- type: entity
  id: LeftFootDemon
  name: "left demon foot"
  parent: PartDemon
  components:
  - type: Sprite
    netsync: false
    sprite: _Sunrise/Mobs/Species/Demon/parts.rsi
    state: "l_foot"
  - type: Icon
    sprite: _Sunrise/Mobs/Species/Demon/parts.rsi
    state: "l_foot"
  - type: BodyPart
    partType: Foot
    symmetry: Left

- type: entity
  id: RightFootDemon
  name: "right demon foot"
  parent: PartDemon
  components:
  - type: Sprite
    netsync: false
    sprite: _Sunrise/Mobs/Species/Demon/parts.rsi
    state: "r_foot"
  - type: Icon
    sprite: _Sunrise/Mobs/Species/Demon/parts.rsi
    state: "r_foot"
  - type: BodyPart
    partType: Foot
    symmetry: Right
