From a87250049034d77b38afeb5f094bc1e8788dee80 Mon Sep 17 00:00:00 2001 From: Runa Dacino Date: Fri, 1 Dec 2017 01:17:21 +0100 Subject: [PATCH] Adds ability to change gender identity mid-round (#1) * Adds the ability to toggle gender identity in game Adds the ability to toggle gender identity freely while playing the character. * Fixes compiler error, gets it to work * Adds changelog. --- code/modules/mob/living/carbon/human/emote_vr.dm | 10 ++++++++++ html/changelogs/RunaDacin-GenderIdentityToggle.yml | 5 +++++ 2 files changed, 15 insertions(+) create mode 100644 html/changelogs/RunaDacin-GenderIdentityToggle.yml diff --git a/code/modules/mob/living/carbon/human/emote_vr.dm b/code/modules/mob/living/carbon/human/emote_vr.dm index dba378a3385..2d82f4ddb01 100644 --- a/code/modules/mob/living/carbon/human/emote_vr.dm +++ b/code/modules/mob/living/carbon/human/emote_vr.dm @@ -122,3 +122,13 @@ update_wing_showing() return 1 + +/mob/living/carbon/human/verb/toggle_gender_identity_vr() + set name = "Set Gender Identity" + set desc = "Sets the pronouns when examined and performing an emote." + set category = "IC" + var/new_gender_identity = input("Please select a gender Identity.") as null|anything in list(FEMALE, MALE, NEUTER, PLURAL) + if(!new_gender_identity) + return 0 + change_gender_identity(new_gender_identity) + return 1 diff --git a/html/changelogs/RunaDacin-GenderIdentityToggle.yml b/html/changelogs/RunaDacin-GenderIdentityToggle.yml new file mode 100644 index 00000000000..85c637776e3 --- /dev/null +++ b/html/changelogs/RunaDacin-GenderIdentityToggle.yml @@ -0,0 +1,5 @@ +author: Runa-Dacino +delete-after: True +changes: + - rscadd: "Adds the ability to change gender identity on the fly. It can be found under "IC" tab." +