mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-19 13:35:10 +00:00
## 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.  ## 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. /🆑
14 lines
469 B
Plaintext
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
|