/* Filename : amulet.c * Description : an autoload-object * * written : 03-10-1996 - Gunner * last modified : 27-05-1998 - Gunner * HTML-Version : 04-02-2000 - Ghorwin */ #include <mudlib.h> inherit I_ARMOUR; #define AMULET "/doc/crashcourse/course07/amulet" create() { ::create(); set_name("magical amulet"); add_id(({"amulet","magic amulet","special amulet"})); set_short("A magical amulet"); set_long("The amulet seems to have some magical properties. Wonder " "what's so special about it?\n"); set_weight(0); set_value(0); set_ac(0); // zero ac for autoload-objects set_type("amulet"); set_info("The amulet is an autoloading amulet.\n"); add_property("auto_load",AMULET+":"); add_property(({"hidden","magic","metal","protected"})); replace_program(I_ARMOUR); }