Пример #1
0
void create_object(void)
{
    set_short("Captain Hilary Rosen",1);
    set_long("Hilary is the captain of the Riaa. She rules it with an " +
             "iron hand. She has made it her mission in life to end piracy " +
             "and protect the bards who trust the Riaa to distribute " +
             "their goods around the world. She's not doing very well " +
             "at this particular moment.\n");
    set_name("hilary");
    add_id("captain"); //Added by Angelwings
    add_id("captain hilary");
    add_id("captain hilary rosen");
    add_id("hilary rosen");

    set_level(2);
    set_race("human");
    set_hp(80 + random(25));
    set_al(0);
    add_money(100 + random(20));
    set_gender(2);
    set_skill("combat",20 + random(10));

    make(PCWEAPON + "sword");
    make(PCARMOUR + "leather_armour");
    init_command("wield sword");
    init_command("wear armour");

    load_chat(10,({
        "Hilary says: Sign on to my crew and I'll make you rich and famous.\n",
        "Hilary says: All I do, I do for the bards.\n",
    }));
Пример #2
0
void setup(void) {
   set_name("smith");
   add_id("angmar's smith");
   set_gender("male");
   set_race("human");
   set_short("Angmar's smith");
   set_long("The smith sighs. He is locked into the service of Angmar unto death. " +
      "The smith will value armors and weapons " +
      "for a reasonable fee." +
      "\n\t'cost item' shows what the smith would take to value the item." +
      "\n\t'show item' shows the item to the smith.");
   set_level(1);
   set_hit_skill("combat/unarmed");
   set_skill("combat/unarmed", BASE_OFFENSE);
   set_skill("combat/defense", BASE_DEFENSE);
}
Пример #3
0
void extra_create()
{
    
    set_name( "tendrils" );
    add_alias( "tendril" );
    add_alias( "tendrils" );
    set_short( "some writhing black tendrils" );
    set_ansi_short ( sprintf( "%ssome writhing black tendrils%s", HIK, NORM ) );
    set_long( "These horrible black tendrils writhe and grip about wildly."
    );
    set_alignment( DEMONIC_AL );
    set_stat( "str" , 200 );
    set_stat( "con" , 300 );
    set_stat( "wil" , 300 );
    set_stat( "dex" , 130 );
    set_skill( "dodge", 65 );
    set( NoStealP );
    set( NoStunP );
    set_natural_ac( 3 );
    set_heal_rate( 30 );
    set_heal_amount( 6 );
    set_max_damage( 10 );
	set_aggressive( 1 );
	add_combat_message( "grope", "gropes" );
	add_combat_message( "slither on", "slither on" );
}    
Пример #4
0
		(: bite()  :),     
        }) );
    	    	     
		set("combat_exp",100000);
        set_skill("dodge", 200);
        set_temp("apply/attack",100);
        setup();
}
Пример #5
0
void create() {
::create();
set_name("Raymond");
set_short("Raymond, the insane one");
set_long("This is the biggest human being you have ever seen. He looks"
	" almost like an ogre, but is not as ugly. He has black hair"
	" with the most puppy dog brown eyes you have ever seen. He"
	" looks at you and scoffs at your tiny size. I guess you could"
	" say he has the face of an angel and the body of a GOD!!!");
set("aggressive",50);
set_subclass("monk");
set_level(99);
set_stats("strength",300);
set_stats("constitution",250);
set_skill("attack",100);
set_skill("melee",300);
set_id(({"Raymond"}));
Пример #6
0
void setup() {
	set_name("apep");
	add_id("serpent", "chaosserpent", "chaos serpent");
	set_short("Apep the chaos serpent");
	set_long("Apep the chaos serpent is a giant beast with a strong " +
		"hiss and long sharp fangs that look like they hit hard.");
	set_race("demon");
	set_level(50);
	set_hit_skill("combat/unarmed");
	set_skill("combat/defense", 1);
	set_skill("combat/unarmed", 200);
	set_aggressive(0);
	set_spell_chance(50);
	set_spell_damage(1);
	set_spell_message("Apep casts a chaotic brain scrambling spell at $t.");
	set_hit_string("bite");
}
Пример #7
0
void set_skills(int max_value, int level)
{
        int guai_value;
        ::set_skills(max_value, level);
        
       	if (level==1) guai_value = max_value+max_value/8;
	else if (level==2) guai_value = max_value+max_value/6;
	else guai_value = max_value+max_value/4;
        set("JQB_known",1);
        set_skill("wuxing-quan", guai_value+random(16));
	set_skill("moondance", guai_value+random(16));
	set_skill("whip", guai_value+random(16));
	set_skill("jueqingbian", guai_value+random(16));
        set("title", "伤情怨妇");
        set("gender", "女性");
	set_skill("moonforce", guai_value+random(16));
	set_skill("literate", 180);
	set_skill("moonshentong", guai_value+20+random(16));
	map_skill("spells", "moonshentong");
	map_skill("force", "moonforce");
	map_skill("unarmed", "wuxing-quan");
	map_skill("whip", "jueqingbian");
	map_skill("parry", "jueqingbian");
	map_skill("dodge", "moondance");
	create_family("月宫",3 , "弟子");
	set("force_factor", query_skill("force")/2);
	set("mana_factor", query_skill("spells",1));
	                
        carry_object("/d/obj/armor/jinjia.c")->wear();
        carry_object("/d/obj/weapon/whip/longsuo")->wield();
}
Пример #8
0
void setup(void) {
   set_name("automaton");
   set_gender("neuter");
   set_adj("monstrous");
   set_short("A monstrous automaton");
   set_long("The automaton has been brought to life by a " +
      "necromancer of considerable power. " +
      "It has been stitched together using a variety of " +
      "bits, pieces, and parts from other heroes, champions, " +
      "and villains. It has one and " +
      "only one purpose, and that is to destroy the living.");
   set_race("monster");
   set_level(NOKICLIFFS_MONSTER_LEVEL);
   set_hit_skill("combat/unarmed");
   set_skill("combat/unarmed", NOKICLIFFS_OFFENSE * 3);
   set_skill("combat/defense", NOKICLIFFS_DEFENSE * 5);
   add_block("up");
}
Пример #9
0
	        (: do_bone_spirit() :),
        }) ); 

        set("combat_exp", 300000000);
        set("bellicosity",1000000 );

        set_skill("force", 220);
        set_skill("dodge", 220);
        set_skill("unarmed", 220);
        set_skill("staff", 220);
        set_skill("parry", 220);           
        set_temp("apply/attack", 2000);
        set_temp("apply/parry", 1500);
        set_temp("apply/damage", 2000);

        setup();
        carry_object(__DIR__"obj/bone_staff")->wield();
} 
Пример #10
0
void setup() {
   set_name("traveller");

   /* Leave out the gender specification, get a random one */
   /*  set_gender(0); */

   add_adj("wandering");
   set_short("A wandering traveller");
   set_long("This tired-looking person just happens to be passing through " +
      "the area..");
   set_race("human");
   set_level(random(8) + 5);
   set_hit_skill("combat/unarmed");
   set_skill("combat/unarmed", 50);
   set_skill("combat/defense", 100);

   set_wander_area("Gurba");
   start_wander(10, 20);
}
Пример #11
0
void extra_create() 
{
    switch( random( 3 ) )
    {
      case 0 : colorname = "green"  ; color = GRN; break;
      case 1 : colorname = "blue"   ; color = BLU; break;
      case 2 : colorname = "purple" ; color = MAG; break;
    }
    
    set_name( "a slime" );
    add_alias( "slime" );
    add_alias( sprintf( "%s slime", colorname ) );
    
    set_short( sprintf( "a %s slime", colorname ) );
    set_ansi_short ( sprintf( "%sa %s slime", color, colorname )  );
    
    set_long( sprintf( "This slime oozes sloppily through the room absorbing "
      "bits and pieces off of the mushrooms around it. Inside of its "
      "%s colored body you can see quite a bit of material. "
      "Hopefully it doesn't try to digest you!", colorname ) );
    
    set_race( FRACE "slime" );
    set_alignment( NEUTRAL_AL );
    
    set_stat( "str" , 200 );
    set_stat( "con" , 300 );
    
    
    set_proficiency( "hands", 150 );
    set_skill( "dodge", 65 );
    
    set( NoStealP, 1 );
    set( NoStunP, 1 );
    
    set_natural_ac( 10 );
    
    set_heal_rate( 20 );
    set_heal_amount( 60 );
    
    set_chat_rate( 30 );
    set_chat_chance( 50 );
    
    add_phrase( "#emote squelches along." );
    add_phrase( "#emote jiggles wildly." );

    set_move_rate( 40 );
    set_move_chance( 50 );
    
    set_pick_up_rate( 60 );
    set_pick_up_chance( 0 );
    
    set_heart_beat( 30 );
    
    add_special_attack( "mimic", THISO, 30 );
}
Пример #12
0
void setup() {
   object obj;

   set_name("giant");
   set_gender( "male" );
   add_adj("fire");
   set_short("A fire giant");
   set_long("A mighty hot big guy.");
   set_race("giant");
   set_level(15);
   set_aggressive(1);
   set_hit_skill("combat/unarmed");
   set_skill("combat/unarmed", 50);
   set_skill("combat/defense", 100);

   obj = clone_object(DIR + "/obj/fire_sword");
   obj->setup();
   obj->move(this_object());
   do_wield(obj);
}
Пример #13
0
void create(){
  ::create();
  set("short", "Fernelius") ;
  set_skill("Two Weapon Style", 2, "strength") ;
  set("long", @ENDLONG
Fernelius looks like the type of individual you'd expect to see
trying to rob someone in a busy marketplace.  He looks like he
can handle himself in combat, however.
ENDLONG
  );
  set("id",({ "fern", "fernelius" }) ) ;
Пример #14
0
void create(void) {
   ::create();

   set_race_short_desc("Catfolk are very agile and sleek. ");
   set_race_long_desc("Catfolk are mysterious and keep too themselves.  " +
      "The other races are not quite sure where they originally came from.  " +
      "They just showed up one day and have been around ever since.  " +
      "Catfolk tend to be smaller that humans but are extremely dexterous.");

   set_language("catfolk");
   set_skill("language/catfolk",100);
}
Пример #15
0
void setup() {
   object obj;

   set_name("guard");
   set_gender( "female" );
   set_short("A guard");
   set_long("A big and sturdy guard.");
   set_race("human");
   set_level(11);
   set_hit_skill("combat/unarmed");
   set_skill("combat/unarmed", 50);
   set_skill("combat/defense", 100);

   obj = clone_object(DIR + "/obj/bankkey.c");
   obj->setup();
   obj->move(this_object());
   obj = clone_object("/domains/required/objects/short_sword.c");
   obj->setup();
   obj->move(this_object());
   do_wield(obj);
}
Пример #16
0
void setup(void) {
   set_name("guard");
   add_id("brain guard");
   set_gender("male");
   set_short("Brain's guard");
   set_long("The brain's guard. He is a hulking beast with a " +
      "permanent demonic snarl revealing disgusting brown " +
      "teeth. Protruding from his forehead are two large " +
      "slightly curved horns. His skin is a deep blood red " +
      "colour. He is clearly not pleased by your " +
      "presence here so close to his master, the brain.");
   set_race("demon");
   set_level(40);
   set_hit_skill("combat/unarmed");
   set_skill("combat/unarmed", 90);
   set_skill("combat/defense", 200);

   set_spell_chance(50);
   set_spell_damage(30);
   set_spell_message("Guard casts a lightning bolt at $t.\n");
}
Пример #17
0
void setup() {
   set_name("kitten");
   set_gender("male");
   set_short("An ADORABLE little kitten");
   set_long("This little ball of fuzz is the cutest thing you've EVER seen." +
      "  When you look at it it cocks it head in curiousity and emits a " +
      "small mewing noise... AWW!");
   set_max_hp(3000);
   set_hp(3000);
   set_hit_skill("combat/unarmed");
   set_skill("combat/unarmed",1300);
   set_actions(30, ( { "dervish", "purr" } ) );
Пример #18
0
        	 (: smart_fight() :),

	}) );

	set_skill("fork", 90);
	set_skill("parry", 70);
	set_skill("dodge", 50);
	set_skill("move", 70);
	set_skill("hunting-fork",70);
	set_skill("notracesnow",70);
	map_skill("dodge","notracesnow");
	map_skill("fork","hunting-fork");
	map_skill("parry","hunting-fork");
	setup();

	carry_object(__DIR__"obj/golden_armor",
    		([	"name"	:	HIR BLK"灰白衣装"NOR,
			"id":"cloth",
    			"value"	:	0,
				"long"	: "",
			"armor_prop/armor"	: 20, ])
    		)->wear();

