/* /d/Examples/misc/torch.c * from Nightmare IV * a torch which can be wielded and lit * created by Descartes of Borg 940427 */ #include <std.h> inherit LIGHT; void create() { light::create(); set_name("torch"); set_id( ({ "torch", "old torch", "wooden torch" }) ); set_adjectives( ({ "old", "an", "wooden" }) ); set_short("an old, wooden torch"); set_long("An old wooden stick treated with something fireproof. " "A cloth at the tip is where fuel is kept to allow the torch to " "burn in the darkest of night." ); set_light(2, "light", "extinguish"); set_fire(1); set_fuel_required(1); set_fuel(300); set_source_required(1); set_mass(80); set_value(60); set_burnt_value(10); set_type("blunt"); set_wc(2); set_ac(1); } it("/realms/ariel/wonder/rooms/office2.c","up"); set_door("mirror","/realms/ariel/wonder/rooms/passage4.c", "west",0); }