Mudlib value
Documentation for the object-value functions for the mudlib in /std/object/value.c.
Functions
-
void set_value_factor(float f)
This factor is multiplied unto the value of the item. It’s an easy way to modify the avlue of something being able to turn up back to normal again.
-
float query_value_factor()
Returns the value factor, see also set_value_factor(float f).
-
void set_value(float value)
Sets the value of the item to a float.
-
void reduce_value_by(int times)
Divide the value of the item by this number
-
void increase_value_by(int times)
Multiply the value of the item by this number
-
float query_value()
Returns the value of the item which is normally calculated as:
object value * value factor
File generated by Lima 1.1a4 reStructured Text daemon.