Files
Bubberstation/code/modules/client/preferences/gender.dm
Vekter 823b9a53a5 Adds support for it/its pronouns (#76799)
## About The Pull Request
Code ported from https://github.com/lizardqueenlexi/orbstation/pull/461.

What this specifically does is adds the option for it/its pronouns to
character creation like how we added they/them a year or two ago. This
also allows human NPCs to generate with it/its pronouns and adds support
for it to Genetics.

This was requested by a member of the community and I saw no reason to
deny their request.

I've also changed the gender selector in character creation to basically
a pronoun selector - he/him instead of male, etc. Instead of using the
doll FontAwesome icons I switched it over to using gender symbols
because I couldn't find a better icon for neuter.


![image](https://github.com/tgstation/tgstation/assets/7019927/f38af373-db20-44b3-a97a-f86d3c1d8533)

## Why It's Good For The Game
Inclusivity good, also this took me like ten minutes so why not

## Changelog
🆑 Vekter
add: Adds support for it/its pronouns. You can select these in character
preferences.
/🆑
2023-07-13 22:12:11 +01:00

14 lines
469 B
Plaintext

/// Gender preference
/datum/preference/choiced/gender
savefile_identifier = PREFERENCE_CHARACTER
savefile_key = "gender"
priority = PREFERENCE_PRIORITY_GENDER
/datum/preference/choiced/gender/init_possible_values()
return list(MALE, FEMALE, PLURAL, NEUTER)
/datum/preference/choiced/gender/apply_to_human(mob/living/carbon/human/target, value)
if(!target.dna.species.sexes)
value = PLURAL //disregard gender preferences on this species
target.gender = value