Inform - Support - Source

Back to List

Inventory
Complete

Backward
Forward

Plain
Coloured
Gaudy

This code
in plain text

Browsing verblibm.h

UnlockSub (lines 1672-1684)

1672  !   Verbs which change the state of objects without moving them
1673  ! ----------------------------------------------------------------------------
1674   
1675  [ UnlockSub;
1676    if (ObjectIsUntouchable(noun)) return;
1677    if (noun hasnt lockable) return L__M(##Unlock,1,noun);
1678    if (noun hasnt locked)   return L__M(##Unlock,2,noun);
1679    if (noun.with_key~=second) return L__M(##Unlock,3,second);
1680    give noun ~locked;
1681    if (AfterRoutines()==1) rtrue;
1682    if (keep_silent==1) rtrue;
1683    L__M(##Unlock,4,noun);
1684  ];


Last updated 27 February 2004. This web site has not been fully supported since April 2008. Information may be out of date. This page was originally managed by Graham Nelson (graham@gnelson.demon.co.uk) assisted by C Knight.