Skip to content

Commit

Permalink
Multilingual quirk can no longer give you centcom encrypted language …
Browse files Browse the repository at this point in the history
…and costs 2 points instead of 3 (#17735)

* guh

* Update good.dm
  • Loading branch information
SapphicOverload committed Feb 10, 2023
1 parent bb77f2d commit 167ab6a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions code/datums/traits/good.dm
Original file line number Diff line number Diff line change
Expand Up @@ -369,10 +369,15 @@
name = "Multilingual"
desc = "You spent a portion of your life learning to understand an additional language. You may or may not be able to speak it based on your anatomy."
icon = "book"
value = 3
value = 2
var/datum/language/specific
gain_text = span_notice("You have learned to understand an additional language.")
lose_text = span_notice("You have forgotten how to understand a language.")
var/list/blacklisted_languages = list(
/datum/language/codespeak,
/datum/language/narsie,
/datum/language/ratvar,
/datum/language/encrypted) // guh

/datum/quirk/multilingual/add()
var/mob/living/carbon/human/H = quirk_holder
Expand All @@ -381,7 +386,7 @@
else
var/obj/item/organ/tongue/T = H.getorganslot(ORGAN_SLOT_TONGUE)
var/list/languages_possible = T.languages_possible
languages_possible = languages_possible - typecacheof(/datum/language/codespeak) - typecacheof(/datum/language/narsie) - typecacheof(/datum/language/ratvar)
languages_possible = languages_possible - blacklisted_languages
languages_possible = languages_possible - H.language_holder.understood_languages
languages_possible = languages_possible - H.language_holder.blocked_languages
if(length(languages_possible))
Expand Down

0 comments on commit 167ab6a

Please sign in to comment.