1997Q4/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev]  Describe module -->
<!--X-From-R13: Hnqvz Fxnpuraxb <inqvzgN4pf.pbz> -->
<!--X-Date: Thu, 18 Dec 1997 19:46:03 +0000 -->
<!--X-Message-Id: 34997659.C0C66697#4cs,com -->
<!--X-Content-Type: multipart/mixed -->
<!--X-Reference: 3496DEB2.4F444933#enid,com -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev]  Describe module</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:vadimt#4cs,com">
</head>
<body background="/backgrounds/paperback.gif" bgcolor="#ffffff"
      text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000">

  <font size="+4" color="#804040">
    <strong><em>MUD-Dev<br>mailing list archive</em></strong>
  </font>
      
<br>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->

Date:&nbsp;
[&nbsp;<a href="msg00870.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00872.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00846.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00839.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00871">Author</A>
&nbsp;|&nbsp;<A HREF="#00871">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00871">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev]  Describe module</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#null,net">mud-dev#null,net</A></LI>
<LI><em>Subject</em>: Re: [MUD-Dev]  Describe module</LI>
<LI><em>From</em>: Vadim Tkachenko &lt;<A HREF="mailto:vadimt#4cs,com">vadimt#4cs,com</A>&gt;</LI>
<LI><em>Date</em>: Thu, 18 Dec 1997 13:15:37 -0600</LI>
<LI><em>Sender</em>: <A HREF="mailto:vt#vadimt,4cs.com">vt#vadimt,4cs.com</A></LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
Stephen Zepp wrote:
&gt; 
&gt; DEFINITION:
&gt; module to describe an object to a player dynamically based on features of the object, illumination, perception of the
&gt; viewer, and knowledge of the user, taking into acount actual features and any "spoof", or disguised features.
&gt; 
&gt; features_type:
&gt; {
&gt;   string_array * format[MAX_ILLUM_LEVEL];/* X amount of char * format, allowing for different
&gt;                                           * illumination levels.
&gt;                                           * format[ILLUM_BRIGHT].msg = "$n $d.#P $e, and $s.#-P #M $a $m.#-M #S"\                                                 * armourer $q #-S."
&gt;                                           * etc., one format string for each illum level */
&gt;   feature_val base;
&gt;   feature_val encrusted;
&gt;   feature_val engraved;
&gt; };
&gt; 
&gt; feature_val is your storage method of values of various things relating to the object:
&gt;   base : material, general obvious info like stained, damaged, broken, pointy, etc.
&gt;   encrusted: things that are "attached" to the object...gems, wrappings, glued on, whatever.
&gt;   engraved: sigils, runes, names, whatever might be written on an object.
&gt; format strings:
&gt;   how the info is presented for this object.  $ values are textual conversions of feature_vals, and # values are
&gt;   character specific checks:
&gt;   $n name ( namespace or item class type if not named )
&gt;   $d general obvious description stuff
&gt;   $e encrusted descriptions
&gt;   $s sigils, engravings, runes
&gt;   $a magical auras
&gt;   $m other magical "spells" embedded in the object
&gt;   $q quality of the object
&gt; 
&gt;   #P check char perception
&gt;   #M check char magical sight
&gt;   #S check specific player skill named in next keyword
&gt;   #-&lt;X&gt; close specific check.
&gt; 
&gt; END DEFINITION
&gt; 
&gt; Okay, now an explanation :)  This is a first run design, trying to get some
&gt; brainstorming going, so a lot of things haven't been thought out.
&gt;         First of all, an object has a set of real features, and a set 
&gt; of "disguise" features. Perception is automatically
&gt; checked for each $ val to determine which to use, and different features
&gt; from each may be noticed ( disguised and real ).

I'de recommend to generalize abovesaid as follows (once again, the
details are on the project pages :-):

- All objects may have several layers of functionality. For example, you
may be able to recognize the computer, as your experience grows, as a:
	- box
	- humming box
	- thinking humming box
	- pseudo-thinking humming box
	- computer
	- computer running, say, Unix
	- computer running Solaris 2.5.1
	- etc.

Or, as a different example,
	- a stone
	- a gemstone
	- a diamond
	- a diamond of unsurpassed magical power

And, your ability to recognize/use the object depends not only on your
perception, but on arbitrary values, different for every type of that
object.

In my implementation, I differentiate such an objects as:
- classes (diamond is a subclass of gemstone is a subclass of stone)
- special objects (diamond of unsurpassed magical power is a special
instance, not class, of a diamond).

