INFO genders - possible genders in NannyMUD DESCRIPTION Living objects that inherit /obj/living can now have a gender: they can be male, female or neuter. There is a variable, gender, which can have the values 0, 1 or 2, #defined in /obj/living.h as NEUTER_GENDER (0) MALE_GENDER (1) FEMALE_GENDER (2) . These functions have been defined in /obj/living_functions.c: query_gender() -- returns the value of the gender variable set_gender(g) -- sets the gender variable to g (after checking) query_gender_string() -- returns "neuter", "male" or "female" query_pronoun() -- returns "it", "he" or "she" query_possessive() -- returns "its", "his" or "her" query_objective() -- returns "it", "him" or "her" The function show_stats(), used by the wizard command stat, has been modified so it also displays the gender of the monster or player. /obj/player.c has been modified to ask for a gender when a player logs in for the first time, and to print "He is in good shape." etc. I also changed the soul to print "Sabrina twiddles her thumbs." etc. Monsters are neuter by default. Old players will be asked at their next login.
Help topics available:
COPYRIGHT | README | banish | castle | door |
ed | feelings | genders | general | hook |
key | mapsystem | prices | properties | rooms |
style/ | termcap | tourist_info | water_room_old |
You are guest number 140 since November 2019.
This file was last modified: June 2000.