Inform - Support - Source

Back to List

Inventory
Complete

Backward
Forward

Plain
Coloured
Gaudy

This code
in plain text

Browsing verblibm.h

OpenSub (lines 1718-1730)

1718  [ OpenSub;
1719    if (ObjectIsUntouchable(noun)) return;
1720    if (noun hasnt openable) return L__M(##Open,1,noun);
1721    if (noun has locked)     return L__M(##Open,2,noun);
1722    if (noun has open)       return L__M(##Open,3,noun);
1723    give noun open;
1724    if (AfterRoutines()==1) rtrue;
1725    if (keep_silent==1) rtrue;
1726    if (noun has container && noun hasnt transparent && child(noun)~=0
1727        && IndirectlyContains(noun,player)==0)
1728        return L__M(##Open,4,noun);
1729    L__M(##Open,5,noun);
1730  ];


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.