# SPDX-FileCopyrightText: 2022 Fishfish458 <47410468+Fishfish458@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 Kara <lunarautomaton6@gmail.com>
# SPDX-FileCopyrightText: 2022 fishfish458 <fishfish458>
# SPDX-FileCopyrightText: 2023 lzk <124214523+lzk228@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 BombasterDS <115770678+BombasterDS@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Emisse <99158783+Emisse@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Magnus Larsen <i.am.larsenml@gmail.com>
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Aiden <aiden@djkraz.com>
# SPDX-FileCopyrightText: 2025 gluesniffler <159397573+gluesniffler@users.noreply.github.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later

- type: entity
  name: global positioning system
  parent: BaseItem
  id: HandheldGPSBasic
  description: Helping lost spacemen find their way through the planets since 2016.
  components:
  - type: Sprite
    sprite: Objects/Devices/gps.rsi
    layers:
    - state: icon
    - state: active
  - type: Item
    sprite: Objects/Devices/gps.rsi
  - type: GPS # Goob Station - what if gps didnt suck doo doo balls
  - type: PhysicalComposition #Goobstation - Recycle update
    materialComposition:
      Steel: 200
      Glass: 75
  - type: Tag
    tags:
    - GPS
  - type: ActivatableUI
    key: enum.GpsUiKey.Key # Goob Station - what if gps didnt suck doo doo balls
    inHandsOnly: true
    singleUser: true
  - type: UserInterface
    interfaces:
      enum.GpsUiKey.Key: # Goob Station - what if gps didnt suck doo doo balls
        type: GpsBoundUserInterface

- type: entity #why does this exist? Well, "global positioning system" is too long to fit in the cyborg's hand slot.
  name: Integrated GPS
  parent: HandheldGPSBasic
  id: BorgHandheldGPSBasic
  description: A miniaturized Global Positioning System for use in cyborg units.
