From 9f90a687ef5930241059c4df3c793627f00245c4 Mon Sep 17 00:00:00 2001 From: Jabak <163307958+Jabaks@users.noreply.github.com> Date: Sun, 29 Sep 2024 13:46:14 +0300 Subject: [PATCH] fix borg (#719) --- Content.Shared/Silicons/Borgs/SharedBorgSystem.cs | 4 ++-- .../Prototypes/Entities/Mobs/Cyborgs/base_borg_chassis.yml | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Content.Shared/Silicons/Borgs/SharedBorgSystem.cs b/Content.Shared/Silicons/Borgs/SharedBorgSystem.cs index a4ebbf3eac..9eb0208acb 100644 --- a/Content.Shared/Silicons/Borgs/SharedBorgSystem.cs +++ b/Content.Shared/Silicons/Borgs/SharedBorgSystem.cs @@ -39,14 +39,14 @@ public abstract partial class SharedBorgSystem : EntitySystem SubscribeLocalEvent(OnRefreshMovementSpeedModifiers); // WD edit - SubscribeLocalEvent(EnsureRandomTTS); + SubscribeLocalEvent(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(uid)) return; diff --git a/Resources/Prototypes/Entities/Mobs/Cyborgs/base_borg_chassis.yml b/Resources/Prototypes/Entities/Mobs/Cyborgs/base_borg_chassis.yml index a05e50badd..052f35e99e 100644 --- a/Resources/Prototypes/Entities/Mobs/Cyborgs/base_borg_chassis.yml +++ b/Resources/Prototypes/Entities/Mobs/Cyborgs/base_borg_chassis.yml @@ -129,6 +129,9 @@ - type: TypingIndicator proto: robot - type: TTS + - type: Speech + speechVerb: Robotic + speechSounds: Borg - type: UnblockableSpeech - type: FootstepModifier footstepSoundCollection: