Inform - Support - Source

Back to List

Inventory
Complete

Backward
Forward

Plain
Coloured
Gaudy

This code
in plain text

Browsing verblibm.h

DropSub (lines 1136-1149)

1136  [ DropSub;
1137    if (noun == player) return L__M(##PutOn, 4);
1138    if (noun in parent(player)) return L__M(##Drop,1,noun);
1139    if (noun notin player) return L__M(##Drop,2,noun);
1140    if (noun has worn)
1141    {   L__M(##Drop,3,noun);
1142        <Disrobe noun>;
1143        if (noun has worn && noun in player) rtrue;
1144    }
1145    move noun to parent(player);
1146    if (AfterRoutines()==1) rtrue;
1147    if (keep_silent==1) rtrue;
1148    return L__M(##Drop,4,noun);
1149  ];


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.