Skip to content

Commit

Permalink
Try fix 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirus59 committed Sep 17, 2024
1 parent 464bc9a commit 1c5a73f
Showing 1 changed file with 65 additions and 3 deletions.
68 changes: 65 additions & 3 deletions Resources/Prototypes/SS220/Entities/Objects/Fun/pai.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,74 @@
- type: entity
parent: PersonalAI
parent: BaseItem
id: EncryptionKeysPersonalAI
components:
- type: Instrument
allowPercussion: false
handheld: false
bank: 1
program: 2
- type: UserInterface
interfaces:
enum.InstrumentUiKey.Key:
type: InstrumentBoundUserInterface
requireInputValidation: false
enum.StationMapUiKey.Key:
type: StationMapBoundUserInterface
requireInputValidation: false
- type: Sprite
sprite: Objects/Fun/pai.rsi
layers:
- state: pai-base
- state: pai-off-overlay
shader: unshaded
map: ["screen"]
- type: Input
context: "human"
- type: PAI
- type: BlockMovement
- type: ToggleableGhostRole
examineTextMindPresent: pai-system-pai-installed
examineTextMindSearching: pai-system-still-searching
examineTextNoMind: pai-system-off
beginSearchingText: pai-system-searching
roleName: pai-system-role-name
roleDescription: pai-system-role-description
roleRules: ghost-role-information-familiar-rules
wipeVerbText: pai-system-wipe-device-verb-text
wipeVerbPopup: pai-system-wiped-device
stopSearchVerbText: pai-system-stop-searching-verb-text
stopSearchVerbPopup: pai-system-stopped-searching
- type: Examiner
- type: IntrinsicRadioReceiver
channels:
- Binary
- type: IntrinsicRadioTransmitter
channels:
- Binary
- type: DoAfter
- type: Actions
- type: TypingIndicator
proto: robot
- type: TTS # Corvax-TTS
voice: adventure_core
- type: Speech
speechVerb: Robotic
speechSounds: Pai
# 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".
- type: MobState
allowedStates:
- Alive
- type: Appearance
- type: GenericVisualizer
visuals:
enum.ToggleableGhostRoleVisuals.Status:
screen:
Off: { state: pai-off-overlay }
Searching: { state: pai-searching-overlay }
On: { state: pai-on-overlay }
- type: StationMap
- type: ContainerContainer
containers:
key_slots: !type:Container
Expand All @@ -14,5 +78,3 @@
- EncryptionKeyCommon
- type: EncryptionKeyHolder
keySlots: 2
- type: ActiveRadio
channels:

0 comments on commit 1c5a73f

Please sign in to comment.