[an error occurred while processing this directive]
[<a href="index.shtml">Package Index</a></code> | <a href="index_std.shtml">Mudlib Index</a></code> | <a href="index_eff.shtml">Effect Index</a></code>]<br><h2>File /obj/meltable.c</h2>

<BR>
This is an inheritable for frozen food which melts, 
based on the temperature of the room environment in 
which it finds itself. 
<P>
It performs just as normal food, apart from the following:
<P>
- It cannot be cured or dried
<P>
- It does not decay
<P>
- It cannot be forced to behave as a liquid
<P>
- When applied or eaten, it will cause a brief decrease
in temperature of the user.
<P>
It will melt into a liquid, which can be set using 
set_melt_result() and queried using query_melt_result().
It defaults to water.
<P>
The melt level can be checked using query_melt_level().  This
starts at a value of ten times the original weight of the 
meltable food.
<P>
The rate of melting adjusts itself regularly, based on the
temperature.  This can be checked with query_melt_rate().
<P>
The level of melting is shown in the long and short of the object.
These are created using query_short_rotten_adjective and 
query_long_decay_level, and calculated using the melt level and the
original melt level.  The level of melting is independent of the
amount of the food that has been eaten or cut up.
<P>
(Technical note: the melt level and original melt level are not
adjusted when a meltable object is cut into pieces, nor when part of it
is eaten.  This doesn't affect anything except that the messages in the
long and short which tell you how melted something is will change more
slowly than they would otherwise, ie if the food had been smaller to 
start with.)
<p>Written by Carmine

<h2>Inherits</h2>
This class inherits the following classes <a href="obj.food.c.shtml">/obj/food.c</a><h2>Includes</h2>
This class includes the following files <a href="include.weather.h.shtml">/include/weather.h</a> and <a href="include.bits_controller.h.shtml">/include/bits_controller.h</a>[an error occurred while processing this directive]

