From 0a13aeaa7f3b971aff5270e5715ecddf954d233d Mon Sep 17 00:00:00 2001 From: pumpkinthefoxxd <149212571+pumpkinthefoxxd@users.noreply.github.com> Date: Sun, 31 Dec 2023 11:20:43 +0000 Subject: [PATCH] create Korean & German (#492) --- baystation12.dme | 2 ++ code/__defines/languages.dm | 2 ++ code/modules/mob/language/human/german.dm | 31 +++++++++++++++++++++++ code/modules/mob/language/human/korean.dm | 21 +++++++++++++++ 4 files changed, 56 insertions(+) create mode 100644 code/modules/mob/language/human/german.dm create mode 100644 code/modules/mob/language/human/korean.dm diff --git a/baystation12.dme b/baystation12.dme index 54d9cbac431..ba9ea7f8220 100644 --- a/baystation12.dme +++ b/baystation12.dme @@ -2159,12 +2159,14 @@ #include "code\modules\mob\language\human\arabic.dm" #include "code\modules\mob\language\human\chinese.dm" #include "code\modules\mob\language\human\english.dm" +#include "code\modules\mob\language\human\german.dm" #include "code\modules\mob\language\human\human.dm" #include "code\modules\mob\language\human\iberian.dm" #include "code\modules\mob\language\human\indian.dm" #include "code\modules\mob\language\human\latin.dm" #include "code\modules\mob\language\human\russian.dm" #include "code\modules\mob\language\human\selenian.dm" +#include "code\modules\mob\language\human\korean.dm" #include "code\modules\mob\language\human\misc\common.dm" #include "code\modules\mob\language\human\misc\gutter.dm" #include "code\modules\mob\language\human\misc\spacer.dm" diff --git a/code/__defines/languages.dm b/code/__defines/languages.dm index 3cd7c8ae506..54b62417d1a 100644 --- a/code/__defines/languages.dm +++ b/code/__defines/languages.dm @@ -6,6 +6,8 @@ #define LANGUAGE_HUMAN_IBERIAN "Iberian" #define LANGUAGE_HUMAN_RUSSIAN "Russian" #define LANGUAGE_HUMAN_SELENIAN "Selenian" +#define LANGUAGE_HUMAN_KOREAN "Korean" +#define LANGUAGE_HUMAN_GERMAN "German" #define LANGUAGE_HUMAN_LATIN "Latin" // Misc diff --git a/code/modules/mob/language/human/german.dm b/code/modules/mob/language/human/german.dm new file mode 100644 index 00000000000..104819d590b --- /dev/null +++ b/code/modules/mob/language/human/german.dm @@ -0,0 +1,31 @@ +/*////////////////////////////////////////////////////////////////////////////////////////////////////// + Syllable list compiled in this file based on work available at the following URL + https://www.sttmedia.com/syllablefrequency-german +*/////////////////////////////////////////////////////////////////////////////////////////////////////// + +/datum/language/human/german + name = LANGUAGE_HUMAN_GERMAN + desc = "A language used on Earth." + colour = "german" + key = "10" + shorthand = "Ger" + space_chance = 30 + partial_understanding = list( + LANGUAGE_COMMON = 10, + LANGUAGE_HUMAN_ARABIC = 5, + LANGUAGE_HUMAN_INDIAN = 10, + LANGUAGE_HUMAN_SELENIAN = 15, + LANGUAGE_HUMAN_ENGLISH = 35, + LANGUAGE_HUMAN_KOREAN = 5, + LANGUAGE_SPACER = 20, + ) + syllables = list( + "an", "au", "be", "ch", "da", "de", "di", "ei", "el", "en", "er", "es", "ge", +"he", "ht", "ic", "ie", "in", "it", "le", "li", "nd", "ne", "ng", "re", "sc", "se", +"si", "st", "te", "un", "abe", "ach", "and", "auf", "auf", "ben", "ber", "che", "cht", +"das", "den", "der", "die", "ein", "eit", "end", "ere", "ers", "ese", "gen", "hen", +"ich", "ige", "ine", "ist", "lic", "lle", "men", "mit", "nde", "nen", "nge", "nic", +"nte", "ren", "sch", "sei", "sen", "sic", "sie", "ste", "ten", "ter", "und", "ung", +"ver", + ) + has_written_form = TRUE diff --git a/code/modules/mob/language/human/korean.dm b/code/modules/mob/language/human/korean.dm new file mode 100644 index 00000000000..139079baa0c --- /dev/null +++ b/code/modules/mob/language/human/korean.dm @@ -0,0 +1,21 @@ +/datum/language/human/korean + name = LANGUAGE_HUMAN_KOREAN + desc = "An ancient language used on Sol, specifically Earth, in one of the countries." + colour = "korean" + key = "9" + shorthand = "Kor" + space_chance = 100 + partial_understanding = list( + LANGUAGE_HUMAN_ENGLISH = 5, + LANGUAGE_HUMAN_CHINESE = 25, + LANGUAGE_HUMAN_ARABIC = 5, + LANGUAGE_HUMAN_INDIAN = 10, + LANGUAGE_HUMAN_IBERIAN = 5, + LANGUAGE_HUMAN_RUSSIAN = 10, + LANGUAGE_SPACER = 25 + ) + syllables = list( + "a", "ya", "eo", "yeo", "o", "yo", "u", "yu", "eu", "i", "giyeok", "nieum", "diguet", "rieul", "mieum", "bieup", + "siot", "jeung", "hai", "cheiut", "kieuk", "tieut", "pieup", "heiut", "wi", "wo", "we", "wae", "ju", "ae", "ya", "wa", + ) + has_written_form = TRUE