msg00290.html
1999Q2/msg00290.html · 8.2 KB
From the archive 1999Q2.zip
Download the archive « Back to the archive contents
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD-Dev] Dynamically changing room descriptions -->
<!--X-From-R13: "Quevfgbcure Oyyra" <U[TnatfNOE[DP.bet> -->
<!--X-Date: Mon, 17 May 1999 23:33:12 -0700 -->
<!--X-Message-Id: 018d01bea0bc$8a4dc180$4301a8c0@munin -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: Pine.GSO.4.05.9905121033420.9659-100000@dublin60 -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev] Dynamically changing room descriptions</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:GMFangs#ASMRB,org">
</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="msg00289.html">Previous</a>
| <a href="msg00291.html">Next</a>
]
Thread:
[ <a href="msg00246.html">Previous</a>
| <a href="msg00234.html">Next</a>
]
Index:
[ <A HREF="author.html#00290">Author</A>
| <A HREF="#00290">Date</A>
| <A HREF="thread.html#00290">Thread</A>
]
<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev] Dynamically changing room descriptions</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>: Re: [MUD-Dev] Dynamically changing room descriptions</LI>
<LI><em>From</em>: "Christopher Allen" <<A HREF="mailto:GMFangs#ASMRB,org">GMFangs#ASMRB,org</A>></LI>
<LI><em>Date</em>: Mon, 17 May 1999 16:12:59 -0700</LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Sender</em>: <A HREF="mailto:mud-dev-admin#kanga,nu">mud-dev-admin#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>
I wrote an "adjective" facility that allowed text descriptions to be
different based on time of day.
From the DartMUD timeline() man page:
timeline(7) -- adjective giving text for different times of the day
timeline() is an adjective in the adjective server
"/std/serv/adjective.c" that allows you to add variety to your
descriptions by allowing you to have having minor differences
depending on the time of day as given by the time server.
Basically timeline() will chose from phrases separated by vertical
bars "|" one phrase in order LATENIGHT|SUNRISE|MORNING|NOON|
AFTERNOON|SUNSET|NIGHT, based on current time value returned by the
the time server.
Example:
return "{w}{timeline:The streetlights flicker. |The sunrise is nice. |"+
"You smell breakfast. |The sun is high. |Children play here. |"+
"The sunset is pretty.|Its a spooky night. }";
From midnight until an hour before dawn: The streetlights
flicker.
From an hour before dawn 'til an hour after dawn: The sunrise is nice.
From an hour after dawn 'til hour before noon: You smell breakfast.
From an hour before noon 'til an hour after noon: The sun is high.
From an hour after noon 'til an hour before sunset: Children play here.
From an hour before sunset 'til an hour after sunset:The sunset is pretty.
From an hour after sunset 'til midnight: Its a spooky night.
NOTE: It is not possible to have phrases that include colons or vertical
bars! This is because the parser uses that colons to break up arguements in
adjectives, and timeline() only accepts one arguement and parses the
vertical
bars into separate phrases.
----- Original Message -----
Ronan Farrell <rfarrell#ssldesign,com> wrote:
> I am considering implementing a system where the room descriptions
> and properties change according to the weather, time of year and day.
> For example, we've all seen street lamps in Midgard, and nothing
> changes from day to night, surely they come on at night. Similarly
> the idea that in winter, mountain passes may not be passable due to
> snow and weather, but in summer they are.
>
> I can think of several ways of doing this, but I am wondering if
> anyone has done anything similar, and whether people think it
> would be worth doing in the first place.
_______________________________________________
MUD-Dev maillist - MUD-Dev#kanga,nu
<A HREF="http://www.kanga.nu/lists/listinfo/mud-dev">http://www.kanga.nu/lists/listinfo/mud-dev</A>
</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="00227" HREF="msg00227.html">[MUD-Dev] Dynamically changing room descriptions</A></STRONG>
<UL><LI><EM>From:</EM> "Ronan Farrell" <rfarrell#ssldesign,com></LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00289.html">Re: [MUD-Dev] Dynamically changing room descriptions</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00291.html">RE: [MUD-Dev] Marc Hernandez' Server</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00246.html">Re: [MUD-Dev] Dynamically changing room descriptions</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00234.html">Re: [MUD-Dev] Custom Server Roll Call?</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00290"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00290"><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] Custom Server Roll Call?</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<LI><strong><A NAME="00197" HREF="msg00197.html">Re: [MUD-Dev] Custom Server Roll Call?</A></strong>,
J C Lawrence <a href="mailto:claw#varesearch,com">claw#varesearch,com</a>, Tue 11 May 1999, 20:23 GMT
<UL>
<LI><strong><A NAME="00227" HREF="msg00227.html">[MUD-Dev] Dynamically changing room descriptions</A></strong>,
Ronan Farrell <a href="mailto:rfarrell#ssldesign,com">rfarrell#ssldesign,com</a>, Wed 12 May 1999, 22:39 GMT
<UL>
<LI><strong><A NAME="00232" HREF="msg00232.html">Re: [MUD-Dev] Dynamically changing room descriptions</A></strong>,
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Fri 14 May 1999, 07:35 GMT
</LI>
<LI><strong><A NAME="00246" HREF="msg00246.html">Re: [MUD-Dev] Dynamically changing room descriptions</A></strong>,
Mik Clarke <a href="mailto:mikclrk#ibm,net">mikclrk#ibm,net</a>, Fri 14 May 1999, 08:24 GMT
</LI>
<LI><strong><A NAME="00290" HREF="msg00290.html">Re: [MUD-Dev] Dynamically changing room descriptions</A></strong>,
Christopher Allen <a href="mailto:GMFangs#ASMRB,org">GMFangs#ASMRB,org</a>, Tue 18 May 1999, 06:33 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00234" HREF="msg00234.html">Re: [MUD-Dev] Custom Server Roll Call?</A></strong>,
Emil Eifrem <a href="mailto:emil#prophecy,lu">emil#prophecy,lu</a>, Fri 14 May 1999, 07:35 GMT
</LI>
</UL>
</LI>
</ul>
<LI><strong><A NAME="00175" HREF="msg00175.html">Re: [MUD-Dev] Custom Server Roll Call?</A></strong>,
Marc Hernandez <a href="mailto:marc#ias,jb.com">marc#ias,jb.com</a>, Sat 08 May 1999, 05:13 GMT
<UL>
<LI><strong><A NAME="00195" HREF="msg00195.html">Re: [MUD-Dev] Custom Server Roll Call?</A></strong>,
Ola Fosheim Grøstad <a href="mailto:olag#ifi,uio.no">olag#ifi,uio.no</a>, Tue 11 May 1999, 20:15 GMT
<UL>
<LI><strong><A NAME="00221" HREF="msg00221.html">Re: [MUD-Dev] Custom Server Roll Call?</A></strong>,
Marc Hernandez <a href="mailto:marc#ias,jb.com">marc#ias,jb.com</a>, Wed 12 May 1999, 22:13 GMT
</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>