Properties is a very convenient way of giving rooms and other objects more information and functions. The properties are stored in a database, clone /secure/prop and follow instructions in that object. FUNCTIONS add_property(str, val) Adds or changes a property in the object, if val is not specified, it is set to 1. set_property(str, val) Same as add_property, but ALL old properties are removed from the object. remove_property(str) Tries to remove the property str. If no arg, all properties will be removed. query_property(str) Returns the value of the property str. (Or just 1 if the property has no 'value'). DESCRIPTION The property database is contains the most up-to-date information about properies. This database lets wizards add the properties they think are missing etc. Read /doc/properties/prop.tut for how to get started and /doc/properties/prop.doc for more information about it. SEE ALSO See more about using properties in /doc/examples/*.c
Help topics available:
Livings/ | Monsters/ | Objects/ | Players/ | Rooms/ |
usage |
You are guest number 77 since November 2019.
This file was last modified: June 2000.