Ghost hearing action (#19722)

This commit is contained in:
Kara
2023-09-24 13:34:08 -07:00
committed by GitHub
parent 5e405380ef
commit fb175a520d
11 changed files with 97 additions and 28 deletions

View File

@@ -15,6 +15,7 @@
context: "aghost"
- type: Ghost
canInteract: true
- type: GhostHearing
- type: Hands
- type: Puller
- type: CombatMode

View File

@@ -32,6 +32,7 @@
- type: Examiner
skipChecks: true
- type: Ghost
- type: GhostHearing
- type: MovementSpeedModifier
baseSprintSpeed: 12
baseWalkSpeed: 8
@@ -106,3 +107,17 @@
clientExclusive: true
checkCanInteract: false
event: !type:ToggleGhostsActionEvent
- type: entity
id: ActionToggleGhostHearing
name: Toggle Ghost Hearing
description: Toggle between hearing all messages and hearing only radio & nearby messages.
noSpawn: true
components:
- type: InstantAction
checkCanInteract: false
icon:
sprite: Clothing/Ears/Headsets/base.rsi
state: icon
iconOn: Interface/Actions/ghostHearingToggled.png
event: !type:ToggleGhostHearingActionEvent