# SPDX-FileCopyrightText: 2024 Ilya246 <57039557+Ilya246@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Piras314 <p1r4s@proton.me>
# SPDX-FileCopyrightText: 2024 whateverusername0 <whateveremail>
# SPDX-FileCopyrightText: 2024 yglop <95057024+yglop@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Aiden <aiden@djkraz.com>
# SPDX-FileCopyrightText: 2025 Aidenkrz <aiden@djkraz.com>
# SPDX-FileCopyrightText: 2025 Armok <155400926+ARMOKS@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 AstroDogeDX <48888500+AstroDogeDX@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 GoobBot <uristmchands@proton.me>
# SPDX-FileCopyrightText: 2025 LuciferMkshelter <154002422+LuciferEOS@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 SX-7 <92227810+SX-7@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 gluesniffler <159397573+gluesniffler@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 thebiggestbruh <marcus2008stoke@gmail.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later

- type: entity
  parent: MaterialBase
  id: MaterialBSCrystal
  name: bluespace crystal
  suffix: Full
  components:
  - type: Stack
    stackType: BSCrystal
    baseLayer: base
    layerStates:
    - bluespace_crystal
    - bluespace_crystal_2
    - bluespace_crystal_3
  - type: Sprite
    sprite: _Goobstation/Objects/Materials/materials.rsi
    state: bluespace_crystal
    layers:
    - state: bluespace_crystal
      map: ["base"]
  - type: Appearance
  - type: Item
    heldPrefix: bluespace_crystal
  - type: Material
  - type: PhysicalComposition
    materialComposition:
      BSCrystal: 100
  - type: RandomTeleportOnUse
    radius:
      min: 2
      max: 5
  - type: Tag
    tags:
    - Ore
    - Ingot

- type: entity
  parent: MaterialBSCrystal
  id: MaterialBSCrystal1
  suffix: Single
  components:
  - type: Stack
    count: 1

- type: entity
  parent: MaterialBSCrystal
  id: MaterialBSCrystalUnprocessed
  name: unprocessed bluespace crystal
  suffix: Full
  components:
  - type: Stack
    stackType: BSCrystalUnprocessed
  - type: UnclaimedOre
    miningPoints: 250

- type: entity
  parent: MaterialBSCrystalUnprocessed
  id: MaterialBSCrystal1Unprocessed
  name: unprocessed bluespace crystal
  suffix: Single
  components:
  - type: Stack
    count: 1
