Inform - Support - Source

Back to List

Inventory
Complete

Backward
Forward

Plain
Coloured
Gaudy

This code
in plain text

Browsing verblibm.h

SearchSub (lines 1653-1669)

1653  [ SearchSub i f;
1654    if (location==thedark) return L__M(##Search,1,noun);
1655    if (ObjectIsUntouchable(noun)) return;
1656    objectloop (i in noun) if (i hasnt concealed && i hasnt scenery) f=1;
1657    if (noun has supporter)
1658    {   if (f==0) return L__M(##Search,2,noun);
1659        return L__M(##Search,3,noun);
1660    }
1661    if (noun hasnt container) return L__M(##Search,4,noun);
1662    if (noun hasnt transparent && noun hasnt open)
1663        return L__M(##Search,5,noun);
1664    if (AfterRoutines()==1) rtrue;
1665   
1666    i=children(noun);
1667    if (f==0) return L__M(##Search,6,noun);
1668    L__M(##Search,7,noun);
1669  ];


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.