Newsgroups: rec.arts.int-fiction
Path: gmd.de!nntp.gmd.de!newsserver.jvnc.net!news.cac.psu.edu!news.pop.psu.edu!hudson.lm.com!godot.cc.duq.edu!newsfeed.pitt.edu!gatech!udel!princeton!jimpryor.remote.princeton.edu!user
From: jimpryor@princeton.edu (James Pryor)
Subject: Q: possessed objects in TADS?
Message-ID: <jimpryor-1711941923020001@jimpryor.remote.princeton.edu>
Originator: news@hedgehog.Princeton.EDU
Sender: news@Princeton.EDU (USENET News System)
Nntp-Posting-Host: jimpryor.remote.princeton.edu
Organization: Princeton University
Date: Thu, 17 Nov 1994 23:23:02 GMT
Lines: 26

Newly registered TADS 2.2 owner (me) wants to know how to implement
objects possessed by NPC's in TADS?

It's easy enough, on a small scale, to do it by brute force:

alex: Actor
    noun = 'alex'
    sdesc = "Alex"
;

alexLeg: fixeditem
    noun = 'leg'
    thedesc = { "his "; self.sdesc; }
    adjective = 'alexs' 'alex\'s' 'his'
    location = alex
;

But what if I wanted to create 50 characters, each with their own pair of
legs, arms, shirts, etc.?

Is there a more systematic method?

Thanks for the advice.
______________________________________________________________
Jim Pryor / jimpryor@phoenix.princeton.edu
Dept. of Philosophy, Princeton University
