Re: Help: Inform - Several copies of an object


29 Apr 1995 13:22:46 GMT

Paul Bowler (Paul@mdown.demon.co.uk) wrote:
> In article <3np86h$grq@news.uni-c.dk> perjac@inet.uni-c.dk "Per Jacobsen" writes:

> > I want the player to be able to buy several copies of an item, ie, 5
> > breads, 2 bottles etc, and carry them.

> > Do I need to define a lot of bottle objects, or is there a way to
> > clone them?

> I refer you to the matches and candle objects in the Toyshop.

Alas, that appears to be of no use. The player should be able to buy a
large amount, say 30 bread. Eat 1 or 2, which would disappear from the
game. Drop a couple on the floor, where they would remain. Go to another
room, drop a few. Go back to the first room at pick some up. etc

So I guess I have to define a few thousand, eh? :-\