- type: entity
  abstract: true
  parent: BaseItem
  id: IngotBase
  description: A heavy metal ingot stamped with the Nanotrasen logo.
  components:
  - type: Sprite
    netsync: false
    sprite: Objects/Materials/ingots.rsi
  - type: Item
    sprite: Objects/Materials/ingots.rsi
  - type: ItemStatus
  - type: Tag
    tags:
    - Ingot
  - type: Destructible
    thresholds:
    - trigger:
        !type:DamageTrigger
        damage: 500
      behaviors:
      - !type:DoActsBehavior
        acts: [ "Destruction" ]

- type: entity
  parent: IngotBase
  id: IngotAdamantine
  name: adamantine bar
  suffix: Full
  components:
  - type: Material
    materials:
    - Adamantine
  - type: Stack
    stackType: Adamantine
  - type: Sprite
    state: adamantine_3
  - type: Item
    HeldPrefix: adamantine
  - type: Appearance
    visuals:
    - type: StackVisualizer
      stackLayers:
      - adamantine
      - adamantine_2
      - adamantine_3

- type: entity
  parent: IngotAdamantine
  id: IngotAdamantine1
  name: adamantine bar
  suffix: Single
  components:
  - type: Sprite
    state: adamantine
  - type: Stack
    count: 1

- type: entity
  parent: IngotBase
  id: IngotCopper
  name: copper bar
  suffix: Full
  components:
  - type: Material
    materials:
    - Copper
  - type: Stack
    stackType: Copper
  - type: Sprite
    state: copper_3
  - type: Item
    HeldPrefix: copper
  - type: Appearance
    visuals:
    - type: StackVisualizer
      stackLayers:
      - copper
      - copper_2
      - copper_3

- type: entity
  parent: IngotCopper
  id: IngotCopper1
  name: copper bar
  suffix: Single
  components:
  - type: Sprite
    state: copper
  - type: Stack
    count: 1

- type: entity
  parent: IngotBase
  id: IngotGold
  name: gold bar
  suffix: Full
  components:
  - type: Material
    materials:
    - Gold
  - type: Stack
    stackType: Gold
  - type: Sprite
    state: gold_3
  - type: Item
    HeldPrefix: gold
  - type: Appearance
    visuals:
    - type: StackVisualizer
      stackLayers:
      - gold
      - gold_2
      - gold_3

- type: entity
  parent: IngotGold
  id: IngotGold1
  name: gold bar
  suffix: Single
  components:
  - type: Sprite
    state: gold
  - type: Stack
    count: 1

- type: entity
  parent: IngotBase
  id: IngotHydrogen
  name: hydrogen bar
  suffix: Full
  components:
  - type: Material
    materials:
    - Hydrogen
  - type: Stack
    stackType: Hydrogen
  - type: Sprite
    state: hydrogen_3
  - type: Item
    HeldPrefix: hydrogen
  - type: Appearance
    visuals:
    - type: StackVisualizer
      stackLayers:
      - hydrogen
      - hydrogen_2
      - hydrogen_3

- type: entity
  parent: IngotHydrogen
  id: IngotHydrogen1
  name: hydrogen bar
  suffix: Single
  components:
  - type: Sprite
    state: hydrogen
  - type: Stack
    count: 1

- type: entity
  parent: IngotBase
  id: IngotIron
  name: iron bar
  suffix: Full
  components:
  - type: Material
    materials:
    - Iron
  - type: Stack
    stackType: Iron
  - type: Sprite
    state: iron_3
  - type: Item
    HeldPrefix: iron
  - type: Appearance
    visuals:
    - type: StackVisualizer
      stackLayers:
      - iron
      - iron_2
      - iron_3

- type: entity
  parent: IngotIron
  id: IngotIron1
  name: iron bar
  suffix: Single
  components:
  - type: Sprite
    state: iron
  - type: Stack
    count: 1

- type: entity
  parent: IngotBase
  id: IngotSilver
  name: silver bar
  suffix: Full
  components:
  - type: Material
    materials:
    - Silver
  - type: Stack
    stackType: Silver
  - type: Sprite
    state: silver_3
  - type: Item
    HeldPrefix: silver
  - type: Appearance
    visuals:
    - type: StackVisualizer
      stackLayers:
      - silver
      - silver_2
      - silver_3

- type: entity
  parent: IngotSilver
  id: IngotSilver1
  name: silver bar
  suffix: Single
  components:
  - type: Sprite
    state: silver
  - type: Stack
    count: 1
