Newsgroups: rec.arts.int-fiction
Subject: Re: [TADS] creating items not listed in inventory
From: Shadow Wolf <shadow_wolf@softhome.net>
References: <pnoR8.27043$_E7.3435179113@newssvr10.news.prodigy.com> <Xns9237D530951DTjR8675309@209.25.157.130> <Xns9237B3789ABBFshadowolfsofthome@128.242.126.67> <Xns9238A9CA323TjR8675309@209.25.157.130> <Xns923868EEACCB0shadowolfsofthome@128.242.126.67> <Pine.GSO.4.44.0206251346070.3917-100000@godzilla5.acpub.duke.edu> <afafep$chfea$1@ID-101183.news.dfncis.de>
Message-ID: <Xns923887B9311FCshadowolfsofthome@128.242.126.67>
User-Agent: Xnews/5.04.25
X-no-productlinks: yes
Date: 25 Jun 2002 15:01:33 -0500
Lines: 54
X-Authenticated-User: 86138934
X-Comments: This message was posted through Newsfeeds.com
X-Comments2: IMPORTANT: Newsfeeds.com does not condone, nor support,  spam or any illegal or copyrighted postings.
X-Comments3: IMPORTANT: Under NO circumstances will postings containing illegal or copyrighted material through this service be tolerated!!
X-Report: Please report illegal or inappropriate use to <abuse@newsfeeds.com> You may also use our online abuse reporting from: http://www.newsfeeds.com/abuseform.htm
X-Abuse-Info: Please be sure to forward a copy of ALL headers, INCLUDING the body (DO NOT SEND ATTACHMENTS)
Organization: Newsfeeds.com http://www.newsfeeds.com 90,000+ UNCENSORED Newsgroups.
Path: news.duke.edu!newsgate.duke.edu!nntp-out.monmouth.com!newspeer.monmouth.com!news.maxwell.syr.edu!nntp-relay.ihug.net!ihug.co.nz!news-out.newsfeeds.com!l2!news2.newsgroups.com!not-for-mail
Xref: news.duke.edu rec.arts.int-fiction:105444

"Eytan Zweig" <eytanzw@yahoo.com> wrote in
news:afafep$chfea$1@ID-101183.news.dfncis.de:

>
> "Georgina Bensley" <geo1@duke.edu> wrote in message
> news:Pine.GSO.4.44.0206251346070.3917-100000@godzilla5.acpub.duke.edu..
> .
>>
>> > Again, fixeditems are _not_ listed in TADS. Not by inventory, not
>> > by
> look-
>> > at, or by anything else. fixeditems have their isListed property
>> > set to nil, so listcontgen (which is the basis for all other
>> > list-printing functions) does _not_ print them.
>> >
>> > This is the standard technique for body parts in TADS AIF. It works
>> > for non-adult bodyparts as well.
>>
>> Fixed items set to the actor's location will still turn up in "drop
>> all", though, which can get irritating. "You can't drop your hands"
>> "You can't drop your nose" "You can't drop your hair" etc etc etc.
>>
>> One way of dealing with this in non-adult games is to have a
>> non-removable clothing item, like underwear or something, and set all
>> the body parts up as fixeditems inside the clothing item. They'll
>> still be in scope, but you won't get messages for them in "drop all",
>> only for the clothing item.
>>
>> I suppose you could have a generic body/skin item and put the parts
>> inside of it for AIF.
>>
>
> Isn't it possible to just create a class for body parts, base it on
> fixeditem, and over-ride drop behavior so that it's impossible to drop
> them but no message is given?
>
> Eytan
>
>
>

For "drop all", we either disable "all" or override the doDefault of
dropVerb to ignore fixeditems (fairly simple).

--
Shadow Wolf
shadow_wolf@softhome.net
Stories at http://www.asstr.org/~Shadow_Wolf



-----------== Posted via Newsfeed.Com - Uncensored Usenet News ==----------
   http://www.newsfeed.com       The #1 Newsgroup Service in the World!
-----= Over 100,000 Newsgroups - Unlimited Fast Downloads - 19 Servers =-----
