Files
Bubberstation/code/datums/quirks/neutral_quirks/foreigner.dm
SkyratBot c83ac65e63 [MIRROR] Breaks up the three quirk code files into individual quirks [MDB IGNORE] (#23781)
* Breaks up the three quirk code files into individual quirks

* Removals + skyrat edits

* Delete positive_quirks.dm

* Update tgstation.dme

---------

Co-authored-by: Thunder12345 <Thunder12345@users.noreply.github.com>
Co-authored-by: Pinta <68373373+softcerv@users.noreply.github.com>
Co-authored-by: Giz <13398309+vinylspiders@users.noreply.github.com>
2023-09-18 17:19:28 -04:00

22 lines
987 B
Plaintext

/datum/quirk/foreigner
name = "Foreigner"
desc = "You're not from around here. You don't know Galactic Common!"
icon = FA_ICON_LANGUAGE
value = 0
gain_text = span_notice("The words being spoken around you don't make any sense.")
lose_text = span_notice("You've developed fluency in Galactic Common.")
medical_record_text = "Patient does not speak Galactic Common and may require an interpreter."
mail_goodies = list(/obj/item/taperecorder) // for translation
/datum/quirk/foreigner/add(client/client_source)
var/mob/living/carbon/human/human_holder = quirk_holder
human_holder.add_blocked_language(/datum/language/common)
if(ishumanbasic(human_holder))
human_holder.grant_language(/datum/language/uncommon, source = LANGUAGE_QUIRK)
/datum/quirk/foreigner/remove()
var/mob/living/carbon/human/human_holder = quirk_holder
human_holder.remove_blocked_language(/datum/language/common)
if(ishumanbasic(human_holder))
human_holder.remove_language(/datum/language/uncommon)