예제 #1
0
파일: ogremage2.c 프로젝트: ehershey/pd
void create() {
  int hp;
  ::create();
  set_name("ogre");
  set_short("an ogre");
  set_long("This ogre is big and hairy. His thick grey skin is "
    "covered in patches of dirt, but his eyes shine with an odd "
    "degree of intelligence.");
  set_gender("male");
  set_race("ogre");
  set_body_type("human");
  set_alignment(-800);
  set_class("mage");
  set_subclass("necromancer");
  set_spells( ({ "plague", "disease", "shadowburst", "siphon" }) );
예제 #2
0
void create() {
    ::create();
    set_name("anarchin");
    set_short("Anarchin the anarchist");
    set_long("Anarchin is one of the leaders of the anarchist cult near the "
      "Tirunian border. Anarchin is the true anarchist at heart, and she "
      "despises anything to do with the law.");
    set_race("ogre");
    set_body_type("human");
    set_alignment(-900);
    set_gender("female");
    set_level(11);
    set_max_hp(300);
    set_hp(300);
    set_id(({ "anarchin", "anarchist", "anarchin the anarchist" }));
예제 #3
0
void create() {
  seteuid(getuid());
  ::create();
  set("short", "a lean acrobat");
  set("long", @ENDLONG
This acrobat is clothed in a skin-tight body suit.
Her breasts fit nicely into any garmet, however.
ENDLONG
  );
  set_alignment(7);
  set_name("acrobat");
  set("id", ({
    "acrobat",
    "lean acrobat",
  }));
예제 #4
0
파일: zone1.c 프로젝트: smokeless/eotl
void extra_create()
{
    set_name( "a goblin digger" );
    add_alias( "goblin" );
    add_alias( "goblin digger" );
    add_alias( "digger" );
    set_short( "a goblin digger" );
    set_long( "This ugly goblin looks really worn out. "
      "It's dressed in just a loin cloth. It's nails are "
      "yellow with fungus, and dirt is lodged underneath them. "
      "It toils away digging for something valuable." );
    
    if( random( 2 ) )
      set_gender( "male" );
    else
     set_gender( "female" );

    set_race( "goblin" );
    set_alignment( random( -4000 ) );
    if( random( 2 ) )
        set_alignment( random(4000 ) );
    set_stat( "str", 100 + random( 100 ) );
    set_stat( "wil", 150 + random( 100 ) );
    set_stat( "int", random( 100 ) );
    set_stat( "con", 140 + random( 40 ) );
    set_skill( "dodge", 40 );
    set_proficiency( "hands", 60 );
    set_aggressive( 0 );
    switch( random( 3 ) + 1 )
    {
      case 1 : THISO->ogre(); break;
      case 2 : THISO->body(); break;
      case 3 : break;
      default : break;
    }
}
예제 #5
0
void create() {
  seteuid(getuid());
  ::create();
  set("short", "Grenda, the costume maker");
  set("long", @ENDLONG
Grenda is an elderly woman who looks to be enjoying her work.
ENDLONG
  );
  set_alignment(120);
  set_name("grenda");
  set("id", ({
    "grenda",
    "maker",
    "costume maker",
  }));
예제 #6
0
void create() {
  seteuid(getuid());
  ::create();
  set("short", "Cordius, the tidy Mayoral Councilor");
  set("long", @ENDLONG
This man is very well kept wearing a neatly pressed black tunic, and 
dark green hose.  His nose is quite long, bolstering small, blue eyes.
ENDLONG
  );
  set_alignment(-20);
  set_name("cordius");
  set("id", ({
    "cordius",
    "councillor"
    
  }));
예제 #7
0
void create() {
  seteuid(getuid());
  ::create();
  set("short", "busy wight");
  enable_commands();
  set("long", @ENDLONG
This wight is attending to his masters needs.  He walks very slowly,
and does every action in a painstaking manner.  It's skin is a pale
pallor, it's flesh suspended in a rotten state.
ENDLONG
  );
  set_alignment(-100);
  set_name("wight");
  set("id", ({
    "wight",
  }));
예제 #8
0
void create() {
  seteuid(getuid());
  ::create();
  set("short", "stupid zombie");
  enable_commands();
  set("long", @ENDLONG
   This zombie moves around with no real purpose.  His face is contorted
in an expression of anger, rage, and bloodthirst.  His jaw hangs open and
low, barely-audible moan can be heard.
ENDLONG
  );
  set_alignment(-80);
  set_name("zombie");
  set("id", ({
    "zombie",
  }));
예제 #9
0
void create() {
  seteuid(getuid());
  ::create();
  set("short", "A demonic cook");
  set("long", @ENDLONG
This cook is approximately seven feet tall with green flesh covered in
open sores and welts.
ENDLONG
  );
  set_alignment(100);
  set_name("xeqs");
  set("id", ({
    "demon",
    "xeqs",
    "cook",
  }));
예제 #10
0
파일: pumpkin.c 프로젝트: smokeless/eotl
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/" }) );
예제 #11
0
void create() {
  seteuid(getuid());
  ::create();
  set("short", "boring teacher");
  set("long", @ENDLONG
Mr. Lyman looks like a kind, strict teacher
ENDLONG
  );
  set_alignment(80);
  set_name("Mr. Lyman");
  set("id", ({
    "teacher",
"lyman",



  }));
예제 #12
0
void create() {
  seteuid(getuid());
  ::create();
  set("short", "snot-nosed kid");
  enable_commands();
  set("long", @ENDLONG
This student is studying hard.
ENDLONG
  );
  set_alignment(50);
  set_name("Bernice");
  set("id", ({
    "kid_3",
    "kid",
    "student",
    "bernice",   
  }));
예제 #13
0
void create() {
  seteuid(getuid());
  ::create();
  set("short", "greater mummy");
  enable_commands();
  set("long", @ENDLONG
This mummy is wrapped in dark bandages, and is wearing a tattered
cleric robe and pontiff.  A unholy symbol hangs from it's neck.  It's
eyes are sunken into his head, and what skin you can see is gray.
ENDLONG
  );
  set_alignment(-50);
  set_name("greater mummy");
  set("id", ({
    "mummy",
    "greater mummy",
  }));
예제 #14
0
void create() {
  seteuid(getuid());
  set( "aggressive", 1);
  ::create();
  set("short", "cruel teacher");
  enable_commands();
  set("long", @ENDLONG
Mrs. Krauss is middle-aged, with a giant mole resting on her upper lip.
Her eyes are cruel.
ENDLONG
  );
  set_alignment(-500);
  set_name("mrs. Krauss");
  set("id", ({
    "teacher",
    "krauss",
  }));
예제 #15
0
void create() {
  seteuid(getuid());
  ::create();
  set("short", "Eerie figure");
  enable_commands();
  set("long", @ENDLONG
The dark, ominous figure that looms over you seems to control a vast
ammount of power.  He radiates a dark-black aura.  His face can barely
be seen through his cloud of hatred.  A faint gleam can be seen where
his face should be.
ENDLONG
  );
  set_alignment(-180);
  set_name("figure");
  set("id", ({
    "figure",
  }));
예제 #16
0
void create() {
  seteuid(getuid());
  ::create();
  set("short", "skeletal warrior");
  enable_commands();
  set("long", @ENDLONG
This is an undead warrior, animated to kill those who
trounce the battle ground
ENDLONG
  );
  set_alignment(-25);
  set_name("warrior");
  set("id", ({
    "warrior",
    "skeleton",
    "skeletal warrior",
  }));
예제 #17
0
void create() {
  seteuid(getuid());
  ::create();
  set("short", "Igor the town's executioner");
  enable_commands();
  set("long", @ENDLONG
This dwarf is dressed in dark black, he wears a black
hood that covers his face, showing only his cold, black
eyes .
ENDLONG
  );
  set_alignment(-40);
  set_name("igor");
  set("id", ({
    "igor",
    "executioner",
    }));
예제 #18
0
void create() {
  seteuid(getuid());
  ::create();
  set("short", "undead lieutenant");
  enable_commands();
  set("long", @ENDLONG
This undead warrior is a lietenant of a long-dead
army, markings on his nearly destroyed uniform.
ENDLONG
  );
  set_alignment(-25);
  set_name("lieutenant");
  set("id", ({
    "lieutenant",
    "undead lieutenant",
    "skeleton",
  }));
예제 #19
0
파일: paula.c 프로젝트: smokeless/eotl
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 );
}
예제 #20
0
파일: creature.c 프로젝트: smokeless/eotl
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" );
}
예제 #21
0
void create() {
  seteuid(getuid());
  ::create();
  set("short", "a clumsy cyclops");
  enable_commands();
  set("long", @ENDLONG
Hersch is a giant humanoid creature with a single eye resting in the
middle of his forehead.  A small tuft of hair spouts from his pointed
skull.  He is wearing leather overalls, covered in stains of all kinds.
ENDLONG
  );
  set_alignment(100);
  set_name("hersch");
  set("id", ({
    "cyclops",
    "hersch",
    "clumsy cyclops",
  }));
예제 #22
0
void create() {
  seteuid(getuid());
  ::create();
  set("short", "Unliving dwarf");
  enable_commands();
  set("long", @ENDLONG
At first glance, the dwarf seems quite normal, wearing a simply colored
tunic and having the walk of someone who is alive.  However, his eyes are 
colored a deep black, with no whites showing.  Nothing of this plane would 
have such dull, corpse-like eyes.
ENDLONG
  );
  set_alignment(80);
  set_name("unliving dwarf");
  set("id", ({
    "dwarf",
    "unliving dwarf",
  }));
예제 #23
0
파일: chester.c 프로젝트: smokeless/eotl
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 );
}
예제 #24
0
void create() {
  seteuid(getuid());
  ::create();
  set("short", "snot-nosed kid");
  enable_commands();
  set("long", @ENDLONG
This kid is straining his eyes reading his book.
ENDLONG
  );
  set_alignment(50);
  set_name("Buddy");
  set("id", ({
    "kid_1",
    "kid",
    "student",
    "buddy",
     
    
    
  }));
예제 #25
0
파일: items_class.cpp 프로젝트: Arbixal/D20
item_intelligence& item_intelligence::operator= (const item_intelligence new_value)
{
	set_alignment(new_value.get_alignment());
	set_communication(new_value.get_communication());
	set_senses(new_value.get_senses());
	set_purpose(new_value.get_purpose());
	set_languages(new_value.get_languages());
	set_intelligence(new_value.get_intelligence());
	set_wisdom(new_value.get_wisdom());
	set_charisma(new_value.get_charisma());
	set_lesser_powers(new_value.get_lesser_powers());
	set_greater_powers(new_value.get_greater_powers());
	set_dedicated_power(new_value.get_dedicated_power());
	set_num_lesser(new_value.get_num_lesser());
	set_num_greater(new_value.get_num_greater());
	set_ego(new_value.get_ego());
	set_read_language(new_value.get_read_language());
	set_read_magic(new_value.get_read_magic());
	return *this;
}
예제 #26
0
void create() {
  seteuid(getuid());
  ::create();
  set("short", "Frank");
  enable_commands();
  set("long", @ENDLONG
This is Frank.  Frank is a 7ft. tall human.  Frank is not happy.  
Frank wants you to try somthing.
ENDLONG
  );
  set_name("frank");
  set("id", ({
    "frank",
    "Frank",
    "human",
  }));
	set_alignment(-10);
  arm(WEAPONS(lallai), "dagger");
  credit(380 );
  set("weapon_name", "dagger");
  wear( ARMOR(bshield), "shield");
  set("damage", ({10, 15 }) );
예제 #27
0
bool InfoWidget::drawChart(const::Cairo::RefPtr<Cairo::Context> &context)
{
	context->save();

	const double width = m_chartDrawingArea.get_allocation().get_width();
	const double height = m_chartDrawingArea.get_allocation().get_height();

	context->set_source_rgb(m_data.color.get_red(), m_data.color.get_green(), m_data.color.get_blue());
	context->rectangle(0, 0, width, height);
	context->fill();

	const Gdk::RGBA color = get_style_context()->get_color();
	context->set_source_rgb(color.get_red(), color.get_green(), color.get_blue());

	const double titleX = width / 2.0;
	const double titleY = height / 2.0;

	auto layout = Pango::Layout::create(context);
	layout->set_justify(true);
	layout->set_alignment(Pango::ALIGN_CENTER);

	if (m_data.subtitle.empty())
		layout->set_markup(m_data.title);
	else
		layout->set_markup(m_data.title + "\n<span size=\"x-small\">" + m_data.subtitle + "</span>");

	auto fontDescription = get_style_context()->get_font();
	fontDescription.set_size(2 * fontDescription.get_size());
	layout->set_font_description(fontDescription);

	const auto rectangle = layout->get_pixel_logical_extents();
	context->translate(titleX - rectangle.get_width() / 2.0, titleY - rectangle.get_height() / 2.0);

	layout->show_in_cairo_context(context);

	context->restore();

	return true;
}
예제 #28
0
void create() 
{
    ::create();
    ob = this_object();

    set_property("no_tame", 1);
    name = gat["name"];
    set_name(name);
    set_gender("male");
    shorty = gat["shorty"];
    set_short(shorty);
    set("aggressive", 0);
    set_heart_beat(1);
    level = gat["level"];	 
    set_level(level);
    bodtype = gat["bodtype"];	 
    set_long("This used to be a wild animal, now it follows the comands of its owner.");
    set_body_type(bodtype);
    set_alignment(0);
    race = gat["race"];
    set("race", race);
    set_id( ({ race, name }) );
예제 #29
0
파일: deadrif.c 프로젝트: smokeless/eotl
void extra_create()
{
    set_name( "the ghost of Rifrad" );
    add_alias( "rifrad" );
    add_alias( "ghost" );
    add_alias( "doctor" );
    add_alias( "ghost of rifrad" );
    
    set_short( "the ghost of Rifrad" );
    set_ansi_short( sprintf( "%sthe ghost of Rifrad", HIK ) );
    
    set_long( "Where there was once a being, there is now a fluctuating "
      "darkness. A cold ghastly presence. All that remains of Rifrad "
      "is his incorporal form." );   
    
    set_gender( "male" );
    set_alignment( NEUTRAL_AL );
    
    set_stat( "str" , 200 );
    set_stat( "con" , 200 );
    set_stat( "wil" , 500 );
    set_stat( "dex" , 200 );
    
    set_proficiency( "hands", 75 );
    set_skill( "dodge", 65 );
    
    set_type( "psychic" );
    
    set( NoStunP, 1 );
    set( UndeadP, 1 );
    
    set_aggressive( 1 );
    
    set_natural_ac( 3 );
    
    call_out( "hello", 1 );
    
    add_special_attack( "soulwell", THISO, 8 );
}    
예제 #30
0
파일: mtoy.c 프로젝트: smokeless/eotl
void extra_create()
{
    set_name("glitch");
    set_race("/usr/muffins/proj/toy/wiztoy");
    add_alias("orb");
    set_short("Glitch the wiztoy");
    set_long("This is a small glowing orb, about the size of a baseball. It"+
      " seems to be made of solid ruby, and is perfetly smooth. It pulsates with a"+
      " red light and you get the feeling like it might be alive. You decide it may"+
      " be best to leave it alone.\n");
    set_natural_ac(50);
    set_type("psionic");
    set_alignment(-2000);
    set_gender("other");
    set_offensive_level(800);
    set_defensive_level(800);
    set_toughness(500);
    set_max_hp(5000);
    set_max_fatigue(5000);
    set_max_mana(5000);
    set_damage_bonus(3);


}