Re: Inform: How to tell diff. between a room & an item?


10 Sep 1995 16:42:42 GMT

"Sam Hulick" <shulick@guava.ucs.indiana.edu> wrote:
> How can one tell if an object 'o' is a room or an item?

There is no way in Inform to do this. Items and rooms are the same
kinds of data. You could even use a room as an item or an item as a
room, as long as you were careful with the various aliased properties.

Perhaps if you explained why you need to know whether an object is a
room or not, then I could suggest a sensible work-round.

--
Gareth Rees