Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion code/modules/surgery/organs/tongue.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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)
Expand All @@ -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()
Expand Down