Set pAI up with a static map the pAI can use (#23499)
* Set pAI up with a trackless map * Added a untracked map user interface class to support gps-less mapping * Added to pAI by default, expect it to be given to borgs as well in time. As the personal AI is literally immobile as a ghost, it is useful to ensure that people carry one. With that idea in mind, it is worth giving the pAI a reason to be carried that doesn't depend on the player having a cracking selection of midi files on hand. * Tried to use new ProtoId and have EntityUid on the client as commented by metalgearsloth * Review --------- Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
@@ -15,6 +15,8 @@
|
||||
interfaces:
|
||||
- key: enum.InstrumentUiKey.Key
|
||||
type: InstrumentBoundUserInterface
|
||||
- key: enum.StationMapUiKey.Key
|
||||
type: UntrackedStationMapBoundUserInterface
|
||||
- type: Sprite
|
||||
sprite: Objects/Fun/pai.rsi
|
||||
layers:
|
||||
@@ -67,6 +69,7 @@
|
||||
Off: { state: pai-off-overlay }
|
||||
Searching: { state: pai-searching-overlay }
|
||||
On: { state: pai-on-overlay }
|
||||
- type: StationMap
|
||||
|
||||
- type: entity
|
||||
parent: PersonalAI
|
||||
@@ -138,3 +141,15 @@
|
||||
icon: Interface/Actions/pai-midi.png
|
||||
event: !type:OpenUiActionEvent
|
||||
key: enum.InstrumentUiKey.Key
|
||||
|
||||
- type: entity
|
||||
id: ActionPAIOpenMap
|
||||
name: Open Map
|
||||
description: Open your map interface and guide your owner.
|
||||
noSpawn: true
|
||||
components:
|
||||
- type: InstantAction
|
||||
checkCanInteract: false
|
||||
icon: Interface/home.png
|
||||
event: !type:OpenUiActionEvent
|
||||
key: enum.StationMapUiKey.Key
|
||||
|
||||
Reference in New Issue
Block a user