<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD-Dev] Describe Concept -->
<!--X-From-R13: "Xba O. Znzoreg" <Xba.O.ZnzoregNvk.argpbz.pbz> -->
<!--X-Date: Tue, 03 Mar 1998 07:01:26 +0000 -->
<!--X-Message-Id: 199803030701.BAA14805@dfw-ix10.ix.netcom.com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 34F9DC45.1061DF30#enid,com -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev] Describe Concept</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:Jon.A.Lambert#ix,netcom.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>
[ <a href="../">Other Periods</a>
| <a href="../../">Other mailing lists</a>
| <a href="/search.php3">Search</a>
]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->
Date:
[ <a href="msg00673.html">Previous</a>
| <a href="msg00675.html">Next</a>
]
Thread:
[ <a href="msg00661.html">Previous</a>
| <a href="msg00794.html">Next</a>
]
Index:
[ <A HREF="author.html#00674">Author</A>
| <A HREF="#00674">Date</A>
| <A HREF="thread.html#00674">Thread</A>
]
<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev] Describe Concept</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 Concept</LI>
<LI><em>From</em>: "Jon A. Lambert" <<A HREF="mailto:Jon.A.Lambert#ix,netcom.com">Jon.A.Lambert#ix,netcom.com</A>></LI>
<LI><em>Date</em>: Tue, 3 Mar 1998 02:04:21 -5</LI>
<LI><em>Reply-to</em>: <A HREF="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.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>
On 1 Mar 98 at 14:13, Stephen Zepp wrote:
Gee I hope I did this right. :>
> DEFINITION:
> module to describe an object to a player dynamically based on
> features of the object, illumination, perception of the viewer, and
> knowledge of the user, taking into acount actual features and any
> "spoof", or disguised features.
>
> features_type:
> {
> string_array * format[MAX_ILLUM_LEVEL];
> /* X amount of char * format, allowing for different
> illumination levels.
> format[ILLUM_BRIGHT].msg =
> "$n $d.#P $e, and $s.#-P #M $a $m.#-M #S"armourer $q #-S."
> etc., one format string for each illum level */
> feature_val base;
> feature_val encrusted;
> feature_val engraved;
> };
>
> feature_val is your storage method of values of various things
> relating to the object:
> base : material, general obvious info like stained, damaged,
> broken, pointy,
> etc.
> encrusted: things that are "attached" to the object...gems,
> wrappings, glued
> on, whatever.
> engraved: sigils, runes, names, whatever might be written on an
> object.
/* Is there any real difference between engraved and encrusted? */
> format strings:
> how the info is presented for this object. $ values are textual
> conversions
> of feature_vals, and # values are character specific checks:
> $n name ( namespace or item class type if not named )
> $d general obvious description stuff
> $e encrusted descriptions
> $s sigils, engravings, runes
> $a magical auras
> $m other magical "spells" embedded in the object
> $q quality of the object
>
> #P check char perception
> #M check char magical sight
> #S check specific player skill named in next keyword
> #-<X> close specific check.
/* What about the other 4 senses:
Taste, Smell, Hearing and Touch
*/
/* perhaps an attribute to indicate containment of
objects. Shouldn't containment require perception?
Obviously a treasure chest requires very little perception.
Yet a ring with a secret compartment may qualify
as a disguised feature.
*/
> END DEFINITION
> descriptions of objects. Normally, stock descs will be used, but it
> allows the olc to give specific prototypes for the complete
> description text.
> $ vals work similar to Merc's act values, defining places
> within the
> output string to redefine based on atm features of the object.
> feature_vals are dynamic, some able to be changed after
> object
> creation, some not.
Yikes, I shouldn't be posting. I don't know what a stock
description or OLC is. <gurgle, splurgh>
>
> I'm thinking that each way of observing an object ( scan,
> look, study )
> gives different chances of penetrating disguises, and noting smaller
> details.
> One major problem so far that I see is that once you know
> that Sting
> has three emeralds and a ruby hidden in the hilt, you should always
> be able to see them, and if someone points them out to you, you
> should be able to see them even if your perception sucks ( well, not
> _always_, but you get the idea).
Should perception be based solely on the object being perceived?
I think a great deal of perception code/responsibilty(?) belongs to
the perceiver.
Perhaps the perceiver sends a message to the object:
Me-->Sting.look("and BTW I'm a drunken, one-eyed, deaf, heroin
addict, with a fetish for bright colors and ladies clothing")
Object-->Me.Sting("There are a few valuable and beautiful jewels
here glued to a metal object. You'll be partying tonight!")
Or not...
--
--/*\ Jon A. Lambert - TychoMUD Internet:jlsysinc#ix,netcom.com /*\--
--/*\ Mud Server Developer's Page <<A HREF="http://www.netcom.com/~jlsysinc">http://www.netcom.com/~jlsysinc</A>> /*\--
--/*\ "Everything that deceives may be said to enchant" - Plato /*\--
</PRE>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<ul compact><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><A NAME="00794" HREF="msg00794.html">Re: [MUD-Dev] Describe Concept</A></strong>
<ul compact><li><em>From:</em> J C Lawrence <claw#under,engr.sgi.com></li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00661" HREF="msg00661.html">Describe Concept</A></STRONG>
<UL><LI><EM>From:</EM> Stephen Zepp <zoran#enid,com></LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00673.html">Re: [MUD-Dev] Net protocols for MUDing</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00675.html">VEIL (was: Re: [MUD-Dev] Clients)</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00661.html">Describe Concept</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00794.html">Re: [MUD-Dev] Describe Concept</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00674"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00674"><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><A NAME="00670" HREF="msg00670.html">Tutorial: Let's build a Compiler! - Part XI: Lexical Scan Revisited</A></strong>,
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Mon 02 Mar 1998, 21:38 GMT
<LI><strong><A NAME="00667" HREF="msg00667.html">Re: [MUD-Dev] Net protocols for MUDing</A></strong>,
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Mon 02 Mar 1998, 09:35 GMT
<UL>
<li><Possible follow-up(s)><br>
<LI><strong><A NAME="00803" HREF="msg00803.html">Re: [MUD-Dev] Net protocols for MUDing</A></strong>,
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sat 21 Mar 1998, 02:29 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00661" HREF="msg00661.html">Describe Concept</A></strong>,
Stephen Zepp <a href="mailto:zoran#enid,com">zoran#enid,com</a>, Sun 01 Mar 1998, 22:05 GMT
<UL>
<LI><strong><A NAME="00674" HREF="msg00674.html">Re: [MUD-Dev] Describe Concept</A></strong>,
Jon A. Lambert <a href="mailto:Jon.A.Lambert#ix,netcom.com">Jon.A.Lambert#ix,netcom.com</a>, Tue 03 Mar 1998, 07:01 GMT
<UL>
<LI><strong><A NAME="00794" HREF="msg00794.html">Re: [MUD-Dev] Describe Concept</A></strong>,
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Fri 20 Mar 1998, 18:40 GMT
<UL>
<LI><strong><A NAME="00832" HREF="msg00832.html">Re: [MUD-Dev] Describe Concept</A></strong>,
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Mon 23 Mar 1998, 00:07 GMT
<UL>
<LI><strong><A NAME="00842" HREF="msg00842.html">[MUD-Dev] Old code</A></strong>,
Joel Dillon <a href="mailto:emily#cornholio,new.ox.ac.uk">emily#cornholio,new.ox.ac.uk</a>, Mon 23 Mar 1998, 14:38 GMT
<UL>
<LI><strong><A NAME="00844" HREF="msg00844.html">Re: [MUD-Dev] Old code</A></strong>,
Michael Hohensee <a href="mailto:michael#sparta,mainstream.net">michael#sparta,mainstream.net</a>, Mon 23 Mar 1998, 16:19 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL></BLOCKQUOTE>
</ul>
<hr>
<center>
[ <a href="../">Other Periods</a>
| <a href="../../">Other mailing lists</a>
| <a href="/search.php3">Search</a>
]
</center>
<hr>
</body>
</html>