Placeholder pAIs, ghost role rules window (#4972)

This commit is contained in:
20kdc
2021-11-02 00:42:04 +00:00
committed by GitHub
parent 76bc00b218
commit 7a03f00cfd
18 changed files with 350 additions and 12 deletions

View File

@@ -0,0 +1,38 @@
# Placeholder PAIs, aka semi-automatic ghost roles
- type: entity
parent: BaseItem
id: PersonalAI
name: personal ai device
description: Your electronic pal who's fun to be with!
components:
- type: Sprite
netsync: false
sprite: Objects/Devices/pda.rsi
layers:
- state: pda-lawyer # nobody's using this one
- state: pai_off_overlay
shader: unshaded
- type: Input
context: "human"
- type: PAI
- type: Examiner
- type: GhostRadio
- type: DoAfter
- type: Actions
# 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
thresholds:
0: !type:NormalMobState {}
- type: Appearance
visuals:
- type: GenericEnumVisualizer
key: enum.PAIVisuals.Status
layer: 1
states:
enum.PAIStatus.Off: pai_off_overlay
enum.PAIStatus.Searching: pda-r
enum.PAIStatus.On: pai_overlay