# SPDX-FileCopyrightText: 2024 Piras314 <p1r4s@proton.me>
# SPDX-FileCopyrightText: 2024 Scruq445 <storchdamien@gmail.com>
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 BramvanZijp <56019239+BramvanZijp@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Killerqu00 <47712032+Killerqu00@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 SX-7 <92227810+SX-7@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Theodore Lukin <66275205+pheenty@users.noreply.github.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later

- type: entity
  parent: BaseItem
  id: BaseKey
  abstract: true
  categories: [ HideSpawnMenu ]
  components:
  - type: Item
    size: Tiny
  - type: Tag
    tags:
    - VehicleKey

- type: entity
  parent: [ BaseKey, BaseSecurityContraband ]
  id: VehicleKeySecway
  name: secway keys
  description: The keys to the future.
  components:
  - type: Sprite
    sprite: Objects/Vehicles/secway.rsi
    state: keys
  - type: Tag
    tags:
    - VehicleKey
    - SecwayKeys

- type: entity
  parent: [ BaseKey, BaseSyndicateContraband ]
  id: VehicleKeySyndicateSegway
  name: syndicate segway keys
  description: Patterned after the iconic EMAG design.
  components:
  - type: Sprite
    sprite: Objects/Vehicles/syndicatesegway.rsi
    state: keys
  - type: Tag
    tags:
    - VehicleKey
    - SyndicateSegwayKeys

- type: entity
  parent: BaseKey
  id: VehicleKeyATV
  name: ATV keys
  description: Think this looks like just one key? ATV keys means "actually two vehicle keys."
  components:
  - type: Sprite
    sprite: Objects/Vehicles/atv.rsi
    state: keys
  - type: Tag
    tags:
    - VehicleKey
    - ATVKeys

- type: entity
  parent: BaseKey
  id: VehicleKeyJanicart
  name: janicart keys
  description: Interesting design.
  components:
  - type: Sprite
    sprite: Objects/Vehicles/janicart.rsi
    state: keys
  - type: Tag
    tags:
    - VehicleKey
    - JanicartKeys

- type: entity
  parent: BaseKey
  id: VehicleKeyForklift
  name: forklift keys
  description: Keys to the lift!
  components:
  - type: Sprite
    sprite: Objects/Vehicles/atv.rsi
    state: keys
  - type: Tag
    tags:
    - VehicleKey
    - ForkliftKeys
