1997Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: Issues from the digests and Wout's list -->
<!--X-From-R13: ptNnzv&#45;pt.UenlEntr.Sqzbagba.OP.QO (Quevf Uenl) -->
<!--X-Date: from tacitus.globecomm.net [207.51.48.7] by mx4.ibm.net id 861593828.68608&#45;1 Mon Apr 21 03:37:08 1997 -->
<!--X-Message-Id: 9704210425.7xy2@ami&#45;cg.GraySage.Edmonton.AB.CA -->
<!--X-Content-Type: text/plain -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: Issues from the digests and Wout's list</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">
</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="msg00171.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00173.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00228.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00173.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00172">Author</A>
&nbsp;|&nbsp;<A HREF="#00172">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00172">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: Issues from the digests and Wout's list</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: Issues from the digests and Wout's list</LI>
<LI><em>From</em>: <A HREF="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</A> (Chris Gray)</LI>
<LI><em>Date</em>: Sun, 20 Apr 97 21:25:58 MST</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
[Chris L:]
:The only solution there is to bind "drink" et all to the player
:objects (or something that all players always carry).	Drink then
:resolves on the player, and the verb then goies out looking for an
:object to satisfy.
:
:It can make for an expensive parser.

Why? Parsing is easy, since you don't have much searching to do to find
the verb to use. The verb has to then figure out what objects it ought
to be using, but since that code can, if desired, be specific to that
verb, it can make a more intelligent choice, since it likely has ready
access to all of the objects around. Once the verb picks the objects(s)
to use (or prints some reasonable failure message, which is the whole
point of doing things this way), it can trigger custom methods on the
objects involved. I've never seen the benefit in all the duplication
and inconsistency that comes from having the verbs on the objects.
Custom code on the objects, yes, but only when they need to have a
behaviour different from the default.

One problem I've never satisfactorily answered for myself is that of
what order to do the checks in. If you have a verb 'plugh' that takes
a direct and an indirect object, there can be checks/modifiers for that
verb on the player, in the room, and on both objects. What is the best
order for calling them? Does it vary from verb to verb? My "generic"
verb handler code currently does: player, room, direct-object,
indirect-object. I can't swear that all specific verbs do that, however!

--
Chris Gray   cg#ami-cg,GraySage.Edmonton.AB.CA

</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00171.html">Re: Your Message To mud-dev</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00173.html">Re: Issues from the digests and Wout's list</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00228.html">Re: [MUD-Dev]  Re: Issues from the digests and Wout's list</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00173.html">Re: Issues from the digests and Wout's list</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00172"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00172"><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: Issues from the digests and Wout's list</STRONG>, <EM>(continued)</EM>
<ul compact>
<LI><strong><A NAME="00164" HREF="msg00164.html">Re: Issues from the digests and Wout's list</A></strong>, 
Nathan Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Sun 20 Apr 1997, 05:15 GMT
</LI>
<LI><strong><A NAME="00165" HREF="msg00165.html">Re: Issues from the digests and Wout's list</A></strong>, 
Nathan Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Sun 20 Apr 1997, 05:41 GMT
<UL>
<LI><strong><A NAME="00209" HREF="msg00209.html">Re: [MUD-Dev]  Re: Issues from the digests and Wout's list</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Fri 25 Apr 1997, 11:56 GMT
<UL>
<LI><strong><A NAME="00228" HREF="msg00228.html">Re: [MUD-Dev]  Re: Issues from the digests and Wout's list</A></strong>, 
Shawn Halpenny <a href="mailto:malachai#iname,com">malachai#iname,com</a>, Sat 26 Apr 1997, 02:50 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
<LI><strong><A NAME="00172" HREF="msg00172.html">Re: Issues from the digests and Wout's list</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Mon 21 Apr 1997, 10:37 GMT
</LI>
<LI><strong><A NAME="00173" HREF="msg00173.html">Re: Issues from the digests and Wout's list</A></strong>, 
Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Mon 21 Apr 1997, 12:24 GMT
</LI>
<LI><strong><A NAME="00174" HREF="msg00174.html">Re: Issues from the digests and Wout's list</A></strong>, 
Ling <a href="mailto:K.L.Lo-94#student,lut.ac.uk">K.L.Lo-94#student,lut.ac.uk</a>, Tue 22 Apr 1997, 01:34 GMT
<UL>
<LI><strong><A NAME="00188" HREF="msg00188.html">Re: [MUD-Dev]  Re: Issues from the digests and Wout's list</A></strong>, 
Shawn Halpenny <a href="mailto:malachai#iname,com">malachai#iname,com</a>, Wed 23 Apr 1997, 21:41 GMT
<UL>
<LI><strong><A NAME="00196" HREF="msg00196.html">Re: [MUD-Dev]  Re: Issues from the digests and Wout's list</A></strong>, 
Adam Wiggins <a href="mailto:nightfall#inficad,com">nightfall#inficad,com</a>, Thu 24 Apr 1997, 09:51 GMT
</LI>
</UL>
</LI>
</UL>
</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>