Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Language holder for Preternis fix #7513

Merged
merged 10 commits into from
Jan 6, 2020
6 changes: 6 additions & 0 deletions code/modules/language/language_holder.dm
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,12 @@ Key procs
/datum/language/machine = list(LANGUAGE_ATOM),
/datum/language/draconic = list(LANGUAGE_ATOM))

/datum/language_holder/preternis
understood_languages = list(/datum/language/common = list(LANGUAGE_ATOM),
/datum/language/machine = list(LANGUAGE_ATOM),)
spoken_languages = list(/datum/language/common = list(LANGUAGE_ATOM),
/datum/language/machine = list(LANGUAGE_ATOM),)

/datum/language_holder/empty
understood_languages = list()
spoken_languages = list()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ adjust_charge - take a positive or negative value to adjust the charge level
var/tesliumtrip = FALSE
var/draining = FALSE
screamsound = 'goon/sound/robot_scream.ogg'
species_language_holder = /datum/language_holder/preternis

/datum/species/preternis/on_species_gain(mob/living/carbon/C, datum/species/old_species, pref_load)
. = ..()
Expand Down