From the NannyMUD documentation

LAST CHANGE

2005-07-29

NAME

        properties - About the NannyMUD property system.

FUNCTIONS

SETUP FUNCTIONS

        add_property
        set_property

QUERY FUNCTIONS

        query_property

OTHER FUNCTIONS

        remove_property

DESCRIPTION

        Properties is a very convenient way of giving rooms and other
        objects more information and functions. There are two main
        types of properties, internal and external, used in the lib.
        Some of the external properties are incremental, see below.
        
        The internal properties are used by objects to govern their
        own behaviour, while external properties influence how other
        objects react.

        The external properties are stored in a database, while the
        internal properties are documented in the documentation for
        the objects that define them. The documentation for both kinds
        of properties can be accessed from the xmanmod.

        The external properties are grouped into classes. The classes
        are:
        
        Players
        Monsters
        Livings
        Rooms
        Objects
        
        Some of the external properties are incremental, i.e. when
        you add the property, the value is increased by one and when
        you remove it, the value is decreased by one. The exact list
        of those properties are hardcoded into /obj/property.

EXAMPLE

        The property "plain" is an external property

EXAMPLE

        The property "nightvision" is an incremental external property

EXAMPLE

        The property "__remote" is an internal property

SEE ALSO

        xmanmod in xdoc/xmanmod

SEE ALSO

        temp_ in std/basic/basic

FUNCTION


NAME

        add_property - Adds or changes a property in an object

SYNTAX

        add_property(str, val)

DESCRIPTION

 
       Adds or changes a property in an object, if val is not
       specified, it is set to 1.

FUNCTION


NAME

        set_property - Sets a property in an object

SYNTAX

        set_property(str, val)

DESCRIPTION

 
         Same as add_property, but ALL old properties are removed
         from the object.      

FUNCTION


NAME

        query_property - Returns the value of the property

SYNTAX

        query_property(str)

DESCRIPTION

 
        Returns the value of the property str.  (Or just 1 if the
        property has no 'value').

FUNCTION


NAME

        remove_property - Remove a property

SYNTAX

      remove_property(str)  

DESCRIPTION

 
        Tries to remove the property str. If no arg, all properties
        will be removed.