simple_object.c
dw_fluffos_v1/lib/d/learning/newbie/introduction/examples/simple_object.c · 488 B
From the archive dw_fluffos_v1.tar.gz
Download the archive « Back to the archive contents
/*
This is a basic object!
Written by Drakkos.
04/10/2000
*/
inherit "/obj/clothing";
void setup() {
set_name("dungarees");
set_short("pair of waterproof dungarees");
add_adjective(({"pair of", "waterproof"}));
set_long("This is a pair of waterproof dungarees. Luckily they "
"are also ooze proof.\n");
add_adjective(({"pair of", "waterproof"}));
set_weight(45);
set_value(4000);
setup_clothing(50000);
set_type("robe");
}