From edc0a3dc28d49ca311366356e0eed8da6bda063d Mon Sep 17 00:00:00 2001 From: Alberyk Date: Tue, 10 Oct 2023 09:51:25 -0300 Subject: [PATCH] Tajara can now select pronouns (#17538) * Adds pronouns * Fix --- code/datums/records.dm | 2 +- code/modules/mob/living/carbon/human/species/species.dm | 3 +++ .../living/carbon/human/species/station/tajara/tajara.dm | 5 ++++- html/changelogs/alberyk-pronountweak.yml | 6 ++++++ 4 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 html/changelogs/alberyk-pronountweak.yml diff --git a/code/datums/records.dm b/code/datums/records.dm index 5593c88c01d..541bb5aa4ce 100644 --- a/code/datums/records.dm +++ b/code/datums/records.dm @@ -147,7 +147,7 @@ rank = GetAssignment(H, TRUE) age = H.age fingerprint = md5(H.dna.uni_identity) - sex = H.gender + sex = H.species.get_species_record_sex(H) species = H.get_species(FALSE, TRUE) citizenship = H.citizenship employer = H.employer_faction diff --git a/code/modules/mob/living/carbon/human/species/species.dm b/code/modules/mob/living/carbon/human/species/species.dm index a4399b80395..50fb063e012 100644 --- a/code/modules/mob/living/carbon/human/species/species.dm +++ b/code/modules/mob/living/carbon/human/species/species.dm @@ -869,3 +869,6 @@ /datum/species/proc/can_use_guns() return TRUE + +/datum/species/proc/get_species_record_sex(var/mob/living/carbon/human/H) + return H.gender \ No newline at end of file diff --git a/code/modules/mob/living/carbon/human/species/station/tajara/tajara.dm b/code/modules/mob/living/carbon/human/species/station/tajara/tajara.dm index 3f9bc06ef9a..8b6c8eb4039 100644 --- a/code/modules/mob/living/carbon/human/species/station/tajara/tajara.dm +++ b/code/modules/mob/living/carbon/human/species/station/tajara/tajara.dm @@ -44,7 +44,7 @@ ethanol_resistance = 0.8//Gets drunk a little faster rarity_value = 2 economic_modifier = 7 - selectable_pronouns = null + selectable_pronouns = list(MALE, FEMALE) stamina = 90 // Tajara evolved to maintain a steady pace in the snow, sprinting wastes energy stamina_recovery = 4 @@ -136,3 +136,6 @@ return var/obj/item/clothing/shoes/sandals/S = new /obj/item/clothing/shoes/sandals(H) H.equip_to_slot_or_del(S,slot_shoes) + +/datum/species/get_species_record_sex(var/mob/living/carbon/human/H) + return H.pronouns \ No newline at end of file diff --git a/html/changelogs/alberyk-pronountweak.yml b/html/changelogs/alberyk-pronountweak.yml new file mode 100644 index 00000000000..1e21b406cbd --- /dev/null +++ b/html/changelogs/alberyk-pronountweak.yml @@ -0,0 +1,6 @@ +author: Alberyk + +delete-after: True + +changes: + - rscadd: "Tajara have access to pronouns now."