Now, the next question is: how would you differentiate the cases:
- when the object with unrecognizable by you features works regardless
of your knowledge;
- when you have to be able to identify the object before you'd be able
to use it.

?

&gt; Zoran

-- 
Still alive and smile stays on,
Vadim Tkachenko &lt;VadimT#4CS,Com&gt;
Gradient MUD: <A  HREF="http://206.139.13.63/~vt/gradient">http://206.139.13.63/~vt/gradient</A> (URL HAS CHANGED, you
may not be able to see it at all)
--
UNIX _is_ user friendly, he's just very picky about who his friends are</PRE>
<PRE>
begin:          vcard
fn:             Vadim Tkachenko
n:              Tkachenko;Vadim
org:            4C Solutions, Inc.
email;internet: vadimt#4cs,com
title:          Web Developer
x-mozilla-cpt:  ;0
x-mozilla-html: TRUE
version:        2.1
end:            vcard

</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00846" HREF="msg00846.html">Describe module</A></STRONG>
<UL><LI><EM>From:</EM> Stephen Zepp &lt;zoran#enid,com&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00870.html">Re: [MUD-Dev]  META: what's with these vcard.vcf attachments?</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00872.html">Re: [MUD-Dev]  Re: META: FAQ: Location, etc</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00846.html">Describe module</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00839.html">Re: [MUD-Dev] Guilds &amp; Politics</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00871"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00871"><STRONG>Thread</STRONG></A></LI>
</UL>
</LI>
</UL>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
<ul><li>Thread context:
<BLOCKQUOTE><UL>
<LI><STRONG>Re: [MUD-Dev] OT: Books</STRONG>, <EM>(continued)</EM>
<ul compact>
<LI><strong><A NAME="00936" HREF="msg00936.html">Re: [MUD-Dev] OT: Books</A></strong>, 
Mike Sellers <a href="mailto:mike#online-alchemy,com">mike#online-alchemy,com</a>, Tue 23 Dec 1997, 15:27 GMT
</LI>
</ul>
</LI>
<LI><strong><A NAME="00848" HREF="msg00848.html">Seems rather quiet</A></strong>, 
Stephen Zepp <a href="mailto:zoran#enid,com">zoran#enid,com</a>, Wed 17 Dec 1997, 05:46 GMT
<UL>
<LI><strong><A NAME="00853" HREF="msg00853.html">Re: Seems rather quiet</A></strong>, 
coder <a href="mailto:coder#ibm,net">coder#ibm,net</a>, Thu 18 Dec 1997, 08:11 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00846" HREF="msg00846.html">Describe module</A></strong>, 
Stephen Zepp <a href="mailto:zoran#enid,com">zoran#enid,com</a>, Tue 16 Dec 1997, 20:03 GMT
<UL>
<LI><strong><A NAME="00871" HREF="msg00871.html">Re: [MUD-Dev]  Describe module</A></strong>, 
Vadim Tkachenko <a href="mailto:vadimt#4cs,com">vadimt#4cs,com</a>, Thu 18 Dec 1997, 19:46 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00839" HREF="msg00839.html">Re: [MUD-Dev] Guilds &amp; Politics</A></strong>, 
Maddy <a href="mailto:maddy#fysh,org">maddy#fysh,org</a>, Mon 15 Dec 1997, 17:26 GMT
<UL>
<li>&lt;Possible follow-up(s)&gt;<br>
<LI><strong><A NAME="00866" HREF="msg00866.html">RE: [MUD-Dev] Guilds &amp; Politics</A></strong>, 
Koster, Raph <a href="mailto:rkoster#origin,ea.com">rkoster#origin,ea.com</a>, Thu 18 Dec 1997, 15:55 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00835" HREF="msg00835.html">META: what's with these vcard.vcf attachments?</A></strong>, 
Alex Oren <a href="mailto:alexo#bigfoot,com">alexo#bigfoot,com</a>, Mon 15 Dec 1997, 13:17 GMT
<UL>
<LI><strong><A NAME="00870" HREF="msg00870.html">Re: [MUD-Dev]  META: what's with these vcard.vcf attachments?</A></strong>, 
Vadim Tkachenko <a href="mailto:vadimt#4cs,com">vadimt#4cs,com</a>, Thu 18 Dec 1997, 19:45 GMT
</LI>
</UL>
</LI>
</UL></BLOCKQUOTE>

</ul>
<hr>
<center>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
</center>
<hr>
</body>
</html>