Inform - Support - Source

Back to List

Inventory
Complete

Backward
Forward

Plain
Coloured
Gaudy

This code
in plain text

Browsing verblibm.h

Objects1Sub (lines 815-838)

0815  [ Objects1Sub i j f;
0816    L__M(##Objects,1);
0817    objectloop(i has moved)
0818    {   f=1; print (the) i; j=parent(i);
0819   
0820        if (j)
0821        {   if (j==player)
0822            {   if (i has worn) L__M(##Objects, 3);
0823                else L__M(##Objects, 4);
0824                jump obj__ptd;
0825            }
0826   
0827            if (j has animate)   { L__M(##Objects, 5); jump obj__ptd; }
0828            if (j has visited)   { L__M(##Objects, 6, j); jump obj__ptd; }
0829            if (j has container) { L__M(##Objects, 8, j); jump obj__ptd; }
0830            if (j has supporter) { L__M(##Objects, 9, j); jump obj__ptd; }
0831            if (j has enterable) { L__M(##Objects, 7, j); jump obj__ptd; }
0832        }
0833   
0834        L__M(##Objects, 10);
0835        .obj__ptd; new_line;
0836    }
0837    if (f==0) L__M(##Objects,2);
0838  ];


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.