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);
// WD edit
SubscribeLocalEvent<SharedTTSComponent, ComponentStartup>(EnsureRandomTTS);
SubscribeLocalEvent<SharedTTSComponent, ComponentInit>(EnsureRandomTTS);
InitializeRelay();
GenerateVoiceList(); // WD edit
}
// Giedi added
private void EnsureRandomTTS(EntityUid uid, SharedTTSComponent component, ComponentStartup args)
private void EnsureRandomTTS(EntityUid uid, SharedTTSComponent component, ComponentInit args)
{
if (!HasComp<BorgChassisComponent>(uid))
return;

View File

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