Makes the Librarian a little less shit, now they know most languages. (#22460)

* less shit

* adds some restrictions, handles Matt's request

* fix

* Update code/modules/mob/language.dm

Co-authored-by: Daniel Lenrd <mr.lenrd@mail.ru>

* Update code/game/jobs/job/support.dm

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>

---------

Co-authored-by: Daniel Lenrd <mr.lenrd@mail.ru>
Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
This commit is contained in:
Octus
2023-10-03 17:08:54 +01:00
committed by GitHub
co-authored by Daniel Lenrd Contrabang
parent 2672d02eb3
commit 1fc452cef8
3 changed files with 14 additions and 3 deletions
+1
View File
@@ -17,6 +17,7 @@
#define NO_TALK_MSG 128 // Do not show the "\The [speaker] talks into \the [radio]" message
#define NO_STUTTER 256 // No stuttering, slurring, or other speech problems
#define NOBABEL 512 // Not granted by book of babel. Typically antag languages.
#define NOLIBRARIAN 1024 // Flag for banning the Librarian from certain languages. (actual 1984)
//Auto-accent level defines.
#define AUTOHISS_OFF 0
+10
View File
@@ -454,6 +454,16 @@
backpack_contents = list(
/obj/item/videocam/advanced = 1)
/datum/outfit/job/librarian/post_equip(mob/living/carbon/human/H, visualsOnly = FALSE)
..()
if(!H.mind)
return
for(var/la in GLOB.all_languages)
var/datum/language/new_language = GLOB.all_languages[la]
if(new_language.flags & (HIVEMIND|NOLIBRARIAN))
continue
H.add_language(la)
/datum/job/barber
title = "Barber"
flag = JOB_BARBER
+3 -3
View File
@@ -342,7 +342,7 @@
exclaim_verbs = list("imparts")
colour = "abductor"
key = "^"
flags = RESTRICTED | HIVEMIND
flags = RESTRICTED | HIVEMIND | NOLIBRARIAN
follow = TRUE
/datum/language/grey/broadcast(mob/living/speaker, message, speaker_mask)
@@ -499,7 +499,7 @@
ask_verb = "hisses"
exclaim_verbs = list("hisses")
key = "6"
flags = RESTRICTED
flags = RESTRICTED | NOLIBRARIAN
syllables = list("sss","sSs","SSS")
/datum/language/xenos
@@ -653,7 +653,7 @@
ask_verb = "queries"
exclaim_verbs = list("declares")
key = "]"
flags = RESTRICTED
flags = RESTRICTED | NOLIBRARIAN
follow = TRUE
syllables = list ("beep", "boop")