NAME basic_thing.c - a simple thing you can pick up. INHERITS stationary.c (see stationary.doc for more info) SETUP FUNCTIONS set_value set_weight QUERY FUNCTIONS query_weight query_value extra_long (set with add_property("__extra_look",""); PROPERTIES __extra_look Details can be found below. non-gettable non-droppable NOTA BENE If you are using the non-gettable with anything but a function call you probably want to use /std/stationary.c instead. ======================================================================= NAME set_value - set the value of this object SYNTAX void set_value(int value); DESCRIPTION Set the value of this object. (in gold coins) This value is sent to eval(). ======================================================================= NAME set_weight - set the weight of this object SYNTAX void set_weight(int weight); DESCRIPTION Set the weight of the object. The unit is approximately kilograms. ======================================================================= PROPERTIES As stated in basic.doc, all properties are run through the eval() funktion and the value from that call is then the returned value of the query_property() call. Have this in mind when you read the below! __extra_look: What extra_look returns for this object. If used, should be string. This string is run through msg before it is returned. non-gettable: Makes the object non-gettable if true. If a string, that string is written to this_player() when get() is called. non-droppable: Makes the object non-droppable if true. If set to a string, that string is written from drop(). =======================================================================
Help topics available:
basic.doc | basic_lock.doc | basic_thing.doc | stationary.doc |
You are guest number 64 since April 2020.
This file was last modified: June 2000.