[Home] [Groups] - Message: [Prev in Group] [Next in Group]

nu.kanga.list.mud-dev

28002: RE: [MUD-Dev] Material state transformations

[Full Header] [Plain Text]
From: "Richard A. Bartle" <richard@mud.co.uk>
Newsgroups: nu.kanga.list.mud-dev
Date: Wed, 2 Jul 2003 09:45:29 +0100
References: [1]
Organization: Kanga.Nu
On 1 July 2003, Yuri Bazhukov wrote:

> I am very interested, in material transformations from solid to
> liquid, from liquid to gaseous form.  Is anybody have ideas how to
> solve these problems, or already implemented this in their own
> MUDs?

The way I do it is fairly obvious: when ice starts to melt, I create
a water object. The mass of the water increased by the amount that
the mass of the ice decreases. When the mass of the ice reaches 0,
it's destroyed.

The same trick can be applied to water-to-steam, water-to-ice and
steam-to-water.

If you don't want to go through the melting/freezing
boiling/condensing process, just destroy the ice object and replace
it with a water object, transferring any appropriate properties
between them that you need.

Richard
_______________________________________________
MUD-Dev mailing list
MUD-Dev@kanga.nu
https://www.kanga.nu/lists/listinfo/mud-dev