- type: entity
  parent: BaseHandheldInstrument
  id: BasePercussionInstrument
  abstract: true
  components:
  - type: Tag
    tags:
    - PercussionInstrument

- type: entity
  parent: BasePercussionInstrument
  id: GlockenspielInstrument
  name: glockenspiel
  components:
  - type: Instrument
    program: 9
  - type: Sprite
    sprite: Objects/Fun/Instruments/glockenspiel.rsi

- type: entity
  parent: BasePercussionInstrument
  id: MusicBoxInstrument
  name: music box
  description: Playing this makes you feel safe from scary animatronics.
  components:
  - type: Instrument
    program: 10
  - type: Sprite
    sprite: Objects/Fun/Instruments/musicbox.rsi
  - type: Item
    size: Small

- type: entity
  parent: BasePercussionInstrument
  id: XylophoneInstrument
  name: xylophone
  description: Rainbow colored glockenspiel.
  components:
  - type: Instrument
    program: 13
  - type: Sprite
    sprite: Objects/Fun/Instruments/structureinstruments.rsi
    state: xylophone

- type: entity
  parent: BaseHandheldInstrument
  id: MicrophoneInstrument
  name: microphone
  description: Perfect for singing your heart out.
  components:
  - type: Instrument
    program: 52
  - type: SwappableInstrument
    instrumentList:
      "Aah": {52: 0}
      "Ooh": {53: 0}
      "Kweh": {4: 100} # Defined in space-station-14.sf2
      "Waa": {5: 100} # Defined in space-station-14.sf2
      "Wah": {6: 100} # Defined in space-station-14.sf2
  - type: Sprite
    sprite: Objects/Fun/Instruments/microphone.rsi
  - type: Item
    size: Small
    storedSprite:
      state: storage
      sprite: Objects/Fun/Instruments/microphone.rsi


- type: entity
  parent: BasePercussionInstrument
  id: WoodblockInstrument
  name: woodblock
  description: If you listen to this enough it'll start driving itself into your mind.
  components:
  - type: Instrument
    program: 115
  - type: Sprite
    sprite: Objects/Fun/Instruments/woodblock.rsi

- type: entity
  parent: BasePercussionInstrument
  id: ReverseCymbalsInstrument
  name: reverse cymbals
  description: I think you have it the wrong way around?
  components:
  - type: Instrument
    program: 119
  - type: Sprite
    sprite: Objects/Fun/Instruments/reversecymbal.rsi
