Re: Inventory text in Inform....


27 Apr 1995 15:16:02 GMT

Paul Bowler <Paul@mdown.demon.co.uk> wrote:
> A fruit Bowl (Which is open but empty)
> How do I suppress the 'Open' part ??

Get the latest version of the Inform library (5/9). See item 6 of the
library history file, which can be found on the World Wide Web:
http://www.cl.cam.ac.uk/users/gdr11/inform/library-history.html

> Also, I sometimes need to omit objects from the inventory list
> that are parts of other objects.

You can prevent an object from appearing in inventory lists (and indeed
all other lists), by giving it an `invent' routine that returns 1 when
the variable `inventory_stage' is equal to 1. See chapter 18 of the
Designer's Manual for details.

--
Gareth Rees