pAIs Play Music (#5614)
* Disable check * vehicle test * Make PAI stop instrument when turning off (player leaves/ejected) * Give pAI an instrument component with a custom soundfont * Add pAI synth program to custom ss14 soundfont * Add new PAIMidi action that pAIs use to open their instruments * Changed instrument component to allow its player to be the actor of its parent item * Oops. Readds instrumentcomponent. * ECS Changes * Changed soundfont to ringtone * Revert "Disable check" This reverts commit 86001d8b5e94ee38d0c9504cb19826327b04fb16. * Remove action parameters from ghost placeholder * Revert "vehicle test" This reverts commit 8a8ecf41083e0d5c8d4363ff02981bdab04bcd1c. * Fixes to whitespace * Even more fixes to whitespace * Removed paiSynth sample from spacestation14.sf2 * Yet another indentation touchup
This commit is contained in:
@@ -66,6 +66,17 @@
|
||||
cooldown: 120
|
||||
maxTargets: 3
|
||||
|
||||
- type: action
|
||||
actionType: PAIMidi
|
||||
icon: Interface/Actions/midi.png
|
||||
name: "Play MIDI"
|
||||
description: "Open your portable MIDI interface to soothe your owner."
|
||||
filters:
|
||||
- pai
|
||||
- music
|
||||
behaviorType: Instant
|
||||
behavior: !type:PAIMidi
|
||||
|
||||
- type: action
|
||||
actionType: DebugInstant
|
||||
icon: Interface/Alerts/human_health.rsi/health1.png
|
||||
@@ -133,3 +144,4 @@
|
||||
repeat: true
|
||||
behavior: !type:DebugTargetEntity { }
|
||||
|
||||
|
||||
|
||||
@@ -6,6 +6,15 @@
|
||||
name: personal ai device
|
||||
description: Your electronic pal who's fun to be with!
|
||||
components:
|
||||
- type: Instrument
|
||||
allowPercussion: false
|
||||
handheld: false
|
||||
bank: 1
|
||||
program: 2
|
||||
- type: UserInterface
|
||||
interfaces:
|
||||
- key: enum.InstrumentUiKey.Key
|
||||
type: InstrumentBoundUserInterface
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
sprite: Objects/Devices/pda.rsi
|
||||
@@ -20,6 +29,8 @@
|
||||
- type: GhostRadio
|
||||
- type: DoAfter
|
||||
- type: Actions
|
||||
innateActions:
|
||||
- PAIMidi
|
||||
# This has to be installed because otherwise they're not "alive",
|
||||
# so they can ghost and come back.
|
||||
# Note that the personal AI never "dies".
|
||||
|
||||
Reference in New Issue
Block a user