mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-09 16:05:07 +00:00
adds Encoded Audio Language to the robotic voicebox. (#90635)
Robotic voiceboxes allow you to speak EAL, and you can understand it as normal for knowing a language when said voicebox is installed. If the Star-Wars and 40k guys can learn to intelligibly interpret robot whirring, I'm sure we can too.
This commit is contained in:
@@ -39,6 +39,7 @@
|
||||
#define LANGUAGE_RADIOKEY "radiokey"
|
||||
#define LANGUAGE_BABEL "babel"
|
||||
#define LANGUAGE_EMP "emp"
|
||||
#define LANGUAGE_TONGUE "tongue"
|
||||
|
||||
// Language flags. Used in granting and removing languages.
|
||||
/// This language can be spoken.
|
||||
|
||||
@@ -579,6 +579,18 @@
|
||||
/obj/item/organ/tongue/robot/modify_speech(datum/source, list/speech_args)
|
||||
speech_args[SPEECH_SPANS] |= SPAN_ROBOT
|
||||
|
||||
/obj/item/organ/tongue/robot/on_mob_insert(mob/living/carbon/receiver)
|
||||
. = ..()
|
||||
receiver.grant_language(/datum/language/machine, source = LANGUAGE_TONGUE)
|
||||
to_chat(receiver, span_boldnotice("You gain a new understanding of [/datum/language/machine::name]."))
|
||||
|
||||
/obj/item/organ/tongue/robot/on_mob_remove(mob/living/carbon/owner)
|
||||
. = ..()
|
||||
if(QDELING(owner))
|
||||
return
|
||||
owner.remove_language(/datum/language/machine, source = LANGUAGE_TONGUE)
|
||||
to_chat(owner, span_boldnotice("You're not really sure what beeps and boops mean anymore."))
|
||||
|
||||
/obj/item/organ/tongue/snail
|
||||
name = "radula"
|
||||
desc = "A minutely toothed, chitinous ribbon, which as a side effect, makes all snails talk IINNCCRREEDDIIBBLLYY SSLLOOWWLLYY."
|
||||
|
||||
Reference in New Issue
Block a user