chamber1.c

nightmare3_fluffos_v2/lib/domains/Praxis/mountains/chamber1.c · 1.8 KB

From the archive nightmare3_fluffos_v2.zip

Download the archive   « Back to the archive contents

#include <std.h>

inherit ROOM;

void create() {
    ::create();
    set_property("light", -1);
    set_property("indoors", 1);
    set_property("no teleport", 1);
    set_property("no castle", 1);
      set_short( "A dark underground chamber");
      set_long(
        "You are in a very dark chamber, illuminated only by your "
        "light source.  The stench in here is foul, and trapped.");
    set_items(
        (["light" : "What light?",
	  "tunnel" : "It is very dark.",
	  "chamber" : "You cannot see it very well."]) );
    set_exits( 
	      (["west" : "/domains/Praxis/mountains/tunnel1"]) );
}

void reset() {
    object arm, mon;

    ::reset();
    if(!present("goblin")) {
        mon = new(MONSTER);
        mon->set_name("goblin");
        mon->set_id( ({ "soldier", "goblin", "goblin soldier" }) );
        mon->set_level(3);
        mon->set_short( "Goblin soldier");
        mon->set_long( "An ugly monster who has likely never "
		 "seen the light of day.");
        mon->set_race( "goblin");
        mon->set_aggressive( 10);
        mon->set_alignment(-140);
        mon->set_hp(240);
        mon->set_languages( ({ "goeblesque" }) );
        mon->set_speech(10, "goeblesque", ({ "Piss off!", "Die, asshole!" }),
          1);
        mon->set_gender("female");
        mon->set_body_type("human");
        mon->move(this_object());
        arm = new(ARMOUR);
        arm->set_name("boot");
        arm->set_id( ({ "boot", "boot", "goblin boot" }) );
        arm->set_short( "Right goblin boot");
        arm->set_long( "A boot for right foot made from the rotting leather goblins can only find.");
        arm->set_type("boot");
        arm->set_limbs( ({ "right foot" }) );
        arm->set_ac(3);
        arm->set_mass(120);
        arm->set_value(50);
        arm->move(mon);
        mon->force_me("wear boot");
    }
}

Site Stats

Snippets: 1791
Codebases: 571