# SPDX-FileCopyrightText: 2023 Chief-Engineer <119664036+Chief-Engineer@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Clon clover <76759079+noudoit@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 IProduceWidgets <107586145+IProduceWidgets@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 deltanedas <39013340+deltanedas@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 deltanedas <@deltanedas:kde.org>
# SPDX-FileCopyrightText: 2023 metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 K-Dynamic <20566341+K-Dynamic@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 TsjipTsjip <19798667+TsjipTsjip@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 lzk <124214523+lzk228@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Bandit <queenjess521@gmail.com>
# SPDX-FileCopyrightText: 2025 GoobBot <uristmchands@proton.me>
#
# SPDX-License-Identifier: AGPL-3.0-or-later

- type: entity
  parent: BaseHandheldInstrument
  id: MusicalLungInstrument
  name: musical lung
  description: The spiritual and magical lung of a former opera singer. Though, to be honest, the vocal chords make the performance.
  components:
  - type: Sprite
    sprite: Mobs/Species/Human/organs.rsi
    state: lung-l
  - type: Instrument
    program: 121
  - type: Item
    size: Small

- type: entity
  parent: BaseHandheldInstrument
  id: SeashellInstrument
  name: seashell
  description: For laying down the shoreline beat.
  components:
  - type: Sprite
    sprite: Objects/Fun/Instruments/otherinstruments.rsi
    state: seashell
  - type: Instrument
    program: 122
  - type: Item
    size: Small

- type: entity
  parent: BaseHandheldInstrument
  id: BirdToyInstrument
  name: bird whistle
  description: A delightful little whistle in the shape of a bird. It sings beautifully.
  components:
  - type: Sprite
    sprite: Objects/Fun/Instruments/otherinstruments.rsi
    state: birdtoy
  - type: Instrument
    program: 123
  - type: Item
    size: Small
    storedRotation: 90

- type: entity
  parent: BaseHandheldInstrument
  id: PhoneInstrument
  name: red phone
  description: Should anything ever go wrong...
  components:
  - type: Sprite
    sprite: Objects/Fun/Instruments/otherinstruments.rsi
    state: red_phone
  # Goobstation edit start
  - type: EmitSoundOnPickup
    sound:
      path: /Audio/_Goobstation/Items/handling/phone_pickup.ogg
      params:
        volume: -2
  - type: EmitSoundOnDrop
    sound:
      path: /Audio/_Goobstation/Items/handling/phone_drop.ogg
      params:
        volume: -2
  # Goobstation edit end
  - type: EmitSoundOnLand
    sound:
       path: /Audio/Items/ring.ogg
  - type: Instrument
    program: 124
  - type: Item
    size: Small
  - type: Prayable
    sentMessage: prayer-popup-notify-centcom-sent
    notificationPrefix: prayer-chat-notify-centcom
    verb: prayer-verbs-call
    verbImage: null
    notificationSound: # Goobstation - Admin Notifications
      path: /Audio/_Goobstation/Misc/phone_ring.ogg

- type: entity
  parent: PhoneInstrument
  id: PhoneInstrumentSyndicate
  name: blood-red phone
  description: For evil people to call their friends.
  components:
  - type: Sprite
    sprite: Objects/Fun/Instruments/blood_red_phone.rsi
    state: icon
  - type: Prayable
    sentMessage: prayer-popup-notify-syndicate-sent
    notificationPrefix: prayer-chat-notify-syndicate
    notificationSound: # Goobstation - Admin Notifications
      path: /Audio/_Goobstation/Misc/phone_ring.ogg

- type: entity
  parent: BaseHandheldInstrument
  id: HelicopterInstrument
  name: toy helicopter
  description: Ch-ka-ch-ka-ch-ka-ch-ka-ch-ka-ch-ka...
  components:
  - type: Sprite
    sprite: Objects/Fun/Instruments/otherinstruments.rsi
    state: helicopter
  - type: Instrument
    program: 125
  - type: Item
    size: Small
    storedRotation: -90

- type: entity
  parent: BaseHandheldInstrument
  id: CannedApplauseInstrument
  name: canned applause
  description: Seems like someone already used it all up...
  components:
  - type: Sprite
    sprite: Objects/Fun/Instruments/otherinstruments.rsi
    state: cannedapplause
  - type: Instrument
    program: 126
  - type: Item
    size: Tiny

- type: entity
  parent: BaseHandheldInstrument
  id: GunpetInstrument
  name: gunpet
  description: Why do you need to examine this? Is it not self-explanatory?
  components:
  - type: Instrument
    program: 127
  - type: Sprite
    sprite: Objects/Fun/Instruments/gunpet.rsi
  - type: Item
    size: Small
    storedRotation: -90
  - type: Tag
    tags:
    - Sidearm
    - BrassInstrument

- type: entity
  parent: BaseHandheldInstrument
  id: BikeHornInstrument
  name: gilded bike horn
  description: An exquisitely decorated bike horn, capable of honking in a variety of notes.
  components:
  - type: Instrument
    program: 1
    bank: 1
  - type: Sprite
    sprite: Objects/Fun/Instruments/bike_horn.rsi
  - type: Tag
    tags:
    - BrassInstrument #Go figure.
  - type: Item
    size: Small
    storedRotation: -90
  - type: Clothing
    slots: [Belt]
    quickEquip: false

- type: entity
  parent: PhoneInstrument
  id: BananaPhoneInstrument
  name: banana phone
  description: A direct line to the Honkmother. Seems to always go to voicemail.
  components:
  - type: Sprite
    state: banana_phone
  - type: EmitSoundOnLand
    sound:
       path: /Audio/Items/bikehorn.ogg
  - type: Slippery
  - type: StepTrigger
  - type: CollisionWake
    enabled: false
  - type: Fixtures
    fixtures:
      slips:
        shape:
          !type:PhysShapeAabb
          bounds: "-0.4,-0.3,0.4,0.3"
        hard: false
        layer:
        - SlipLayer
      fix1:
        shape:
          !type:PhysShapeAabb
          bounds: "-0.4,-0.3,0.4,0.3"
        density: 5
        mask:
        - ItemMask
  - type: Prayable
    sentMessage: prayer-popup-notify-honkmother-sent
    notificationPrefix: prayer-chat-notify-honkmother
    verb: prayer-verbs-call
    verbImage: null
    notificationSound: # Goobstation - Admin Notifications
      path: /Audio/_Goobstation/Misc/phone_ring.ogg
