Disable instruments (#617)
This commit is contained in:
committed by
GitHub
parent
425a277b11
commit
48af9f90c0
@@ -1,70 +1,70 @@
|
|||||||
- type: entity
|
# - type: entity
|
||||||
name: BaseInstrument
|
# name: BaseInstrument
|
||||||
id: BaseInstrument
|
# id: BaseInstrument
|
||||||
abstract: true
|
# abstract: true
|
||||||
components:
|
# components:
|
||||||
- type: Instrument
|
# - type: Instrument
|
||||||
handheld: false
|
# handheld: false
|
||||||
|
#
|
||||||
- type: Clickable
|
# - type: Clickable
|
||||||
- type: InteractionOutline
|
# - type: InteractionOutline
|
||||||
|
#
|
||||||
- type: Collidable
|
# - type: Collidable
|
||||||
shapes:
|
# shapes:
|
||||||
- !type:PhysShapeAabb
|
# - !type:PhysShapeAabb
|
||||||
layer: 31
|
# layer: 31
|
||||||
|
#
|
||||||
- type: SnapGrid
|
# - type: SnapGrid
|
||||||
offset: Center
|
# offset: Center
|
||||||
|
#
|
||||||
- type: Damageable
|
# - type: Damageable
|
||||||
- type: Destructible
|
# - type: Destructible
|
||||||
thresholdvalue: 50
|
# thresholdvalue: 50
|
||||||
|
#
|
||||||
- type: UserInterface
|
# - type: UserInterface
|
||||||
interfaces:
|
# interfaces:
|
||||||
- key: enum.InstrumentUiKey.Key
|
# - key: enum.InstrumentUiKey.Key
|
||||||
type: InstrumentBoundUserInterface
|
# type: InstrumentBoundUserInterface
|
||||||
|
#
|
||||||
- type: entity
|
# - type: entity
|
||||||
name: Piano
|
# name: Piano
|
||||||
parent: BaseInstrument
|
# parent: BaseInstrument
|
||||||
id: PianoInstrument
|
# id: PianoInstrument
|
||||||
description: Play Needles Piano Now.
|
# description: Play Needles Piano Now.
|
||||||
components:
|
# components:
|
||||||
- type: Instrument
|
# - type: Instrument
|
||||||
program: 1
|
# program: 1
|
||||||
- type: Sprite
|
# - type: Sprite
|
||||||
sprite: Objects/Instruments/musician.rsi
|
# sprite: Objects/Instruments/musician.rsi
|
||||||
state: piano
|
# state: piano
|
||||||
- type: Icon
|
# - type: Icon
|
||||||
sprite: Objects/Instruments/musician.rsi
|
# sprite: Objects/Instruments/musician.rsi
|
||||||
state: piano
|
# state: piano
|
||||||
|
#
|
||||||
- type: entity
|
# - type: entity
|
||||||
name: Minimoog
|
# name: Minimoog
|
||||||
parent: BaseInstrument
|
# parent: BaseInstrument
|
||||||
id: MinimoogInstrument
|
# id: MinimoogInstrument
|
||||||
components:
|
# components:
|
||||||
- type: Instrument
|
# - type: Instrument
|
||||||
program: 7
|
# program: 7
|
||||||
- type: Sprite
|
# - type: Sprite
|
||||||
sprite: Objects/Instruments/musician.rsi
|
# sprite: Objects/Instruments/musician.rsi
|
||||||
state: minimoog
|
# state: minimoog
|
||||||
- type: Icon
|
# - type: Icon
|
||||||
sprite: Objects/Instruments/musician.rsi
|
# sprite: Objects/Instruments/musician.rsi
|
||||||
state: minimoog
|
# state: minimoog
|
||||||
|
#
|
||||||
- type: entity
|
# - type: entity
|
||||||
name: Xylophone
|
# name: Xylophone
|
||||||
parent: BaseInstrument
|
# parent: BaseInstrument
|
||||||
id: XylophoneInstrument
|
# id: XylophoneInstrument
|
||||||
components:
|
# components:
|
||||||
- type: Instrument
|
# - type: Instrument
|
||||||
program: 13
|
# program: 13
|
||||||
- type: Sprite
|
# - type: Sprite
|
||||||
sprite: Objects/Instruments/musician.rsi
|
# sprite: Objects/Instruments/musician.rsi
|
||||||
state: xylophone
|
# state: xylophone
|
||||||
- type: Icon
|
# - type: Icon
|
||||||
sprite: Objects/Instruments/musician.rsi
|
# sprite: Objects/Instruments/musician.rsi
|
||||||
state: xylophone
|
# state: xylophone
|
||||||
|
|||||||
@@ -1,132 +1,132 @@
|
|||||||
- type: entity
|
# - type: entity
|
||||||
name: BaseHandheldInstrument
|
# name: BaseHandheldInstrument
|
||||||
parent: BaseItem
|
# parent: BaseItem
|
||||||
id: BaseHandheldInstrument
|
# id: BaseHandheldInstrument
|
||||||
abstract: true
|
# abstract: true
|
||||||
components:
|
# components:
|
||||||
- type: Instrument
|
# - type: Instrument
|
||||||
handheld: true
|
# handheld: true
|
||||||
- type: UserInterface
|
# - type: UserInterface
|
||||||
interfaces:
|
# interfaces:
|
||||||
- key: enum.InstrumentUiKey.Key
|
# - key: enum.InstrumentUiKey.Key
|
||||||
type: InstrumentBoundUserInterface
|
# type: InstrumentBoundUserInterface
|
||||||
|
#
|
||||||
- type: entity
|
# - type: entity
|
||||||
name: Synthesizer
|
# name: Synthesizer
|
||||||
parent: BaseHandheldInstrument
|
# parent: BaseHandheldInstrument
|
||||||
id: SynthesizerInstrument
|
# id: SynthesizerInstrument
|
||||||
components:
|
# components:
|
||||||
- type: Instrument
|
# - type: Instrument
|
||||||
program: 2
|
# program: 2
|
||||||
- type: Sprite
|
# - type: Sprite
|
||||||
texture: Objects/Instruments/musician.rsi/h_synthesizer.png
|
# texture: Objects/Instruments/musician.rsi/h_synthesizer.png
|
||||||
- type: Icon
|
# - type: Icon
|
||||||
texture: Objects/Instruments/musician.rsi/h_synthesizer.png
|
# texture: Objects/Instruments/musician.rsi/h_synthesizer.png
|
||||||
|
#
|
||||||
- type: entity
|
# - type: entity
|
||||||
name: Violin
|
# name: Violin
|
||||||
parent: BaseHandheldInstrument
|
# parent: BaseHandheldInstrument
|
||||||
id: ViolinInstrument
|
# id: ViolinInstrument
|
||||||
components:
|
# components:
|
||||||
- type: Instrument
|
# - type: Instrument
|
||||||
program: 40
|
# program: 40
|
||||||
- type: Sprite
|
# - type: Sprite
|
||||||
texture: Objects/Instruments/musician.rsi/violin.png
|
# texture: Objects/Instruments/musician.rsi/violin.png
|
||||||
- type: Icon
|
# - type: Icon
|
||||||
texture: Objects/Instruments/musician.rsi/violin.png
|
# texture: Objects/Instruments/musician.rsi/violin.png
|
||||||
|
#
|
||||||
- type: entity
|
# - type: entity
|
||||||
name: Trumpet
|
# name: Trumpet
|
||||||
parent: BaseHandheldInstrument
|
# parent: BaseHandheldInstrument
|
||||||
id: TrumpetInstrument
|
# id: TrumpetInstrument
|
||||||
components:
|
# components:
|
||||||
- type: Instrument
|
# - type: Instrument
|
||||||
program: 56
|
# program: 56
|
||||||
- type: Sprite
|
# - type: Sprite
|
||||||
texture: Objects/Instruments/musician.rsi/trumpet.png
|
# texture: Objects/Instruments/musician.rsi/trumpet.png
|
||||||
- type: Icon
|
# - type: Icon
|
||||||
texture: Objects/Instruments/musician.rsi/trumpet.png
|
# texture: Objects/Instruments/musician.rsi/trumpet.png
|
||||||
|
#
|
||||||
- type: entity
|
# - type: entity
|
||||||
name: Electric Guitar
|
# name: Electric Guitar
|
||||||
parent: BaseHandheldInstrument
|
# parent: BaseHandheldInstrument
|
||||||
id: ElectricGuitarInstrument
|
# id: ElectricGuitarInstrument
|
||||||
components:
|
# components:
|
||||||
- type: Instrument
|
# - type: Instrument
|
||||||
program: 27
|
# program: 27
|
||||||
- type: Sprite
|
# - type: Sprite
|
||||||
texture: Objects/Instruments/musician.rsi/eguitar.png
|
# texture: Objects/Instruments/musician.rsi/eguitar.png
|
||||||
- type: Icon
|
# - type: Icon
|
||||||
texture: Objects/Instruments/musician.rsi/eguitar.png
|
# texture: Objects/Instruments/musician.rsi/eguitar.png
|
||||||
|
#
|
||||||
- type: entity
|
# - type: entity
|
||||||
name: Accordion
|
# name: Accordion
|
||||||
parent: BaseHandheldInstrument
|
# parent: BaseHandheldInstrument
|
||||||
id: AccordionInstrument
|
# id: AccordionInstrument
|
||||||
components:
|
# components:
|
||||||
- type: Instrument
|
# - type: Instrument
|
||||||
program: 21
|
# program: 21
|
||||||
- type: Sprite
|
# - type: Sprite
|
||||||
texture: Objects/Instruments/musician.rsi/accordion.png
|
# texture: Objects/Instruments/musician.rsi/accordion.png
|
||||||
- type: Icon
|
# - type: Icon
|
||||||
texture: Objects/Instruments/musician.rsi/accordion.png
|
# texture: Objects/Instruments/musician.rsi/accordion.png
|
||||||
|
#
|
||||||
- type: entity
|
# - type: entity
|
||||||
name: Harmonica
|
# name: Harmonica
|
||||||
parent: BaseHandheldInstrument
|
# parent: BaseHandheldInstrument
|
||||||
id: HarmonicaInstrument
|
# id: HarmonicaInstrument
|
||||||
components:
|
# components:
|
||||||
- type: Instrument
|
# - type: Instrument
|
||||||
program: 22
|
# program: 22
|
||||||
- type: Sprite
|
# - type: Sprite
|
||||||
texture: Objects/Instruments/musician.rsi/harmonica.png
|
# texture: Objects/Instruments/musician.rsi/harmonica.png
|
||||||
- type: Icon
|
# - type: Icon
|
||||||
texture: Objects/Instruments/musician.rsi/harmonica.png
|
# texture: Objects/Instruments/musician.rsi/harmonica.png
|
||||||
|
#
|
||||||
- type: entity
|
# - type: entity
|
||||||
name: Recorder
|
# name: Recorder
|
||||||
parent: BaseHandheldInstrument
|
# parent: BaseHandheldInstrument
|
||||||
id: RecorderInstrument
|
# id: RecorderInstrument
|
||||||
components:
|
# components:
|
||||||
- type: Instrument
|
# - type: Instrument
|
||||||
program: 74
|
# program: 74
|
||||||
- type: Sprite
|
# - type: Sprite
|
||||||
texture: Objects/Instruments/musician.rsi/recorder.png
|
# texture: Objects/Instruments/musician.rsi/recorder.png
|
||||||
- type: Icon
|
# - type: Icon
|
||||||
texture: Objects/Instruments/musician.rsi/recorder.png
|
# texture: Objects/Instruments/musician.rsi/recorder.png
|
||||||
|
#
|
||||||
- type: entity
|
# - type: entity
|
||||||
name: Trombone
|
# name: Trombone
|
||||||
parent: BaseHandheldInstrument
|
# parent: BaseHandheldInstrument
|
||||||
id: TromboneInstrument
|
# id: TromboneInstrument
|
||||||
components:
|
# components:
|
||||||
- type: Instrument
|
# - type: Instrument
|
||||||
program: 57
|
# program: 57
|
||||||
- type: Sprite
|
# - type: Sprite
|
||||||
texture: Objects/Instruments/musician.rsi/trombone.png
|
# texture: Objects/Instruments/musician.rsi/trombone.png
|
||||||
- type: Icon
|
# - type: Icon
|
||||||
texture: Objects/Instruments/musician.rsi/trombone.png
|
# texture: Objects/Instruments/musician.rsi/trombone.png
|
||||||
|
#
|
||||||
- type: entity
|
# - type: entity
|
||||||
name: Saxophone
|
# name: Saxophone
|
||||||
parent: BaseHandheldInstrument
|
# parent: BaseHandheldInstrument
|
||||||
id: SaxophoneInstrument
|
# id: SaxophoneInstrument
|
||||||
components:
|
# components:
|
||||||
- type: Instrument
|
# - type: Instrument
|
||||||
program: 67
|
# program: 67
|
||||||
- type: Sprite
|
# - type: Sprite
|
||||||
texture: Objects/Instruments/musician.rsi/saxophone.png
|
# texture: Objects/Instruments/musician.rsi/saxophone.png
|
||||||
- type: Icon
|
# - type: Icon
|
||||||
texture: Objects/Instruments/musician.rsi/saxophone.png
|
# texture: Objects/Instruments/musician.rsi/saxophone.png
|
||||||
|
#
|
||||||
- type: entity
|
# - type: entity
|
||||||
name: Glockenspiel
|
# name: Glockenspiel
|
||||||
parent: BaseHandheldInstrument
|
# parent: BaseHandheldInstrument
|
||||||
id: GlockenspielInstrument
|
# id: GlockenspielInstrument
|
||||||
components:
|
# components:
|
||||||
- type: Instrument
|
# - type: Instrument
|
||||||
program: 9
|
# program: 9
|
||||||
- type: Sprite
|
# - type: Sprite
|
||||||
texture: Objects/Instruments/musician.rsi/glockenspiel.png
|
# texture: Objects/Instruments/musician.rsi/glockenspiel.png
|
||||||
- type: Icon
|
# - type: Icon
|
||||||
texture: Objects/Instruments/musician.rsi/glockenspiel.png
|
# texture: Objects/Instruments/musician.rsi/glockenspiel.png
|
||||||
|
|||||||
Reference in New Issue
Block a user