void create() { ::create(); set_gender( random(2)+1 ); /* OBJEDIT { */ set_spd( 11 ); set_con( 4 ); set_str( 4 ); set_dex( 14 ); set_wil( 9 ); set_cha( 15 ); set_int( 3 ); set_emp( 5 ); set_distant( "a rat" ); set_specific( "the rat" ); set_look( "It's a rat, a large, furry pest known for spreading disease and stealing grain. ~Pron is $(HP)." ); set_plural( "rats" ); set_name( "rat" ); set_type( "rodent" ); set_droppable( 1 ); set_weight( 3000 ); /* } OBJEDIT */ set_living_name( name ); set_food(query_food_capacity()); set_drink(query_drink_capacity()); set_product_aspect( C_RAT ); add_product( C_MEAT, 3, 10 ); add_product( C_PELT, 2, 20 ); //add_product( C_TAIL, 1, 10 ); set_known_forms( (["animal": ({ "bite", "dodge"}) ]) );
void create() { object ob; ::create(); set_gender( random(2)+1 ); /* OBJEDIT { */ set_str( 18 ); set_dex( 10 ); set_con( 24 ); set_spd( 20 ); set_wil( 4 ); set_int( 4 ); set_emp( 4 ); set_cha( 4 ); set_distant( "a fire lizard" ); set_specific( "the fire lizard" ); set_look( "~Name ~verbis small and red with a wingspan no greater than about a meter. ~Pron occasionally emits a small puff of smoke from ~poss nostrils. ~Pron is $(HP)." ); set_alt_name( "fire lizard" ); set_alt_plural( "fire lizards" ); set_plural( "lizards" ); set_name( "lizard" ); set_type( "animal" ); set_droppable( 1 ); set_weight( 12000 ); /* } OBJEDIT */ set_living_name( name ); set_food(query_food_capacity()/2); set_drink(query_drink_capacity()/2); set_known_forms( (["dragon": ({"dragon_bite","dragon_hide"}) ]) );
void create() { object ob; ::create(); if (!clonep(this_object())) { return; /* blueprints don't get stuff */ } set_gender( random(2)+1 ); // both male and female guards /* OBJEDIT { */ set_distant( "a captain" ); set_specific( "the ship captain" ); set_look( "~Name ~verbis one of the captains of the 3 ships. ~Pron ~verbstand watch against rowdy passengers and stowaways. ~Pron ~verbis ?(ISCLOTHED:wearing $(WORN)):(unclothed), and ~verbis holding $(HELD). ~Pron ~verbis $(HP)." ); set_alt_name( "ship captain" ); set_alt_plural( "captain" ); set_plural( "captains" ); set_name( "captain" ); set_type( "human" ); set_droppable( 1 ); set_weight( 60000 ); /* } OBJEDIT */ set_living_name( name ); set_known_forms( (["sword": ({"slash","stab","dodge","parry"}), "brawl": ({"punch","dodge"}) ]) );
void create() { /* OBJEDIT { */ set_name("mixing bowl"); set_gettable( 1 ); set_droppable( 1 ); set_weight( 500 ); set_bulk_capacity( 3000 ); set_weight_capacity( 20000 ); set_value( 30 ); /* } OBJEDIT */ ::create(); }
void create() { ::create(); /* OBJEDIT { */ set_name( "bear skin" ); set_gettable( 1 ); set_droppable( 1 ); set_height( 5 ); set_weight( 2000 ); set_bulk( 1800 ); set_value( 70 ); /* } OBJEDIT */ }
void create() { object ob; ::create(); set_gender( random(2)+1 ); /* OBJEDIT { */ set_spd( 12 ); set_con( 13 ); set_str( 14 ); set_dex( 15 ); set_wil( 10 ); set_cha( 3 ); set_int( 4 ); set_emp( 3 ); set_distant( "a wolf" ); set_specific( "the wolf" ); set_look( "~Name ~verbhas gray fur, penetrating yellow eyes, and a generally surly disposition. ~Pron is $(HP)." ); set_plural( "wolves" ); set_name( "wolf" ); set_type( "wolf" ); set_droppable( 1 ); set_weight( 45000 ); /* } OBJEDIT */ set_living_name( name ); set_food(query_food_capacity()/2); set_drink(query_drink_capacity()/2); add_form("animal"); set_form("animal", 1); remove_form("brawl"); set_race("canine"); set_wc((["piercing":6])); set_wimpy(30); /* set_env_var( "skin_type", "/monsters/skin/wolf_pelt" ); set_env_var( "meat_type", "/monsters/meat/wolf" ); */ set_product_aspect( C_WOLF ); add_product( C_MEAT, 3, 40 ); add_product( C_PELT, 7, 20 ); // add_product( C_TOOTH, 4, 40 ); clone_object("/ai/carnivore")->move(this_object()); ob = clone_object("/ai/aggro"); ob->set_aggro_level(10); ob->move(this_object()); }
void create() { ::create(); /* OBJEDIT { */ set_gettable( 1 ); set_droppable( 1 ); set_weapon_type( "bow" ); set_type( "weapon" ); set_wc( (["piercing":7]) ); set_requirement( (["dex":8]) ); set_name( "bow" ); set_distant( "a bow" ); set_specific( "the bow" ); /* } OBJEDIT */ }
create() { ::create(); /* OBJEDIT { */ set_edible( 1 ); set_gettable( 1 ); set_droppable( 1 ); set_weight( 1000 ); set_value( 50 ); set_distant( "a cake" ); set_specific( "the cake" ); set_look( "A freshly baked cake with deluxe chocolate frosting." ); set_plural( "cakes" ); set_name( "cake" ); set_alt_name( "chocolate cake" ); /* } OBJEDIT */ }
void create() { object ob; ::create(); set_gender( 0 ); /* OBJEDIT { */ set_distant( "a giant centipede" ); set_specific( "the giant centipede" ); set_look( "~Name ~verbis over one meter long and has more legs than any decent critter should own. While definately not a full hundred, it's close enough to warrant the name. ~Pron is $(HP)." ); set_alt_name( "giant centipede" ); set_alt_plural( "giant centipedes" ); set_plural( "centipedes" ); set_name( "centipede" ); set_type( "animal" ); set_droppable( 1 ); set_weight( 45000 ); /* } OBJEDIT */ set_living_name( name ); set_known_forms( (["animal": ({"bite","poisonbite","dodge"}) ]) );
void create() { object ob; ::create(); set_gender( 0 ); /* OBJEDIT { */ set_distant( "a giant scorpion" ); set_specific( "the giant scorpion" ); set_look( "~Name is a nasty big crawly thing of the sort that give people nightmares. It has some eight legs, two claws, and a great tail with a nasty barbed stinger on the tip. This is definitely one monster that not even a mother could love. Oh, and the claws could probably cut you in half too. ~Pron is $(HP)." ); set_alt_name( "giant scorpion" ); set_alt_plural( "giant scorpions" ); set_plural( "scorpions" ); set_name( "scorpion" ); set_type( "animal" ); set_droppable( 1 ); set_weight( 45000 ); /* } OBJEDIT */ set_living_name( name ); set_known_forms( (["animal": ({"grab","sting","dodge"}) ]) );
void create() { object ob; ::create(); set_gender( 0 ); /* OBJEDIT { */ set_distant( "a giant wasp" ); set_specific( "the giant wasp" ); set_look( "~Name ~verbis a great black flying menace. Its wings emit an incessant buzz as it hovers a meter or two off of the ground, searching for prey. ~Pron is $(HP)." ); set_alt_name( "giant wasp" ); set_alt_plural( "giant wasps" ); set_plural( "wasps" ); set_name( "wasp" ); set_type( "animal" ); set_droppable( 1 ); set_weight( 45000 ); /* } OBJEDIT */ set_living_name( name ); set_known_forms( (["animal": ({"sting","dodge"}) ]) );
create() { ::create(); /* OBJEDIT { */ set_edible( 1 ); set_food_value( 10 ); set_drink_value( 2 ); // Per 1000 units set_weight( 1500 ); set_bulk( 1000 ); set_value( 0 ); set_distant( "dough" ); set_specific( "the dough" ); set_look( "A pale brown glob of raw dough." ); set_plural( "dough" ); set_name( "dough" ); set_use_msg( "~Name ~verbgulp down some raw dough." ); set_quantity( 250 ); set_solid( 1 ); set_gettable( 1 ); set_droppable( 1 ); /* } OBJEDIT */ call_out( "rise", 60 ); state = 0; // Unraised cooked = 0; }
void setup() { set_id("workroom"); set_long("Your workroom sits patiently in your home directory, waiting for you to enter it. Although not well known by most of the LPmud community, the 'home' command is simply a slick user interface invented very early on in LPmud history. Workrooms are actually entered by opening them."); set_droppable("It doesn't seem to want to leave your directory."); }