From f5deb6571e663211668069c5d88b52afb297c14e Mon Sep 17 00:00:00 2001 From: RaShCAt <33174229+RaShCat@users.noreply.github.com> Date: Fri, 6 Oct 2023 23:33:25 +0300 Subject: [PATCH] Update tff_modular/modules/blooper/atoms_movable.dm Co-authored-by: ReezeBL --- tff_modular/modules/blooper/atoms_movable.dm | 31 -------------------- 1 file changed, 31 deletions(-) diff --git a/tff_modular/modules/blooper/atoms_movable.dm b/tff_modular/modules/blooper/atoms_movable.dm index 96fdcca8fb9..58d34ce8aec 100644 --- a/tff_modular/modules/blooper/atoms_movable.dm +++ b/tff_modular/modules/blooper/atoms_movable.dm @@ -1,34 +1,3 @@ -/atom/movable/Initialize(mapload) - . = ..() - RegisterSignal(src, COMSIG_MOVABLE_BARK, .proc/handle_special_bark) - -/atom/movable/Destroy() - UnregisterSignal(src, COMSIG_MOVABLE_BARK) - . = ..() - -/atom/movable/proc/handle_special_bark(atom/movable/source, list/listeners, distance, volume, pitch) - SIGNAL_HANDLER - - if(!GLOB.blooper_allowed) - return //No need to run if there are no barks to begin with - - var/list/soundpaths - switch(GLOB.bark_list[source.vocal_bark_id]) - if(/datum/bark/gaster) - soundpaths = list( - 'tff_modular/modules/blooper/voice/barks/undertale/voice_gaster_1.ogg', - 'tff_modular/modules/blooper/voice/barks/undertale/voice_gaster_2.ogg', - 'tff_modular/modules/blooper/voice/barks/undertale/voice_gaster_3.ogg', - 'tff_modular/modules/blooper/voice/barks/undertale/voice_gaster_4.ogg', - 'tff_modular/modules/blooper/voice/barks/undertale/voice_gaster_5.ogg', - 'tff_modular/modules/blooper/voice/barks/undertale/voice_gaster_6.ogg', - 'tff_modular/modules/blooper/voice/barks/undertale/voice_gaster_7.ogg' - ) - else - return - - source.vocal_bark = sound(pick(soundpaths)) - /atom/movable // Text-to-bark sounds // Да. У нас все атом могут иметь звучение для say.