Sagaru language (#17)

* stupid super custom species
* makes people actually able to speak it + solves minor problems
This commit is contained in:
Enric Gabriel
2020-07-02 00:43:04 -03:00
committed by GitHub
parent 67777c41e8
commit 1f4bd7e6a4
7 changed files with 41 additions and 1 deletions
+2
View File
@@ -0,0 +1,2 @@
//i want fancy merp language
#define LANGUAGE_SERGAL "Sagaru"
+2 -1
View File
@@ -1,2 +1,3 @@
//mob traits
#define TRAIT_SHELTERED "sheltered" // thanks yog, i want it
#define TRAIT_SHELTERED "sheltered" // thanks yog, i want it
#define TRAIT_KNOWSSAGARU "knows sagaru"
+18
View File
@@ -11,3 +11,21 @@
var/datum/brain_trauma/severe/hypnotic_stupor/T = new()
var/mob/living/carbon/human/H = quirk_holder
H.gain_trauma(T, TRAUMA_RESILIENCE_ABSOLUTE)
/datum/quirk/knows_sagaru
name = "Sagaru"
desc = "From heavy study or just being born in Tal, you know the language Sagaru"
value = 0
human_only = TRUE
gain_text = "<span class='danger'>You remember that you know Sagaru.</span>"
lose_text = "<span class='danger'>You simply forgot how to speak Sagaru.</span>"
medical_record_text = null
mob_trait = TRAIT_KNOWSSAGARU
/datum/quirk/knows_sagaru/add()
var/mob/living/carbon/human/H = quirk_holder
H.grant_language(/datum/language/sandcode/sergal)
/datum/quirk/knows_sagaru/remove() //theorically you're not even able to lose it, but what if you do?
var/mob/living/carbon/human/H = quirk_holder
H.remove_language(/datum/language/sandcode/sergal)
@@ -0,0 +1,16 @@
// And so, people started making weird sounds that only similar ones could understand and do them too.
/datum/language/sandcode
icon = 'sandcode/icons/misc/language.dmi'
/datum/language/sandcode/sergal
name = LANGUAGE_SERGAL
desc = "The dominant language of the Sergal homeworld, Tal. It consists of aggressive low-pitched hissing and throaty growling."
speech_verb = "snarls"
ask_verb = "snarls"
exclaim_verb = "barks"
key = "z"
space_chance = 40
syllables = list("grr", "gah", "woof", "arf", "arra", "rah", "wor", "sarg")
icon_state = "cheese"
flags = TONGUELESS_SPEECH