TADS - "surface" problem..help?

G

Guest

Guest
Archived from groups: rec.games.int-fiction (More info?)

hello! i'm new here (but not new to int-fiction!)

anyways, i'm trying to write a game, but after updating to TADS 2.5.9,
i've run into a small problem...

any items that are on a surface item now show up in the room description.

here's my code:

anniedesk: fixeditem, surface
sdesc = "desk"
noun = 'desk' 'table'
location = annieroom
;

bowl: qcontainer
sdesc = "bowl"
noun = 'bowl'
location = anniedesk
;

and here's the output when i walk into the room:

>w
Annie's Room
You walk into Annie's room.
Sitting on the desk is a bowl.

How do i fix it so that it doesn't state the items listed on the desk
surface?

thanks!
 
Archived from groups: rec.games.int-fiction (More info?)

Hi!

You can make the desk a descendant of the qcontainer class, or you can
set its isqcontainer property to true. That should keep it quiet.

Welcome aboard!
 
Archived from groups: rec.games.int-fiction (More info?)

Hi,
There is a property called isListed.

put isListed = nil in the code, I can't recall if it goes with desk or
item.

A.P. Hill
 
Archived from groups: rec.games.int-fiction (More info?)

It goes on the item.

The problem with using isListed in that way is that if the object is
portable, it won't show up in your inventory.

It's much better to modify the desk object than to modify every item
that could conceivably go on the desk, no?
 
Archived from groups: rec.games.int-fiction (More info?)

isa wrote:
> hello! i'm new here (but not new to int-fiction!)
>

A quick pointer then:

General rule of thumb - use rec.games.int-fiction (rgif) for stuff about
*playing* interactive fiction. Eg. reviews, gameplay tips,
recommendations, etc. And use rec.arts.int-fiction (raif) for stuff
about *making* interactive fiction. Eg. programming tips, game theory
discussion, IF Cabalic rituals... Stuff like that.

Anyways, welcome.