- type: entity
  abstract: true
  parent: MaterialBase
  id: OreBase
  description: A piece of unrefined ore.
  components:
  - type: Sprite
    sprite: Objects/Materials/ore.rsi
  - type: Item
    sprite: Objects/Materials/ore.rsi
  - type: Tag
    tags:
    - Ore
  - type: Fixtures
    fixtures:
      fix1:
        shape:
          !type:PhysShapeCircle
          radius: 0.2
        density: 20
        mask:
          - ItemMask
        restitution: 0.3
        friction: 0.2

# Ores have twice the reagents compared to their smelted forms

- type: entity
  parent: OreBase
  id: GoldOre
  name: gold ore
  suffix: Full
  components:
  - type: Stack
    stackType: GoldOre
  - type: Sprite
    state: gold
  - type: PhysicalComposition
    materialComposition:
      RawGold: 100
  - type: Item
    heldPrefix: gold
  - type: Tag
    tags:
    - Ore
    - OreGold

- type: entity
  parent: GoldOre
  id: GoldOre1
  suffix: Single
  components:
  - type: Stack
    count: 1

- type: entity
  parent: OreBase
  id: DiamondOre
  name: diamond ore
  suffix: Full
  components:
  - type: Stack
    stackType: DiamondOre
  - type: Sprite
    state: diamond
  - type: PhysicalComposition
    materialComposition:
      RawDiamond: 100
  - type: Extractable
    grindableSolutionName: diamondore
  - type: Item
    heldPrefix: diamond

- type: entity
  parent: DiamondOre
  id: DiamondOre1
  suffix: Single
  components:
  - type: Stack
    count: 1

- type: entity
  parent: OreBase
  id: SteelOre
  name: iron ore
  suffix: Full
  components:
  - type: Stack
    stackType: SteelOre
  - type: Sprite
    state: iron
  - type: PhysicalComposition
    materialComposition:
      RawIron: 100
  - type: Item
    heldPrefix: iron

- type: entity
  id: SteelOre1
  parent: SteelOre
  suffix: Single
  components:
    - type: Stack
      count: 1

- type: entity
  parent: OreBase
  id: PlasmaOre
  name: plasma ore
  suffix: Full
  components:
  - type: Stack
    stackType: PlasmaOre
  - type: Sprite
    state: plasma
  - type: PhysicalComposition
    materialComposition:
      RawPlasma: 100
  - type: PointLight
    radius: 1.2
    energy: 0.6
    castShadows: false
    color: "#e592e7"
  - type: Item
    heldPrefix: plasma
  - type: Tag
    tags:
    - Ore
    - OrePlasma

- type: entity
  parent: PlasmaOre
  id: PlasmaOre1
  suffix: Single
  components:
    - type: Stack
      count: 1

- type: entity
  parent: OreBase
  id: SilverOre
  name: silver ore
  suffix: Full
  components:
  - type: Stack
    stackType: SilverOre
  - type: Sprite
    state: silver
  - type: PhysicalComposition
    materialComposition:
      RawSilver: 100
  - type: Item
    heldPrefix: silver
  - type: Tag
    tags:
    - Ore
    - OreSilver

- type: entity
  parent: SilverOre
  id: SilverOre1
  suffix: Single
  components:
  - type: Stack
    count: 1

- type: entity
  parent: OreBase
  id: SpaceQuartz
  name: space quartz
  suffix: Full
  components:
  - type: Stack
    stackType: SpaceQuartz
  - type: Sprite
    state: spacequartz
  - type: PhysicalComposition
    materialComposition:
      RawQuartz: 100
  - type: Item
    heldPrefix: spacequartz

- type: entity
  parent: SpaceQuartz
  id: SpaceQuartz1
  suffix: Single
  components:
  - type: Stack
    count: 1

- type: entity
  parent: OreBase
  id: UraniumOre
  name: uranium ore
  suffix: Full
  components:
  - type: Stack
    stackType: UraniumOre
  - type: Sprite
    state: uranium
  - type: PhysicalComposition
    materialComposition:
      RawUranium: 100
  - type: PointLight
    radius: 1.2
    energy: 0.8
    castShadows: false
    color: "#9be792"
  - type: Item
    heldPrefix: uranium
  - type: Tag
    tags:
    - Ore
    - OreUranium

- type: entity
  parent: UraniumOre
  id: UraniumOre1
  suffix: Single
  components:
  - type: Stack
    count: 1

- type: entity
  parent: OreBase
  id: BananiumOre
  name: bananium ore
  suffix: Full
  components:
  - type: Stack
    stackType: BananiumOre
  - type: Sprite
    state: bananium
  - type: PhysicalComposition
    materialComposition:
      RawBananium: 100
  - type: PointLight
    radius: 1.2
    energy: 1
    castShadows: false
    color: "#eef066"
  - type: Item
    heldPrefix: bananium
  - type: Tag
    tags:
    - Ore
    - OreBananium

- type: entity
  parent: BananiumOre
  id: BananiumOre1
  suffix: Single
  components:
  - type: Stack
    count: 1

- type: entity
  parent: OreBase
  id: Coal
  name: coal
  suffix: Full
  components:
  - type: Stack
    stackType: Coal
  - type: Sprite
    state: coal
  - type: Solution
    solution:
      reagents:
      - ReagentId: Carbon
        Quantity: 8.4
      - ReagentId: Ammonia
        Quantity: 0.8
      - ReagentId: Hydrogen
        Quantity: 0.5
      - ReagentId: Sulfur
        Quantity: 0.2
      - ReagentId: Mercury
        Quantity: 0.1
  - type: PhysicalComposition
    materialComposition:
      Coal: 100
  - type: Item
    heldPrefix: coal

- type: entity
  parent: Coal
  id: Coal1
  suffix: Single
  components:
  - type: Stack
    count: 1

- type: entity
  parent: Coal
  id: Coal5
  suffix: Five
  components:
  - type: Stack
    count: 5

- type: entity
  parent: Coal
  id: Coal10
  suffix: Ten
  components:
  - type: Stack
    count: 10

- type: entity
  parent: Coal
  id: Coal15
  suffix: Fifteen
  components:
  - type: Stack
    count: 15

- type: entity
  parent: OreBase
  id: SaltOre
  name: salt
  suffix: Full
  components:
  - type: Stack
    stackType: SaltOre
  - type: Sprite
    state: salt
  - type: PhysicalComposition
    materialComposition:
      RawSalt: 100
  - type: Solution
    solution:
      reagents:
      - ReagentId: TableSalt
        Quantity: 9.99
      - ReagentId: Iodine
        Quantity: 0.01
  - type: Item
    heldPrefix: salt

- type: entity
  parent: SaltOre
  id: Salt1
  suffix: Single
  components:
  - type: Stack
    count: 1