/*	carry_object(__DIR__"obj/golden_sword",
			([	"name"	:	HIR BLK"无常铁锁"NOR,
				"id"	: "wuchang hammer",
				"long"	: "",
    				"value"	:	0,	])
		)->wield();*/
}
Пример #19
0
void setup() {
   object obj, obj2;

   set_name("octopus");
   add_adj("giant");
   set_short("An octopus");
   set_long("A very big octopus with long arms, reaching for you.");

   set_level(10);
   set_hit_skill("combat/unarmed");
   set_skill("combat/unarmed", 50);
   set_skill("combat/defense", 100);

   obj = clone_object(DIR + "/obj/chest.c");
   obj->move(this_object());
   obj->setup();

   obj2 = clone_object("/domains/required/objects/coin.c");
   obj2->set_amount(random(500) + 1);
   obj2->move(obj);
   obj2->setup();
}
Пример #20
0
void setup(void) {
   object obj;

   set_name("slim");
   set_gender( "male" );
   add_adj("large");
   set_short("Slim shady");
   set_long("This guy is skinny, he is also kind of creepy looking.  He " +
      "reminds you of an anemic scarecrow.");

   set_race("human");
   set_level(1);
   set_hit_skill("combat/unarmed");
   set_skill("combat/unarmed", 50);
   set_skill("combat/defense", 100);
   set_aggressive(0);

   obj = clone_object(DIR + "/obj/10ghat.c");
   obj->setup();
   obj->move(this_object());
   do_wear(obj);
}
Пример #21
0
void setup(void) {
   set_name("trazom");
   set_short("Trazom the vampire");
   set_long("Trazom's cold dead flesh is desiccated, pulling his maw open " +
      "in a permament groaning position. His eyes are sunk deep in his " +
      "boney face. His hair is incredibly thin and wispy. He seems to " +
      "miss the days when he walked among the living as one from them.");
   set_race("vampire");
   set_level(40);
   set_hit_skill("combat/unarmed");
   set_skill("combat/defense", 100);
   set_aggressive(1);
}
Пример #22
0
void create(void) {
   ::create();

   set_race_short_desc("Gnomes are the brainy brothers of the dwarves..");
   set_race_long_desc("Gnomes are a strange folk. Most humans would call " +
      "them freaks. Always\ntoying with inventions, strange devices, or " +
      "mysterious summonings, rarely \na day goes by in a gnome community " +
      "without some sort of explosion or monster \non the loose. Yet they " +
      "keep continuing. Gnomes seem obsessed with investigating\n" +
      "and finding out of things they come across - often with disastrous " +
      "results.");
   set_language("gnomish");
   set_skill("language/gnomish",100);
}
Пример #23
0
void create()
{
        NPC_D->generate_cn_name(this_object());

        if (random(2))
                set("gender", "男性");
        else
                set("gender", "女性");

        set("no_get", 1);
        set("title", HIW "无辜百姓" NOR);
        set("waiting", "lonely");   
        set_skill("force", 60);
        set_skill("dodge", 60);
        set_skill("parry", 60);
        set_skill("unarmed", 60);
        set_skill("taiji-shengong", 60);
        map_skill("force", "taiji-shengong"); 
        
        add_temp("apply/defense", 500);
        add_temp("apply/armor", 500);

        set("no_suck", 1);
        set_temp("quest_ob", 1);
        
        set("max_neili", 1000);
        set("neili", 1000);     
        set("max_qi", 1000);
        set("max_jing", 1000);  
        set("combat_exp", 50000); 
        
        setup();
        
        carry_object("/clone/misc/cloth")->wear();
        remove_call_out("escape_me");
        call_out("escape_me", 120, this_object());
}
Пример #24
0
int
v_know(struct command *c)
{

  if (kind(c->a) != T_skill) {
    wout(c->who, "%s is not a skill.", c->parse[1]);
    return FALSE;
  }

#if 1
  learn_skill(c->who, c->a);
#else
  set_skill(c->who, c->a, SKILL_know);
#endif
  return TRUE;
}
Пример #25
0
void extra_create()
{
    set_name( "The Great Pumpkin" );
    
    add_alias( "pumpkin" );
    add_alias( "great" );
    add_alias( "great pumpkin" );
    add_alias( "the great pumpkin" );
    add_alias( "great pumpkin" );
    
    set_short( "The Great Pumpkin" ); 
    set_ansi_short( YEL "The Great Pumpkin" );
    
    set_long( "Great might be an understatement. This "
      "pumpkin is gargantuan. Its face is comprised of "
      "two oddly spaced eyes and a row of very sharp teeth. "
      "Its legs are a mass of green tendrils. Amongst the tendrils "
      "you can make out a mess of wires. Someone has rebuilt this "
      "creature. They had the technology. They had the capability "
      "to build the world's first bionic pumpkin. Better than it "
      "was before. Better, stronger, faster." );  
    
    set_gender( "unknown" );
    set_race( RACE );
    
    set_alignment( NEUTRAL_AL );
    
    set_percent_bonus_exp( -50 ); //12mil xp was pretty excessive.
    
    set_stat( "str", 5000 );
    set_stat( "con", 5000 );
    
    set_proficiency( "hands", 150 );
    set_skill( "dodge", 200 );
    
    set( NoStealP, 1 );
    set( NoStunP, 1 );
    
    set_natural_ac( 10 );
    
    set_heal_rate( 30 );
    set_heal_amount( 1000 );
    
    set_move_rate( 60 );
    set_move_chance( 50 );
    set_wander_dir( ({ "/zone/null/eternal/", 
      "/zone/guild/" }) );
Пример #26
0
void extra_create()
{
   object ob;

   set_name(  "Paula Spleen" );
   add_alias( "paula" );
   add_alias( "spleen" );
   add_alias( "paula spleen" );
   add_alias( "Paula Spleen" );
   set_short( "Paula Spleen" );
   set_long(
     "This here be Paula.  She is famous round these parts fer "
     "being the best durn cook this side-a the mississipper.  "
     "She sure must love herself some butter, cuz she's five "
     "hunred pounds if shesa ounce yessireeee yeeehawwww."
   );

   set_race( "pig" );
   set_gender( "female" );
   set_alignment( 250 );

   set_stat( "str",  500 );
   set_stat( "int",    1 );
   set_stat( "wil",  800 );
   set_stat( "con",  500 );
   set_stat( "dex",  300 );
   set_stat( "chr", 1500 );

   set_max_fatigue( 25000 );
   set_natural_ac ( 10 );
   set_proficiency( "pig-fu", 6 );
   set_skill( "dodge", 100 );
   set_percent_bonus_exp( -15 );

   add_special_attack( "chuck_butter", THISO, 10 );

   ob = clone_object( ZOBJ "wig" );
     move_object( ob, THISO );
   ob = clone_object( ZOBJ "muumuu" );
     move_object( ob, THISO );
    ob = clone_object( ZOBJ "diabetes" );
      if( !ob ) ob = clone_object( ZOBJ "butter" );
      move_object( ob, THISO );

   call_out( "gear_up", 2 );
}
Пример #27
0
void extra_create()
{
    set_name( "a horror" );
    add_alias( "creature" );
    add_alias( "horror" );
    add_alias( "indescribable horror" );
 
    set_short( "an indescribable horror" );
    set_ansi_short( "an indescribable horror", HIK  );
    set_long( "Parts, parts, and more parts! This thing has tentacles, "
      "it has arms, legs, and many mouths. You notice it is missing " 
      "eyes. It is coated in a thick gelatinous black slime. The tentacles "
      "writhe around its back and its mouths chomp. It flicks its tongues "
      "out into the air." );   
    
    set_gender( "other" );
    
    set_damage_bonus( 2 );
       
    set_alignment( EVIL_AL );
    
    set_stat( "str" , 100 );
    set_stat( "con" , 50 );
    set_stat( "wil" , 500 );
    set_stat( "dex" , 200 );
    
    set_proficiency( "hands", 75 );
    
    set_skill( "dodge", 65 );
    
    set_type( "pyschic" );
    
    set( NoStunP, 1 );
    
    set_aggressive( 4 );
    
    set_natural_ac( 3 );
    
    set_chat_rate( 20 );
    set_chat_chance( 20 );
    
    add_phrase( "#say Ack'cthun." );
    add_phrase( "#say Masr'snaff. ct'oon." );
    add_phrase( "#say Snaral d'fan ar'marak" );
}
Пример #28
0
void extra_create()
{
    object ob;

    set_name(  "Chester" );
    add_alias( "chester" );
    add_alias( "uncle chester" );
    add_alias( "uncle" );
    add_alias( "master of arms" );
    add_alias( "hill wizard master of arms" );
    set_short( "Uncle Chester, Hill Wizard Master of Arms" );
    set_long(
        "Remember that jovial old man who helps teach young boys "
        "how to properly use and care for their weapons on every "
        "TV show ever?  Well, that's Uncle Chester.  He's a kind "
        "middle aged man with time to spare.  He also happens to "
        "know a whole lot about weaponry!  And by that, I mean "
        "even moreso than your average hillbilly."
    );

    set_race( "human" );
    set_gender( "male" );
    set_alignment( 500 );

    set_stat( "str",  800 );
    set_stat( "int",  250 );
    set_stat( "wil", 1000 );
    set_stat( "con", 1000 );
    set_stat( "dex",  400 );
    set_stat( "chr",  250 );
    set_skill( "dodge", 100 );
    set_proficiency( "hands", 50 );

    set_max_fatigue( 25000 );
    set_natural_ac ( 10 );
    set_percent_bonus_exp( -25 );

    ob = clone_object( "/zone/present/hillbilly/obj/armor/overalls.c" );
    move_object( ob, THISO );

    call_out( "gear_up", 1 );
}
Пример #29
0
        	 (: smart_fight() :),

	}) );

	set_skill("fork", 90);
	set_skill("parry", 70);
	set_skill("dodge", 50);
	set_skill("move", 70);
	set_skill("notracesnow",70);
	set_skill("sword", 70);
	set_skill("snowshade-sword",70);
	map_skill("sword","snowshade-sword");
	map_skill("dodge","notracesnow");
	map_skill("parry","snowshade-sword");
	setup();

	carry_object(__DIR__"obj/golden_armor")->wear();
	carry_object(__DIR__"obj/golden_sword")->wield();
}
Пример #30
0
                (: smart_fight() :),              
        }) );
        
        set_skill("move", 200);
        set_skill("parry", 200);
        set_skill("dodge", 150);
        set_skill("unarmed",200);
        set_skill("luoriquan",180);
        set_skill("fengyu-piaoxiang",200);
        
        map_skill("unarmed","luoriquan");
        map_skill("dodge","fengyu-piaoxiang");
        map_skill("move","fengyu-piaoxiang");    
           
        setup();
}