Inform - Support - Source

Back to List

Inventory
Complete

Backward
Forward

Plain
Coloured
Gaudy

This code
in plain text

Browsing verblibm.h

LockSub (lines 1686-1696)

1686  [ LockSub;
1687    if (ObjectIsUntouchable(noun)) return;
1688    if (noun hasnt lockable) return L__M(##Lock,1,noun);
1689    if (noun has locked)     return L__M(##Lock,2,noun);
1690    if (noun has open)       return L__M(##Lock,3,noun);
1691    if (noun.with_key~=second) return L__M(##Lock,4,second);
1692    give noun locked;
1693    if (AfterRoutines()==1) rtrue;
1694    if (keep_silent==1) rtrue;
1695    L__M(##Lock,5,noun);
1696  ];


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.