From the NannyMUD documentation
2000-12-15
NAME
query_gender - Return numerical value for sex of living objectLOCATION
/obj/living_functions.cSYNTAX
int query_gender();DESCRIPTION
This function returns a numerical representation of the living object's gender. 0 for neuter, 1 for male, and 2 for female.SEE ALSO
query_gender_string in build/genders query_gender_string in lfun/living/query_gender_stringSEE ALSO
query_pronoun in build/genders query_pronoun in lfun/living/query_pronounSEE ALSO
query_possessive in build/genders query_possessive in lfun/living/query_possessiveSEE ALSO
query_objective in build/genders query_objective in lfun/living/query_objective