Inform - Support - Source

Back to List

Inventory
Complete

Backward
Forward

Plain
Coloured
Gaudy

This code
in plain text

Browsing parserm.h

GetGNAOfObject (lines 3496-3509)

3496  [ GetGNAOfObject obj case gender;
3497     if (obj hasnt animate) case = 6;
3498     if (obj has male) gender = male;
3499     if (obj has female) gender = female;
3500     if (obj has neuter) gender = neuter;
3501     if (gender == 0)
3502     {   if (case == 0) gender = LanguageAnimateGender;
3503         else gender = LanguageInanimateGender;
3504     }
3505     if (gender == female) case = case + 1;
3506     if (gender == neuter) case = case + 2;
3507     if (obj has pluralname) case = case + 3;
3508     return case;
3509  ];


Last updated 27 February 2004. This site is no longer supported; information may be out of date.
Maintained as a historical archive by the Interactive Fiction Technology Foundation. Copyright 1993-2018 IFTF, CC-BY-SA unless otherwise noted.
This page was originally managed by Graham Nelson (graham@gnelson.demon.co.uk) assisted by C Knight.