1998Q4/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] Spell components, chemistry, and the like... -->
<!--X-From-R13: "dhmnu Mfbgsubzr]" <dhmnuNfbsgubzr.arg> -->
<!--X-Date: Mon, 9 Nov 1998 21:47:10 &#45;0800 -->
<!--X-Message-Id: 000701be0c6c$ffabc100$1f066520@k6 -->
<!--X-Content-Type: text/plain -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] Spell components, chemistry, and the like...</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:quzah#softhome,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="msg00803.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00805.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00833.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00808.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00804">Author</A>
&nbsp;|&nbsp;<A HREF="#00804">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00804">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] Spell components, chemistry, and the like...</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: &lt;<A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A>&gt;</LI>
<LI><em>Subject</em>: [MUD-Dev] Spell components, chemistry, and the like...</LI>
<LI><em>From</em>: "quzah [sotfhome]" &lt;<A HREF="mailto:quzah#softhome,net">quzah#softhome,net</A>&gt;</LI>
<LI><em>Date</em>: Mon, 9 Nov 1998 21:42:19 -0800</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>
Greetings all. I'm working on a spell component system
for MERC, which is quickly becoming a physics engine.
Or perhaps I should say, chemistry engine. Now then,
since I didn't take chemistry in high school I have a
few questions relating to my spell component system.

I first decided to make a list of some typical elements
that would or could be found in the wilderness. I was
just going for elements at the start, to get them out
of the way. So, I jumped over to the periodic table and
selected a few, omiting the obscure ones that no one
in a medieval setting. Now if I remember correctly from
physics and other science classes, there are only ever
three forms of an element: solid, liquid or gas. I put
a small measurement list together (for the sake of
measuring the components) for the two forms: solid and
fluid (gasses are fluid).

Then, I made a little struct for my components, and was
making the component_table[] (similar to the spell table
and so forth) but I ran into a bit of a snag:

{
"molten gold", COTYPE_METAL_GOLD, COFORM_LIQUID,
COTEMP_HOT_HD, COSIZE_MODERATE, (volume), (weight/volume),
(heat_to), (cool_to), (found where), ...
},

{
"gold dust" ...
},

{
"gold nugget" ...
}

Ah. Problem. Do I really want to list every form of gold?
For that matter, is gold ever a gas? If so, would anyone
ever be able to use it? Is this just a pain in the butt?

So, I have decided to redo it, (not sure exactally how) and
just have something like:

{
"%sgold%s", (solid info)(liquid info)(gas info)
}

What I'm not sure how to do is set up the (s)(l)(g) info.
Before I decided to redo it (again. That's all I do, redo
things to death.) I was toying with the idea of a hard coded
list, or a runtime-loaded-list (ala area file). Now, I'm not
sure what to use still, but I have yet to finalize the solid/
liquid/gas forms.

I guess what this all boils down to is: does anyone have any
ideas on handling the three forms of an element (compound/item/
whatever) that won't fill an encyclopedia volume? I already
have COFORM_ to handle things like "powered"/"liquid"/"shavings"
and so on, as well as COTEMP_ (temperature), COSIZE_ (measurement)
but I'm not sure what to do with elements, since I'm also allowing
for plants, blood, mud, swords, whatever to be a spell component.
(Room-&gt;vnum, obj-&gt;vnum, and mob-&gt;vnum are also allowed for spell
components: "You need to be in the temple, with a silver staff,
and a priest to cast resurection.")

I really don't feel like making every form of every element/item,
and so I'm looking for a different view on the subject. 

-Q-



</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="00811" HREF="msg00811.html">[MUD-Dev] Re: Spell components, chemistry, and the like...</A></strong>
<ul compact><li><em>From:</em> Nathan F Yospe &lt;yospe#hawaii,edu&gt;</li></ul>
<li><strong><A NAME="00808" HREF="msg00808.html">[MUD-Dev] Re: Spell components, chemistry, and the like...</A></strong>
<ul compact><li><em>From:</em> Adam Wiggins &lt;adam#angel,com&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00803.html">[MUD-Dev] Re: Quick socket question</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00805.html">[MUD-Dev] Re: Spell components, chemistry, and the like...</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00833.html">[MUD-Dev] Re: Spell components, chemistry, and the like...</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00808.html">[MUD-Dev] Re: Spell components, chemistry, and the like...</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00804"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00804"><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: Spell components, chemistry, and the like...</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<LI><strong><A NAME="00838" HREF="msg00838.html">[MUD-Dev] Re: Spell components, chemistry, and the like...</A></strong>, 
Nathan F Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Thu 12 Nov 1998, 23:56 GMT
</LI>
</ul>
</ul>
<LI><strong><A NAME="00836" HREF="msg00836.html">[MUD-Dev] Re: Spell components, chemistry, and the like...</A></strong>, 
Nathan F Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Thu 12 Nov 1998, 23:06 GMT
</LI>
</ul>
<LI><strong><A NAME="00828" HREF="msg00828.html">[MUD-Dev] Re: Spell components, chemistry, and the like...</A></strong>, 
quzah [sotfhome] <a href="mailto:quzah#softhome,net">quzah#softhome,net</a>, Thu 12 Nov 1998, 08:28 GMT
</LI>
<LI><strong><A NAME="00833" HREF="msg00833.html">[MUD-Dev] Re: Spell components, chemistry, and the like...</A></strong>, 
Peck, Matthew x96724c1 <a href="mailto:x96724#exmail,usma.army.mil">x96724#exmail,usma.army.mil</a>, Thu 12 Nov 1998, 17:08 GMT
</LI>
</ul>
</LI>
<LI><strong><A NAME="00804" HREF="msg00804.html">[MUD-Dev] Spell components, chemistry, and the like...</A></strong>, 
quzah [sotfhome] <a href="mailto:quzah#softhome,net">quzah#softhome,net</a>, Tue 10 Nov 1998, 05:47 GMT
<UL>
<LI><strong><A NAME="00808" HREF="msg00808.html">[MUD-Dev] Re: Spell components, chemistry, and the like...</A></strong>, 
Adam Wiggins <a href="mailto:adam#angel,com">adam#angel,com</a>, Tue 10 Nov 1998, 19:39 GMT
</LI>
<LI><strong><A NAME="00811" HREF="msg00811.html">[MUD-Dev] Re: Spell components, chemistry, and the like...</A></strong>, 
Nathan F Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Tue 10 Nov 1998, 23:56 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00800" HREF="msg00800.html">[MUD-Dev] Quick socket answer</A></strong>, 
Dr. Cat <a href="mailto:cat#bga,com">cat#bga,com</a>, Sun 08 Nov 1998, 19:38 GMT
<LI><strong><A NAME="00799" HREF="msg00799.html">[MUD-Dev] Rebol</A></strong>, 
Ling <a href="mailto:K.L.Lo-94#student,lboro.ac.uk">K.L.Lo-94#student,lboro.ac.uk</a>, Sun 08 Nov 1998, 17:06 GMT
</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>