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,3 @@
# also used in MakeGhostRuleWindow and MakeGhostRoleCommand
ghost-role-component-default-rules = You don't remember any of your previous life unless an administrator tells you otherwise.

View File

@@ -0,0 +1,15 @@
pai-system-pai-installed = A pAI is installed.
pai-system-off = No pAI is installed.
pai-system-still-searching = Still searching for a pAI.
pai-system-searching = Now searching for a pAI...
pai-system-role-name = personal ai
pai-system-role-description = Be someone's electronic pal!
(Memories *not* included.)
pai-system-wipe-device-verb-text = Remove pAI
pai-system-wiped-device = The pAI was wiped from the device.
pai-system-stop-searching-verb-text = Stop searching
pai-system-stopped-searching = The device stopped searching for a pAI.

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