From the NannyMUD documentation

LAST CHANGE

 2000-12-11 

NAME

          genders - Possible genders in NannyMUD

FUNCTIONS

SETUP FUNCTIONS

 
   set_gender
 

QUERY FUNCTIONS

        query_gender
        query_gender_string
        query_pronoun
        query_possessive
        query_objective
 

DESCRIPTION

  	Living objects that inherit /obj/living can 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 /include/living.h as
	+  NEUTER_GENDER (0)
	+  MALE_GENDER   (1)
	+  FEMALE_GENDER (2) .

	This functionality is defined in /obj/living_functions.c:

	Monsters are neuter by default.
  

FUNCTION


NAME

 
          set_gender - Sets the gender

SYNTAX

  set_gender(g)
 

DESCRIPTION

      Sets the gender variable to g (after checking).
  

FUNCTION


NAME

 
          query_gender - returns the gender

SYNTAX

  query_gender()
 

DESCRIPTION

      Returns the value of the gender variable
  

RETURN VALUES

       0=neuter, 1=male and 2=female

FUNCTION


NAME

 
          query_gender_string - Returns "neuter", "male" or "female"

SYNTAX

  query_gender_string()
 

DESCRIPTION

     Returns "neuter", "male" or "female"
  

RETURN VALUES

   Returns the string "neuter", "male" or "female".

FUNCTION


NAME

 
          query_pronoun - Returns "it", "he" or "she"

SYNTAX

  query_pronoun()
 

DESCRIPTION

     Returns "it", "he" or "she".
  

RETURN VALUES

  "it", "he" or "she" 

FUNCTION


NAME

 
          query_possessive - Returns "its", "his" or "her"

SYNTAX

  query_possessive()
 

DESCRIPTION

     Returns "its", "his" or "her"
  

RETURN VALUES

     "its", "his" or "her"  

FUNCTION


NAME

 
          query_objective - Returns "it", "him" or "her"

SYNTAX

  query_objective()
 

DESCRIPTION

     Returns "it", "him" or "her"
  

RETURN VALUES

   "it", "him" or "her"