Re-enable instruments with fallback when MIDI isn't available.
This commit is contained in:
@@ -1,70 +1,70 @@
|
||||
# - type: entity
|
||||
# name: BaseInstrument
|
||||
# id: BaseInstrument
|
||||
# abstract: true
|
||||
# components:
|
||||
# - type: Instrument
|
||||
# handheld: false
|
||||
#
|
||||
# - type: Clickable
|
||||
# - type: InteractionOutline
|
||||
#
|
||||
# - type: Collidable
|
||||
# shapes:
|
||||
# - !type:PhysShapeAabb
|
||||
# layer: 31
|
||||
#
|
||||
# - type: SnapGrid
|
||||
# offset: Center
|
||||
#
|
||||
# - type: Damageable
|
||||
# - type: Destructible
|
||||
# thresholdvalue: 50
|
||||
#
|
||||
# - type: UserInterface
|
||||
# interfaces:
|
||||
# - key: enum.InstrumentUiKey.Key
|
||||
# type: InstrumentBoundUserInterface
|
||||
#
|
||||
# - type: entity
|
||||
# name: Piano
|
||||
# parent: BaseInstrument
|
||||
# id: PianoInstrument
|
||||
# description: Play Needles Piano Now.
|
||||
# components:
|
||||
# - type: Instrument
|
||||
# program: 1
|
||||
# - type: Sprite
|
||||
# sprite: Objects/Instruments/musician.rsi
|
||||
# state: piano
|
||||
# - type: Icon
|
||||
# sprite: Objects/Instruments/musician.rsi
|
||||
# state: piano
|
||||
#
|
||||
# - type: entity
|
||||
# name: Minimoog
|
||||
# parent: BaseInstrument
|
||||
# id: MinimoogInstrument
|
||||
# components:
|
||||
# - type: Instrument
|
||||
# program: 7
|
||||
# - type: Sprite
|
||||
# sprite: Objects/Instruments/musician.rsi
|
||||
# state: minimoog
|
||||
# - type: Icon
|
||||
# sprite: Objects/Instruments/musician.rsi
|
||||
# state: minimoog
|
||||
#
|
||||
# - type: entity
|
||||
# name: Xylophone
|
||||
# parent: BaseInstrument
|
||||
# id: XylophoneInstrument
|
||||
# components:
|
||||
# - type: Instrument
|
||||
# program: 13
|
||||
# - type: Sprite
|
||||
# sprite: Objects/Instruments/musician.rsi
|
||||
# state: xylophone
|
||||
# - type: Icon
|
||||
# sprite: Objects/Instruments/musician.rsi
|
||||
# state: xylophone
|
||||
- type: entity
|
||||
name: BaseInstrument
|
||||
id: BaseInstrument
|
||||
abstract: true
|
||||
components:
|
||||
- type: Instrument
|
||||
handheld: false
|
||||
|
||||
- type: Clickable
|
||||
- type: InteractionOutline
|
||||
|
||||
- type: Collidable
|
||||
shapes:
|
||||
- !type:PhysShapeAabb
|
||||
layer: 31
|
||||
|
||||
- type: SnapGrid
|
||||
offset: Center
|
||||
|
||||
- type: Damageable
|
||||
- type: Destructible
|
||||
thresholdvalue: 50
|
||||
|
||||
- type: UserInterface
|
||||
interfaces:
|
||||
- key: enum.InstrumentUiKey.Key
|
||||
type: InstrumentBoundUserInterface
|
||||
|
||||
- type: entity
|
||||
name: Piano
|
||||
parent: BaseInstrument
|
||||
id: PianoInstrument
|
||||
description: Play Needles Piano Now.
|
||||
components:
|
||||
- type: Instrument
|
||||
program: 1
|
||||
- type: Sprite
|
||||
sprite: Objects/Instruments/musician.rsi
|
||||
state: piano
|
||||
- type: Icon
|
||||
sprite: Objects/Instruments/musician.rsi
|
||||
state: piano
|
||||
|
||||
- type: entity
|
||||
name: Minimoog
|
||||
parent: BaseInstrument
|
||||
id: MinimoogInstrument
|
||||
components:
|
||||
- type: Instrument
|
||||
program: 7
|
||||
- type: Sprite
|
||||
sprite: Objects/Instruments/musician.rsi
|
||||
state: minimoog
|
||||
- type: Icon
|
||||
sprite: Objects/Instruments/musician.rsi
|
||||
state: minimoog
|
||||
|
||||
- type: entity
|
||||
name: Xylophone
|
||||
parent: BaseInstrument
|
||||
id: XylophoneInstrument
|
||||
components:
|
||||
- type: Instrument
|
||||
program: 13
|
||||
- type: Sprite
|
||||
sprite: Objects/Instruments/musician.rsi
|
||||
state: xylophone
|
||||
- type: Icon
|
||||
sprite: Objects/Instruments/musician.rsi
|
||||
state: xylophone
|
||||
|
||||
Reference in New Issue
Block a user