From 0da7548d627adf8f4487426ae127cc42fa2e92cf Mon Sep 17 00:00:00 2001 From: Jamie D <993128+JamieD1@users.noreply.github.com> Date: Fri, 22 Apr 2022 17:03:42 +0100 Subject: [PATCH] Update tongue.dm --- code/modules/surgery/organs/tongue.dm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/code/modules/surgery/organs/tongue.dm b/code/modules/surgery/organs/tongue.dm index ad45eaf97c2d..1dcf572a0806 100644 --- a/code/modules/surgery/organs/tongue.dm +++ b/code/modules/surgery/organs/tongue.dm @@ -10,6 +10,7 @@ var/taste_sensitivity = 15 // lower is more sensitive. var/modifies_speech = TRUE // set to TRUE now because otherwise default tongues can't be honked. Not even sure why this would ever be set to false since it doesn't do anything. var/honked = FALSE // This tongue has a bike horn jammed inside of it and will honk every time something is spoken. + var/honkednoise = 'sound/items/bikehorn.ogg' var/static/list/languages_possible_base = typecacheof(list( /datum/language/common, /datum/language/draconic, @@ -43,7 +44,7 @@ /obj/item/organ/tongue/proc/handle_speech(datum/source, list/speech_args) if(honked) // you have a bike horn inside of your tongue. Time to honk - playsound(source, 'sound/items/bikehorn.ogg', 50, TRUE) + playsound(source, honkednoise, 50, TRUE) say_mod = "honks" // overrides original tongue here /obj/item/organ/tongue/Insert(mob/living/carbon/M, special = 0) @@ -67,6 +68,9 @@ /obj/item/organ/tongue/honked // allows admins to spawn honked tongues from the item menu vs having to change the variable. honked = TRUE +/obj/item/organ/tongue/honked/boowomp + honkednoise = 'yogstation/sound/items/boowomp.ogg' + /obj/item/organ/tongue/Initialize() // this only exists to make sure the spawned tongue has a horn inside of it visually . = ..() update_icon()