- type: entity
  abstract: true
  parent: [ BaseStructure, StructureHealthFurnitureStrong ]
  id: BaseStatue
  components:
  - type: Sprite
    drawdepth: Mobs
  - type: Damageable
    damageModifierSet: RockMod
  - type: Destructible
    thresholds:
    - trigger:
        !type:DamageTrigger
        damage: 80
      behaviors:
      - !type:PlaySoundBehavior
        sound:
          path: /Audio/Effects/break_stone.ogg

- type: entity
  parent: BaseStatue
  id: StatueVenusRed
  name: statue of a pure maiden
  suffix: Red
  description: An ancient marble statue. The subject is depicted with a floor-length braid and is wielding a red toolbox.
  components:
  - type: Sprite
    noRot: true
    sprite: Structures/Decoration/statues.rsi
    state: venus_red
    drawdepth: Mobs
    offset: "0.0,0.5"

- type: entity
  parent: BaseStatue
  id: StatueVenusBlue
  name: statue of a pure maiden
  suffix: Blue
  description: An ancient marble statue. The subject is depicted with a floor-length braid and is wielding a blue toolbox.
  components:
  - type: Sprite
    noRot: true
    sprite: Structures/Decoration/statues.rsi
    state: venus_blue
    drawdepth: Mobs
    offset: "0.0,0.5"

- type: entity
  parent: BaseStatue
  id: StatueOrnateClown
  name: ornate savior statue
  description: A gilded statue. It portrays the return of the savior who will rise up and lead the clowns to the great honk.
  components:
  - type: Transform
    noRot: true
  - type: Sprite
    sprite: Structures/Decoration/statue-ornate-clown.rsi
    state: icon
    drawdepth: Mobs
    offset: "0.0,0.3125"
  - type: Construction
    graph: OrnateStatueClown
    node: ornateStatueClown
  - type: Damageable
    damageModifierSet: PreciousMetalMod
  - type: SpriteFade
  - type: Fixtures
    fixtures:
      fix1:
        shape:
          !type:PhysShapeAabb
          bounds: "-0.4,-0.25,0.4,0.45"
        density: 60
        mask:
        - MachineMask
        layer:
        - MidImpassable
        - LowImpassable

# Ironsand Statues

- type: entity
  abstract: true
  parent: BaseStatue
  id: BaseIronsandStatue
  description: A mysterious statue found in a desert of iron sand.
  components:
  - type: Destructible
    thresholds:
    - trigger:
        !type:DamageTrigger
        damage: 80
      behaviors:
      - !type:SpawnEntitiesBehavior
        spawn:
          SteelOre1:
            min: 1
            max: 2

- type: entity
  parent: BaseIronsandStatue
  id: StatueIronsandSmall
  name: ironsand small statue
  components:
  - type: Sprite
    sprite: Structures/Decoration/ironsand_statue.rsi
    state: small_pillar
  - type: Fixtures
    fixtures:
      fix1:
        shape:
          !type:PhysShapeAabb
          bounds: "-0.25,-0.25,0.25,0.25"
        density: 60
        mask:
        - MachineMask
        layer:
        - MachineLayer

- type: entity
  parent: BaseIronsandStatue
  id: StatueIronsandSmall2
  name: ironsand small statue
  components:
  - type: Sprite
    sprite: Structures/Decoration/ironsand_statue.rsi
    state: small_pillar_2
  - type: Fixtures
    fixtures:
      fix1:
        shape:
          !type:PhysShapeAabb
          bounds: "-0.35,-0.35,0.35,0.35"
        density: 60
        mask:
        - MachineMask
        layer:
        - MachineLayer

- type: entity
  parent: BaseIronsandStatue
  id: StatueIronsandTall
  name: ironsand tall statue
  components:
  - type: Sprite
    sprite: Structures/Decoration/ironsand_statue_tall.rsi
    state: pillar_of_weh
    offset: "0.0,0.5"
  - type: Fixtures
    fixtures:
      fix1:
        shape:
          !type:PhysShapeAabb
          bounds: "-0.30,-0.30,0.30,0.30"
        density: 60
        mask:
        - MachineMask
        layer:
        - MachineLayer

- type: entity
  parent: BaseIronsandStatue
  id: StatueIronsandTall2
  name: ironsand tall statue
  components:
  - type: Sprite
    sprite: Structures/Decoration/ironsand_statue_tall.rsi
    state: inverse_pillar
    offset: "0.0,0.5"
  - type: Fixtures
    fixtures:
      fix1:
        shape:
          !type:PhysShapeAabb
          bounds: "-0.45,-0.1,0.45,0.1"
        density: 60
        mask:
        - MachineMask
        layer:
        - MachineLayer
