INFO
key - the OLD and OBSOLETE /obj/key.c.
DESCRIPTION
This key is obsolete, a special 'generic key object' is no
longer necessary for keys on NannyMUD. See /build/key for
information on how to make a key in the /std standard.
With this key you don't set names and aliases like in a
stdkey, instead you give the key a type and a code.
You can do this in two ways:
key->set_key_data("type code");
key->set_type("type");
key->set_code("code");
All /obj/key keys have the property special_item, weight 1,
and value 10 by default. You may find that these keys are
often generated with the MAKE_KEY macro provided by using
the obsolete #include .
SEE ALSO
/build/key /std/basic/basic_lock.doc
Help topics available:
| armour | drinks | food | key | monster |
| smartmonster | weapon |
You are guest number 149 since November 2019.
This file was last modified: June 2000.