From 166ce530941be1d07638bd413fda2a2f18742f7b Mon Sep 17 00:00:00 2001 From: MortoSasye Date: Fri, 11 Oct 2024 23:09:51 -0300 Subject: [PATCH 1/2] draft-commit --- code/_globalvars/lists/names.dm | 5 ++ .../primitive_genemod/code/language.dm | 24 ++++++ .../primitive_genemod/primitive_genemod.dm | 4 +- strings/names/hearthkin_female.txt | 50 ++++++++++++ strings/names/hearthkin_male.txt | 50 ++++++++++++ strings/names/hearthkin_neutral.txt | 50 ++++++++++++ strings/names/hearthkin_surname.txt | 80 +++++++++++++++++++ strings/names/hearthkin_title.txt | 50 ++++++++++++ 8 files changed, 311 insertions(+), 2 deletions(-) create mode 100644 strings/names/hearthkin_female.txt create mode 100644 strings/names/hearthkin_male.txt create mode 100644 strings/names/hearthkin_neutral.txt create mode 100644 strings/names/hearthkin_surname.txt create mode 100644 strings/names/hearthkin_title.txt diff --git a/code/_globalvars/lists/names.dm b/code/_globalvars/lists/names.dm index 201c58843dc61..dc8383eb26366 100644 --- a/code/_globalvars/lists/names.dm +++ b/code/_globalvars/lists/names.dm @@ -33,6 +33,11 @@ GLOBAL_LIST_INIT(guardian_fantasy_surnames, world.file2list("strings/names/guard GLOBAL_LIST_INIT(operative_aliases, world.file2list("strings/names/operative_alias.txt")) GLOBAL_LIST_INIT(voidwalker_names, world.file2list("strings/names/voidwalker.txt")) GLOBAL_LIST_INIT(ramatan_last, world.file2list("strings/names/ramatan_last.txt")) //DOPPLER EDIT ADDITION +GLOBAL_LIST_INIT(hearthkin_names_female, world.file2list("strings/names/hearthkin_female.txt")) //DOPPLER EDIT ADDITION +GLOBAL_LIST_INIT(hearthkin_names_male, world.file2list("strings/names/hearthkin_male.txt")) //DOPPLER EDIT ADDITION +GLOBAL_LIST_INIT(hearthkin_names_neutral, world.file2list("strings/names/hearthkin_neutral.txt")) //DOPPLER EDIT ADDITION +GLOBAL_LIST_INIT(hearthkin_names_surname, world.file2list("strings/names/hearthkin_surname.txt")) //DOPPLER EDIT ADDITION +GLOBAL_LIST_INIT(hearthkin_names_title, world.file2list("strings/names/hearthkin_title.txt")) //DOPPLER EDIT ADDITION GLOBAL_LIST_INIT(verbs, world.file2list("strings/names/verbs.txt")) GLOBAL_LIST_INIT(ing_verbs, world.file2list("strings/names/ing_verbs.txt")) diff --git a/modular_doppler/hearthkin/primitive_genemod/code/language.dm b/modular_doppler/hearthkin/primitive_genemod/code/language.dm index 43a79ef522344..49e7e170a09dc 100644 --- a/modular_doppler/hearthkin/primitive_genemod/code/language.dm +++ b/modular_doppler/hearthkin/primitive_genemod/code/language.dm @@ -16,3 +16,27 @@ icon = 'modular_doppler/hearthkin/primitive_genemod/icons/language_icon.dmi' default_priority = 94 secret = TRUE + +/datum/language/primitive_genemod/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 == FEMALE) + return "[pick(GLOB.hearthkin_names_female)][random_name_spacer][pick_lastname()]" + if(gender == MALE) + return "[pick(GLOB.hearthkin_names_male)][random_name_spacer][pick_lastname()]" + if(gender == NEUTER || gender == PLURAL) + return "[pick(GLOB.hearthkin_names_neutral)][random_name_spacer][pick_lastname()]" + +/proc/pick_lastname() + var/surname = pick(TRUE,FALSE) + if(surname) + return pick(GLOB.hearthkin_names_surname) + else + return pick(GLOB.hearthkin_names_title) diff --git a/modular_doppler/modular_species/species_types/primitive_genemod/primitive_genemod.dm b/modular_doppler/modular_species/species_types/primitive_genemod/primitive_genemod.dm index 1013beb1fa1a9..f2a910aeb913f 100644 --- a/modular_doppler/modular_species/species_types/primitive_genemod/primitive_genemod.dm +++ b/modular_doppler/modular_species/species_types/primitive_genemod/primitive_genemod.dm @@ -3,12 +3,12 @@ /datum/language_holder/primitive_genemod understood_languages = list( - /datum/language/primitive_genemod = list(LANGUAGE_ATOM), /datum/language/uncommon = list(LANGUAGE_ATOM), + /datum/language/primitive_genemod = list(LANGUAGE_ATOM), ) spoken_languages = list( - /datum/language/primitive_genemod = list(LANGUAGE_ATOM), /datum/language/uncommon = list(LANGUAGE_ATOM), + /datum/language/primitive_genemod = list(LANGUAGE_ATOM), ) selected_language = /datum/language/primitive_genemod diff --git a/strings/names/hearthkin_female.txt b/strings/names/hearthkin_female.txt new file mode 100644 index 0000000000000..c1fb7c1dfad5e --- /dev/null +++ b/strings/names/hearthkin_female.txt @@ -0,0 +1,50 @@ +Alma +Ása +Ásdís +Auður +Bergdís +Björg +Bryndís +Dagbjört +Dagný +Edda +Elísabet +Elva +Embla +Erla +Eygló +Fanney +Freyja +Gríma +Guðbjörg +Guðrún +Hanna +Harpa +Heiðdís +Heiðrún +Helga +Hildur +Hólmfríður +Ingibjörg +Íris +Jóhanna +Jóna +Kamilla +Karítas +Katrín +Kristín +Laufey +Lilja +Margrét +Mjöll +Ragnheiður +Rán +Sigríður +Sigurbjörg +Sigurlaug +Snædís +Sóley +Steinunn +Tinna +Unnur +Vigdís \ No newline at end of file diff --git a/strings/names/hearthkin_male.txt b/strings/names/hearthkin_male.txt new file mode 100644 index 0000000000000..0400f62735982 --- /dev/null +++ b/strings/names/hearthkin_male.txt @@ -0,0 +1,50 @@ +Arnar +Árni +Baldur +Bjarni +Björn +Brynjar +Dagur +Daníel +Einar +Elmar +Emil +Eyjólfur +Finnur +Freyr +Geir +Gísli +Guðjón +Guðmundur +Gunnar +Halldór +Haukur +Heiðar +Helgi +Hjörleifur +Hrafn +Ingimar +Ingólfur +Ísak +Jón +Jóhann +Jóhannes +Kári +Karl +Kristján +Leifur +Magnús +Ólafur +Orri +Pétur +Ragnar +Reynir +Ríkharður +Sigmundur +Sigurður +Snorri +Stefán +Sturla +Sveinn +Þór +Þorsteinn \ No newline at end of file diff --git a/strings/names/hearthkin_neutral.txt b/strings/names/hearthkin_neutral.txt new file mode 100644 index 0000000000000..d2ac0be59c3f4 --- /dev/null +++ b/strings/names/hearthkin_neutral.txt @@ -0,0 +1,50 @@ +Addi +Áki +Álfur +Andri +Ari +Atli +Ás +Ásrún +Birki +Bjarki +Bylgja +Daði +Daní +Dímon +Eiður +Elva +Embla +Eydís +Funi +Gauti +Gnýr +Hrafn +Ímir +Ingi +Ísleif +Jökull +Kári +Kolur +Laugi +Leif +Lind +Logi +Lóa +Magn +Máni +Mímir +Nói +Orri +Reynir +Ró +Saga +Sindri +Snæ +Styrmir +Svanur +Sól +Úlfrún +Vaka +Víðir +Ymir \ No newline at end of file diff --git a/strings/names/hearthkin_surname.txt b/strings/names/hearthkin_surname.txt new file mode 100644 index 0000000000000..f7262bbe8add7 --- /dev/null +++ b/strings/names/hearthkin_surname.txt @@ -0,0 +1,80 @@ +Árnason +Árnadóttir +Baldvinsson +Baldvinsdóttir +Benediktsson +Benediktsdóttir +Bjarnason +Bjarnadóttir +Björnsson +Björnsdóttir +Brynjarsson +Brynjarsdóttir +Daníelsson +Daníelsdóttir +Einarsson +Einarsdóttir +Elíasson +Elíasdóttir +Emilsson +Emilsdóttir +Friðriksson +Friðriksdóttir +Gíslason +Gísladóttir +Guðjónsson +Guðjónsdóttir +Guðmundsson +Guðmundsdóttir +Gunnarsson +Gunnarsdóttir +Halldórsson +Halldórsdóttir +Haukursson +Hauksdóttir +Heiðarsson +Heiðarsdóttir +Helgason +Helgadóttir +Hrafnsson +Hrafnsdóttir +Ingvarsson +Ingvarsdóttir +Jóhannsson +Jóhannsdóttir +Jónsson +Jónsdóttir +Jósefsson +Jósefsdóttir +Karlsson +Karlsdóttir +Kristjánsson +Kristjánsdóttir +Leifsson +Leifsdóttir +Magnússon +Magnúsdóttir +Ólafsson +Ólafsdóttir +Ormarsson +Ormarsdóttir +Pálsson +Pálsdóttir +Ragnarsdóttir +Ragnarsson +Reynirsson +Reynisdóttir +Sigurðsson +Sigurðsdóttir +Snorrason +Snorradóttir +Stefánsson +Stefánsdóttir +Sveinsson +Sveinsdóttir +Þórarinsson +Þórarinsdóttir +Þórðsson +Þórðsdóttir +Þorsteinsson +Þorsteinsdóttir \ No newline at end of file diff --git a/strings/names/hearthkin_title.txt b/strings/names/hearthkin_title.txt new file mode 100644 index 0000000000000..940652df5bd95 --- /dev/null +++ b/strings/names/hearthkin_title.txt @@ -0,0 +1,50 @@ +Arrow-Slinger +Battle-Hardened +Beast-Tamer +Blade-Dancer +Blood-Seeker +Boulder-Lifter +Breeze-Rider +Cave-Dweller +Cloud-Watcher +Dawn-Chaser +Deep-Diver +Drake-Slayer +Dream-Weaver +Ember-Keeper +Falcon-Eyed +Flame-Bearer +Forest-Whisperer +Frost-Walker +Gale-Bringer +Gold-Finder +Hammer-Holder +Hawk-Follower +Heart-Guard +Ice-Mender +Iron-Willed +Jewel-Searcher +Key-Master +Lake-Protector +Light-Bringer +Lion-Hearted +Moon-Singer +Mountain-Shaker +Night-Caller +Ocean-Ruler +Peace-Keeper +Quick-Striker +River-Crosser +Rock-Smasher +Shadow-Lurker +Sky-Guardian +Song-Wielder +Star-Seeker +Storm-Breaker +Thunder-Clasher +Tree-Climber +Truth-Speaker +Wave-Rider +Wind-Runner +Wolf-Friend +World-Builder \ No newline at end of file From 6b4971bd4d6ebdd953900767b1af1f95a727a339 Mon Sep 17 00:00:00 2001 From: MortoSasye Date: Sun, 13 Oct 2024 02:00:41 -0300 Subject: [PATCH 2/2] I FUCKING HATE BYOND!! --- .../species_types/primitive_genemod/primitive_genemod.dm | 2 -- 1 file changed, 2 deletions(-) diff --git a/modular_doppler/modular_species/species_types/primitive_genemod/primitive_genemod.dm b/modular_doppler/modular_species/species_types/primitive_genemod/primitive_genemod.dm index f2a910aeb913f..9f4f732dcc978 100644 --- a/modular_doppler/modular_species/species_types/primitive_genemod/primitive_genemod.dm +++ b/modular_doppler/modular_species/species_types/primitive_genemod/primitive_genemod.dm @@ -3,11 +3,9 @@ /datum/language_holder/primitive_genemod understood_languages = list( - /datum/language/uncommon = list(LANGUAGE_ATOM), /datum/language/primitive_genemod = list(LANGUAGE_ATOM), ) spoken_languages = list( - /datum/language/uncommon = list(LANGUAGE_ATOM), /datum/language/primitive_genemod = list(LANGUAGE_ATOM), ) selected_language = /datum/language/primitive_genemod