Inform - Support - Source

Back to List

Inventory
Complete

Backward
Forward

Plain
Coloured
Gaudy

This code
in plain text

Browsing verblibm.h

SayWhatsOn (lines 1437-1450)

1437  !   Describing the world.  SayWhatsOn(object) does just that (producing
1438  !   no text if nothing except possibly "scenery" and "concealed" items are).
1439  !   Locale(object) runs through the "tail end" of a Look-style room
1440  !   description for the contents of the object, printing up suitable
1441  !   descriptions as it goes.
1442  ! ----------------------------------------------------------------------------
1443   
1444  [ SayWhatsOn descon j f;
1445    if (descon==parent(player)) rfalse;
1446    objectloop (j in descon)
1447        if (j hasnt concealed && j hasnt scenery) f=1;
1448    if (f==0) rfalse;
1449    L__M(##Look, 4, descon); rtrue;
1450  ];


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.