<!-- MHonArc v2.4.4 --> <!--X-Subject: Re: [MUD-Dev] Virtual Chemistry --> <!--X-From-R13: "Xba O. Znzoreg" <wyflfvapNvk.argpbz.pbz> --> <!--X-Date: from scipio.globecomm.net [207.51.48.12] by in11.ibm.net id 868853645.42036-1 Mon Jul 14 04:14:05 1997 CUT --> <!--X-Message-Id: 199707140413.XAA03153@dfw-ix14.ix.netcom.com --> <!--X-Content-Type: text/plain --> <!--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:jlsysinc#ix,netcom.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="msg00123.html">Previous</a> | <a href="msg00125.html">Next</a> ] Thread: [ <a href="msg00114.html">Previous</a> | <a href="msg00127.html">Next</a> ] Index: [ <A HREF="author.html#00124">Author</A> | <A HREF="#00124">Date</A> | <A HREF="thread.html#00124">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>: "Jon A. Lambert" <<A HREF="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</A>></LI> <LI><em>Date</em>: Mon, 14 Jul 1997 00:14:21 -0400</LI> </UL> <!--X-Head-of-Message-End--> <!--X-Head-Body-Sep-Begin--> <HR> <!--X-Head-Body-Sep-End--> <!--X-Body-of-Message--> <PRE> > From: Matt Chatterley <root#mpc,dyn.ml.org> > Subject: [MUD-Dev] Virtual Chemistry > On Sat, 12 Jul 1997, Jon A. Lambert wrote: > > [Snip my original post] > > > An excellent idea. I think we may have peripherally touched on this > > concept in a thread on "assemblies" of objects. It was my thought that > > these assemblies would have there own predefined attributes and methods > > that hide unassembled objects attributes and methods. The assembly class > > might have an assemble method and a disassemble method. The assemble > > method checking that all components are present and the disassemble > > creates the aggregated objects upon disassembly. > > I think some rudimentary chemistry/alchemy could be implemented using > > this technique. > > I think so. Perhaps basic checking on assemble, ie 'are they mixable?' > (ie, you can't really mix a liquid and a gas), and then a causitive result > (just what *will* happen if you mix ground up dragons tooth and wolves > blood?). A central information storage could record that 'elements' X Y > and Z have certain reactions with each other, and mixtures could report > the quantities of each the contain to get the appropriate return, even. > My assumptions were that the results of the combination/assembly were known in advance (created by builders). I see from some of the other posts and yours here that you could in fact create new assemblys on the fly given enough rudimentary (al)chemistry. Perhaps this is a more interesting way to proceed? > > Perhaps some attributes of an assembly class could be: > > > > components list > > spells list > > energy/mana consumer > > energy/mana producer > > components list destroyed upon assembly > > components list released upon disassembly > Another mundane example of alchemy using some odd mud language: class bread implements assembly { list components = ((wheat , 2 cups),(salt, 1 tsp),(yeast,1 tsp)); list skills = ("bake"); list spells = (); int energy = 5000; // Cal int time = 40; // min list released = (crumbs); list destroyed = (wheat ,salt, yeast); class method assemble() { if (components.present() and skills.check() and energy > 5000) { components.destroy(); consume(energy); return create(time); // instance bread in time } } class method disassemble() { released.create(); destroyed.delete(); return energy; } instance method eat() { return disassemble(); } class method bake() { return assemble(); } } Just a start, full of holes. :) JL - I am the Dragon of Grindly Grund, but my lunches aren't very much fun, For I like my damsels medium rare, And they always come out well done. ---------- </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="00132" HREF="msg00132.html">Re: [MUD-Dev] Virtual Chemistry</A></strong> <ul compact><li><em>From:</em> Matt Chatterley <root#mpc,dyn.ml.org></li></ul> <li><strong><A NAME="00127" HREF="msg00127.html">Re: [MUD-Dev] Virtual Chemistry</A></strong> <ul compact><li><em>From:</em> Adam Wiggins <nightfall#user1,inficad.com></li></ul> </UL></LI></UL> <!--X-Follow-Ups-End--> <!--X-References--> <!--X-References-End--> <!--X-BotPNI--> <UL> <LI>Prev by Date: <STRONG><A HREF="msg00123.html">What about drugs?</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg00125.html">Re: [MUD-Dev] What about drugs?</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg00114.html">Re: [MUD-Dev] Virtual Chemistry</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg00127.html">Re: [MUD-Dev] Virtual Chemistry</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#00124"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#00124"><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> <LI><strong><A NAME="00113" HREF="msg00113.html">Re: [MUD-Dev] Virtual Chemistry</A></strong>, Matt Chatterley <a href="mailto:root#mpc,dyn.ml.org">root#mpc,dyn.ml.org</a>, Sun 13 Jul 1997, 15:24 GMT <UL> <LI><strong><A NAME="00133" HREF="msg00133.html">Re: [MUD-Dev] Virtual Chemistry</A></strong>, Michael Hohensee <a href="mailto:michael#sparta,mainstream.net">michael#sparta,mainstream.net</a>, Mon 14 Jul 1997, 23:10 GMT <UL> <LI><strong><A NAME="00134" HREF="msg00134.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 15 Jul 1997, 00:49 GMT </LI> </UL> </LI> </UL> </LI> <LI><strong><A NAME="00114" HREF="msg00114.html">Re: [MUD-Dev] Virtual Chemistry</A></strong>, Marian Griffith <a href="mailto:gryphon#iaehv,nl">gryphon#iaehv,nl</a>, Sun 13 Jul 1997, 19:17 GMT </LI> <LI><strong><A NAME="00124" HREF="msg00124.html">Re: [MUD-Dev] Virtual Chemistry</A></strong>, Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Mon 14 Jul 1997, 11:14 GMT <UL> <LI><strong><A NAME="00127" HREF="msg00127.html">Re: [MUD-Dev] Virtual Chemistry</A></strong>, Adam Wiggins <a href="mailto:nightfall#user1,inficad.com">nightfall#user1,inficad.com</a>, Mon 14 Jul 1997, 12:09 GMT </LI> <LI><strong><A NAME="00132" HREF="msg00132.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 14 Jul 1997, 22:44 GMT </LI> </UL> </LI> <LI><strong><A NAME="00131" HREF="msg00131.html">Re: [MUD-Dev] Virtual Chemistry</A></strong>, Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Mon 14 Jul 1997, 13:55 GMT </LI> <LI><strong><A NAME="00310" HREF="msg00310.html">Re: [MUD-Dev] Virtual Chemistry</A></strong>, Huibai <a href="mailto:ashen#pixi,com">ashen#pixi,com</a>, Thu 31 Jul 1997, 14:22 GMT </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>