Inform - Support - Source

Back to List

Inventory
Complete

Backward
Forward

Plain
Coloured
Gaudy

This code
in plain text

Browsing parserm.h

UserFilter (lines 2913-2925)

2913  !  The UserFilter routine consults the user's filter (or checks on attribute)
2914  !  to see what already-accepted nouns are acceptable
2915  ! ----------------------------------------------------------------------------
2916   
2917  [ UserFilter obj;
2918   
2919    if (token_filter > 0 && token_filter < 49)
2920    {   if (obj has (token_filter-1)) rtrue;
2921        rfalse;
2922    }
2923    noun = obj;
2924    return indirect(token_filter);
2925  ];


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.