Re: Help: Inform - Several copies of an object


28 Apr 1995 14:52:58 GMT

Per Jacobsen <perjac@inet.uni-c.dk> wrote:
> 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?

The Z-machine provides no way to create objects at run-time, so you have
to define in the Inform source all the objects that you are going to
use. If you insist on creating objects at run-time, you should consider
switching to TADS, the latest version of which allows you to do this.

--
Gareth Rees