<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD-Dev] Virtual Chemistry -->
<!--X-From-R13: pynjerapNphc.uc.pbz -->
<!--X-Date: Tue, 12 Aug 1997 00:00:05 +0000 -->
<!--X-Message-Id: 199708112358.QAA05519#xsvr3,cup.hp.com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: Pine.LNX.3.96.970801224918.136Q-100000#mpc,dyn.ml.org -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev] Virtual Chemistry</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:clawrenc#cup,hp.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="msg00477.html">Previous</a>
| <a href="msg00479.html">Next</a>
]
Thread:
[ <a href="msg00388.html">Previous</a>
| <a href="msg00486.html">Next</a>
]
Index:
[ <A HREF="author.html#00478">Author</A>
| <A HREF="#00478">Date</A>
| <A HREF="thread.html#00478">Thread</A>
]
<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev] Virtual Chemistry</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] Virtual Chemistry</LI>
<LI><em>From</em>: <A HREF="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</A></LI>
<LI><em>Date</em>: Mon, 11 Aug 97 15:41:33 -0700</LI>
<LI><em>Reply-to</em>: <A HREF="mailto:claw#null,net">claw#null,net</A></LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
In <<A HREF="msg00327.html">Pine.LNX.3.96.970801224918.136Q-100000#mpc,dyn.ml.org</A>>, on
08/01/97
at 03:09 PM, Matt Chatterley <root#mpc,dyn.ml.org> said:
>On Wed, 30 Jul 1997 clawrenc#cup,hp.com wrote:
>> First thoughts on a representational model:
>>
>> Create a coordinate system.
>> The axis of the coordinate system are the principles of your
>> alchemy system (yes, lotsa dimensions).
>> The purpose of the coordinate system is to define the
>> behaviour of a substance.
>> Given a substance, a coordinate location can be computed from
>> its components.
>> Given a coordinate location, the effect of the substabce can
>> be derived.
>I was initially unsure about this, but the more I thought - the more
>I liked it, and, for what I want to create, it makes perfect sense,
>and seems to work nicely (at least theoretically).
FWIW I'd strongly recommend using a sparse array and interpolating the
missing chunks at runtime.
>> Thus the leaves of the herb WaggaWagga might have a coodinate weight
>> of (-5, 8, 3) presuming the simplistic case of only 3 principles. The
>> root of the UmbaUmba plant might have a value of (2, 9, -10). Mix
>> then together with GooGoo mud (0, 0, 2), and you get a substance (-3,
>> 17, -5). That location can be plotted in the coordinate system and a
>> result computed:
>>
>> A minor weakening agent (-3) that also a *really* effective sleeping
>> draught (17), and reduces physical dexterity (-5).
>Yup. Of course, you'd need many more properties tracked.. but still,
>we have the basic spirit captured here. First things which came to
>mind were properties to track reactivity of substances, acidity, and
>magical capacitance. More general things with relevant to the mixing
>of chemicals. A question rose subsequently here - what about by
>products? How do we tell if a by product should be produced? I have
>yet to answer that one.
Yeah, the above example is deliberately simplistic and trivial.
By products are really a side effect of standard combinations. Some
sort of indexed reaction is needed. If you further extend the array
as follows, it can be done:
Each substance has a unique ID value in its array.
Each substance array also encludes a member which is a list of
arrays (maps really) which represents what quantities of what products
are produced when the current substance is mixed with the named (by
ID) substances.
>Incidentally, bringing in the concept of tracking state produces a
>flaw in the design of many stock (LP) bases - you have a drink
>inheritable, which all drinkable substances must include, defining
>alchoholic properties etc (this is pretty standard accross LP,
>excepting very different games). Of course, this is not going to
>really work with liquids - in theory you can drink any liquid, but
>you don't want to inherit drink into all of them!
The problem is a bad object model. They should have a state base
class from which a liquid class is descended (or is a base class).
</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="00486" HREF="msg00486.html">Re: [MUD-Dev] Virtual Chemistry</A></strong>
<ul compact><li><em>From:</em> Matt Chatterley <root#mpc,dyn.ml.org></li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00327" HREF="msg00327.html">Re: [MUD-Dev] Virtual Chemistry</A></STRONG>
<UL><LI><EM>From:</EM> Matt Chatterley <root#mpc,dyn.ml.org></LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00477.html">Re: [MUD-Dev] DESIGN: The purpose of MUDding?</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00479.html">Re: [MUD-Dev] C&C and Event Rescheduling</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00388.html">Re: [MUD-Dev] Virtual Chemistry</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00486.html">Re: [MUD-Dev] Virtual Chemistry</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00478"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00478"><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] Virtual Chemistry</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<LI><strong><A NAME="00359" HREF="msg00359.html">Re: [MUD-Dev] Virtual Chemistry</A></strong>,
Marian Griffith <a href="mailto:gryphon#iaehv,nl">gryphon#iaehv,nl</a>, Mon 04 Aug 1997, 04:33 GMT
<UL>
<LI><strong><A NAME="00360" HREF="msg00360.html">Re: [MUD-Dev] Virtual Chemistry</A></strong>,
Matt Chatterley <a href="mailto:root#mpc,dyn.ml.org">root#mpc,dyn.ml.org</a>, Mon 04 Aug 1997, 05:06 GMT
<UL>
<LI><strong><A NAME="00383" HREF="msg00383.html">Re: [MUD-Dev] Virtual Chemistry</A></strong>,
Marian Griffith <a href="mailto:gryphon#iaehv,nl">gryphon#iaehv,nl</a>, Tue 05 Aug 1997, 03:36 GMT
<UL>
<LI><strong><A NAME="00388" HREF="msg00388.html">Re: [MUD-Dev] Virtual Chemistry</A></strong>,
Matt Chatterley <a href="mailto:root#mpc,dyn.ml.org">root#mpc,dyn.ml.org</a>, Tue 05 Aug 1997, 13:40 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</ul>
</ul>
</ul>
<LI><strong><A NAME="00478" HREF="msg00478.html">Re: [MUD-Dev] Virtual Chemistry</A></strong>,
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Tue 12 Aug 1997, 00:00 GMT
<UL>
<LI><strong><A NAME="00486" HREF="msg00486.html">Re: [MUD-Dev] Virtual Chemistry</A></strong>,
Matt Chatterley <a href="mailto:root#mpc,dyn.ml.org">root#mpc,dyn.ml.org</a>, Tue 12 Aug 1997, 06:19 GMT
<UL>
<LI><strong><A NAME="00564" HREF="msg00564.html">Re: [MUD-Dev] Virtual Chemistry</A></strong>,
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Thu 14 Aug 1997, 20:43 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</ul>
<LI><strong><A NAME="00336" HREF="msg00336.html">Re: [MUD-Dev] Virtual Chemistry</A></strong>,
Marian Griffith <a href="mailto:gryphon#iaehv,nl">gryphon#iaehv,nl</a>, Sat 02 Aug 1997, 19:12 GMT
<UL>
<LI><strong><A NAME="00480" HREF="msg00480.html">Re: [MUD-Dev] Virtual Chemistry</A></strong>,
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Tue 12 Aug 1997, 01:07 GMT
</LI>
</UL>
</LI>
</ul>
</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>