This commit is contained in:
Jabak
2024-09-29 13:46:14 +03:00
committed by GitHub
parent f051d0087c
commit 9f90a687ef
2 changed files with 5 additions and 2 deletions

View File

@@ -39,14 +39,14 @@ public abstract partial class SharedBorgSystem : EntitySystem
SubscribeLocalEvent<BorgChassisComponent, RefreshMovementSpeedModifiersEvent>(OnRefreshMovementSpeedModifiers); SubscribeLocalEvent<BorgChassisComponent, RefreshMovementSpeedModifiersEvent>(OnRefreshMovementSpeedModifiers);
// WD edit // WD edit
SubscribeLocalEvent<SharedTTSComponent, ComponentStartup>(EnsureRandomTTS); SubscribeLocalEvent<SharedTTSComponent, ComponentInit>(EnsureRandomTTS);
InitializeRelay(); InitializeRelay();
GenerateVoiceList(); // WD edit GenerateVoiceList(); // WD edit
} }
// Giedi added // Giedi added
private void EnsureRandomTTS(EntityUid uid, SharedTTSComponent component, ComponentStartup args) private void EnsureRandomTTS(EntityUid uid, SharedTTSComponent component, ComponentInit args)
{ {
if (!HasComp<BorgChassisComponent>(uid)) if (!HasComp<BorgChassisComponent>(uid))
return; return;

View File

@@ -129,6 +129,9 @@
- type: TypingIndicator - type: TypingIndicator
proto: robot proto: robot
- type: TTS - type: TTS
- type: Speech
speechVerb: Robotic
speechSounds: Borg
- type: UnblockableSpeech - type: UnblockableSpeech
- type: FootstepModifier - type: FootstepModifier
footstepSoundCollection: footstepSoundCollection: