mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-25 16:45:42 +00:00
## About The Pull Request This PR returns Ashtongue as it was before for ashwalkers, and gives Draconic 30% mutual understanding with Ashtongue. The inverse is not true. ## Why It's Good For The Game Ashtongue adds a lot to Ashwalker RP by introducing a language barrier that can be overcome in various ways. ## Proof Of Testing Compiles ## Changelog 🆑 ReturnToZender add: Ashtongue returns, with Draconic able to understand 30% of it. The inverse is not true add: Ashwalkers can now select Xenocommon, Sylvan, or Draconic as extra languages /🆑
46 lines
1.6 KiB
Plaintext
46 lines
1.6 KiB
Plaintext
/datum/language/draconic
|
|
name = "Draconic"
|
|
desc = "The common language of lizard-people, composed of sibilant hisses and rattles."
|
|
key = "o"
|
|
flags = TONGUELESS_SPEECH
|
|
space_chance = 12
|
|
sentence_chance = 0
|
|
between_word_sentence_chance = 10
|
|
between_word_space_chance = 75
|
|
additional_syllable_low = 0
|
|
additional_syllable_high = 3
|
|
syllables = list(
|
|
"za", "az", "ze", "ez", "zi", "iz", "zo", "oz", "zu", "uz", "zs", "sz",
|
|
"ha", "ah", "he", "eh", "hi", "ih", "ho", "oh", "hu", "uh", "hs", "sh",
|
|
"la", "al", "le", "el", "li", "il", "lo", "ol", "lu", "ul", "ls", "sl",
|
|
"ka", "ak", "ke", "ek", "ki", "ik", "ko", "ok", "ku", "uk", "ks", "sk",
|
|
"sa", "as", "se", "es", "si", "is", "so", "os", "su", "us", "ss", "ss",
|
|
"ra", "ar", "re", "er", "ri", "ir", "ro", "or", "ru", "ur", "rs", "sr",
|
|
"a", "a", "e", "e", "i", "i", "o", "o", "u", "u", "s", "s"
|
|
)
|
|
special_characters = list("-")
|
|
icon_state = "lizard"
|
|
default_priority = 90
|
|
default_name_syllable_min = 3
|
|
default_name_syllable_max = 5
|
|
random_name_spacer = "-"
|
|
mutual_understanding = list(
|
|
/datum/language/ashtongue = 30,
|
|
)
|
|
|
|
/datum/language/draconic/get_random_name(
|
|
gender = NEUTER,
|
|
name_count = default_name_count,
|
|
syllable_min = default_name_syllable_min,
|
|
syllable_max = default_name_syllable_max,
|
|
force_use_syllables = FALSE,
|
|
)
|
|
if(force_use_syllables)
|
|
return ..()
|
|
if(gender != MALE && gender != FEMALE)
|
|
gender = pick(MALE, FEMALE)
|
|
|
|
if(gender == MALE)
|
|
return "[pick(GLOB.lizard_names_male)][random_name_spacer][pick(GLOB.lizard_names_male)]"
|
|
return "[pick(GLOB.lizard_names_female)][random_name_spacer][pick(GLOB.lizard_names_female)]"
|