msg01002.html

1998Q4/msg01002.html · 10.2 KB

From the archive 1998Q4.zip

Download the archive   « Back to the archive contents

<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] Re: MUD Design doc (long) -->
<!--X-From-R13: [vx Qynexr <zvxpyexNvoz.arg> -->
<!--X-Date: Fri, 18 Dec 1998 14:56:02 &#45;0800 -->
<!--X-Message-Id: 367AD0A5.AC76B1E#ibm,net -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 00f701be2a14$5c1f24d0$55e5edd0@dev&#45;18.chilisoft.com -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] Re: MUD Design doc (long)</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:mikclrk#ibm,net">
</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="msg01001.html">Previous</a>
&nbsp;|&nbsp;<a href="msg01003.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg01003.html">Previous</a>
&nbsp;|&nbsp;<a href="msg01014.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#01002">Author</A>
&nbsp;|&nbsp;<A HREF="#01002">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#01002">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] Re: MUD Design doc (long)</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Subject</em>: [MUD-Dev] Re: MUD Design doc (long)</LI>
<LI><em>From</em>: Mik Clarke &lt;<A HREF="mailto:mikclrk#ibm,net">mikclrk#ibm,net</A>&gt;</LI>
<LI><em>Date</em>: Fri, 18 Dec 1998 22:01:09 +0000</LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
Caliban Tiresias Darklock wrote:
&gt; From: Mik Clarke &lt;mikclrk#ibm,net&gt;
&gt; &gt;      if (!object-&gt;can_you_be(CMD_SNIFFED))
&gt; &gt;        send_to_char "It smells of nothing in particular."
&gt; 
&gt; The usual smartass message I've seen is:
&gt; 
&gt;   &gt; smell foo
&gt;   Smells like foo.
&gt; 
&gt; While this is cute the first few times you see it, especially when it
&gt; recognises the command and not the objects in the room ("smell teen spirit",
&gt; huhuhuhu that was cool), it gets boring rapidly. Same thing with default
&gt; messages in general.

Well, fundamentally it's an error message: 'The target object does not
support the verb "smell".'  That really mucks the SoD up though, so it
gets replaced with an ingame message (sometimes of a margianlly humerous
nature).
 
&gt; Senses present the most challenging array of problems; whenever I want to
&gt; smell something, I should be able to even if the game doesn't know what to
&gt; do about it. I can smell a door if I really want to, even if "open" and
&gt; "close" are all the door itself understands. If I am in a room with a
&gt; description that includes flowers, and I try to smell them, it is important
&gt; to my suspension of disbelief (SoD) that I be able to do so. If there is no
&gt; flower object, I should still get a response back like "You smell the
&gt; flowers." or something. If there is nothing there that matches, however, I
&gt; should (from a SoD perspective) get a "Smell what?" message or the like.
&gt; This is not really feasible; "The room is filled with flowers of every
&gt; conceivable type" should theoretically allow me to smell "flower",
&gt; "flowers", "tulip", "rose", "daisy" -- but obviously only the first two are
&gt; even remotely achievable, and that at some performance expense.

This can be done by adding 'smellable' objects to rooms in the same
fashion as 'examinable' objects are added. Diku/ROM uses extra
descriptions - with a little rewiring the same mechanism can also do
smell, listen, touch and taste (although the effects for touch and taste
might be a bit more complicated).
 
&gt; Instead of asking "how do we do X", it's productive in most cases to ask why
&gt; X is important in the first place. What does X give you? Why is it
&gt; important? If your rationale is "I have a flower and the player should be
&gt; able to smell it", you probably want to rethink whether this is important to
&gt; the game. It is certainly intuitive to think you can "smell" a flower, so it
&gt; might be a good idea to handle for the flower... but in the world as a
&gt; whole? Do we legitimately need a "smell" handler for all objects?

I'm working on an investagative RPG mob - sort of like Scooby Doo - a
lot of work to find the monsters and then run away.  Commands like smell
and listen can add a lot more options for area builders to disguise
clues and build atmosphere.
 
&gt; Intuitive action is not always correct. It may also be intuitive, if the
&gt; flower is in a room with a bonfire, to throw the flower into the bonfire.
&gt; Does it need a "burn" handler? A "throw" handler? What if the flower is not
&gt; in a room with a bonfire, but can conceivably be put into one? Should the
&gt; "burn" handler be on the flower, or the bonfire? Is it a good idea to use
&gt; inheritance for this, and give the generic MUDObject type all these
&gt; handlers? Wouldn't you get stupid things like trees and doors with "throw"
&gt; handlers? Who the hell throws a tree? (Caber throwing notwithstanding.)

Well, that's why you need a good object hierarchy at the base. 
Consider:

  Static Object
    +--- Door
    +--- Sign
    +--- Plant
    +--- Moving Object
           +--- Weapon
           +--- Armour
           +--- Bottle
           +--- Pouch
                  +--- Money bag
                  +--- Container
                         +--- Bag
                         |     +--- Chest
                         +--- Room
                         +--- Mob
                                +-- Player

In such a hierarchy you would have different throw methods on Static
Object (a don't be silly message), Moving Object (it gets thrown),
Pouch (thrown and spills some contents), Container (maybe comes open and
loses it's contents).

Mik
-- 
<A  HREF="http://www.geocities.com/SoHo/Cafe/2260">http://www.geocities.com/SoHo/Cafe/2260</A>


</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="01047" HREF="msg01047.html">[MUD-Dev] Re: MUD Design doc (long)</A></strong>
<ul compact><li><em>From:</em> Nathan F Yospe &lt;yospe#hawaii,edu&gt;</li></ul>
<li><strong><A NAME="01014" HREF="msg01014.html">[MUD-Dev] Re: MUD Design doc (long)</A></strong>
<ul compact><li><em>From:</em> Travis Casey &lt;efindel#io,com&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00988" HREF="msg00988.html">[MUD-Dev] Re: MUD Design doc (long)</A></STRONG>
<UL><LI><EM>From:</EM> "Caliban Tiresias Darklock" &lt;caliban#darklock,com&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg01001.html">[MUD-Dev] Re: MUD Design doc (long)</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg01003.html">[MUD-Dev] Re: MUD Design doc (long)</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg01003.html">[MUD-Dev] Re: MUD Design doc (long)</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg01014.html">[MUD-Dev] Re: MUD Design doc (long)</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#01002"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#01002"><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>[MUD-Dev] Re: MUD Design doc (long)</STRONG>, <EM>(continued)</EM>
<ul compact>
<LI><strong><A NAME="00980" HREF="msg00980.html">[MUD-Dev] Re: MUD Design doc (long)</A></strong>, 
Koster, Raph <a href="mailto:rkoster#origin,ea.com">rkoster#origin,ea.com</a>, Thu 17 Dec 1998, 15:15 GMT
</LI>
<LI><strong><A NAME="00988" HREF="msg00988.html">[MUD-Dev] Re: MUD Design doc (long)</A></strong>, 
Caliban Tiresias Darklock <a href="mailto:caliban#darklock,com">caliban#darklock,com</a>, Thu 17 Dec 1998, 23:12 GMT
<UL>
<LI><strong><A NAME="00991" HREF="msg00991.html">[MUD-Dev] Re: MUD Design doc (long)</A></strong>, 
Thinus Barnard <a href="mailto:thinus_barnard#bigfoot,com">thinus_barnard#bigfoot,com</a>, Fri 18 Dec 1998, 12:57 GMT
<UL>
<LI><strong><A NAME="01003" HREF="msg01003.html">[MUD-Dev] Re: MUD Design doc (long)</A></strong>, 
Mik Clarke <a href="mailto:mikclrk#ibm,net">mikclrk#ibm,net</a>, Fri 18 Dec 1998, 23:02 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="01002" HREF="msg01002.html">[MUD-Dev] Re: MUD Design doc (long)</A></strong>, 
Mik Clarke <a href="mailto:mikclrk#ibm,net">mikclrk#ibm,net</a>, Fri 18 Dec 1998, 22:56 GMT
<UL>
<LI><strong><A NAME="01014" HREF="msg01014.html">[MUD-Dev] Re: MUD Design doc (long)</A></strong>, 
Travis Casey <a href="mailto:efindel#io,com">efindel#io,com</a>, Sat 19 Dec 1998, 04:26 GMT
</LI>
<LI><strong><A NAME="01047" HREF="msg01047.html">[MUD-Dev] Re: MUD Design doc (long)</A></strong>, 
Nathan F Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Wed 23 Dec 1998, 03:12 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
<LI><strong><A NAME="00993" HREF="msg00993.html">[MUD-Dev] Re: MUD Design doc (long)</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Fri 18 Dec 1998, 12:58 GMT
<UL>
<LI><strong><A NAME="01004" HREF="msg01004.html">[MUD-Dev] Response (Was Re: MUD Design doc (long))</A></strong>, 
Ola Fosheim Grøstad <a href="mailto:olag#ifi,uio.no">olag#ifi,uio.no</a>, Fri 18 Dec 1998, 23:20 GMT
</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>

Site Stats

Snippets: 1791
Codebases: 571