[MUD-Dev] Material state transformations

Richard A. Bartle richard at mud.co.uk
Wed Jul 2 09:45:29 CEST 2003


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 at kanga.nu
https://www.kanga.nu/lists/listinfo/mud-dev



More information about the mud-dev-archive mailing list