Ejemplo n.º 1
0
void create_object(void)
{
  set_name("andalf");
  add_id("fisherman");
  add_id("man");
  set_short("Andalf the Fisherman, sitting on a bench");
  set_level(4);
  set_hp(150);
  set_wc(5);
  set_new_ac(10);
  set_skill("combat",30);
  set_skill("unarmed",30);
  set_al(20);
  set_gender(1);
  set_race("human");
  set_long("This is Andalf the old fisherman of Newbie Island. He looks "+
           "just as old and grumpy as every other fisherman you will come "+
           "across in the kingdoms. He sure looks as if he could tell some "+
           "tales about fishing, though. Perhaps if you asked him about "+
           "fishing, he would tell you a fish tale?\n");

  load_chat(5,({"Andalf grumbles: Damn I'm sick of this island.\n",
                "Andalf grumbles: The most important thing for a fisherman "+
                "is the ability to tell a damn fish tale.\n",
                "Andalf grumbles something incomprehensible.\n",
                "Andalf grumbles: You can raise yer damn lore skill here.\n"
                }));
Ejemplo n.º 2
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",
    }));
Ejemplo n.º 3
0
void create_object(void)
{
    set_short("Dithe the pirate shopkeeper",1);
    set_long("Dithe is a drunken slob of a shopkeeper. You feel your " +
             "trading skill increase every time he stumbles or bumps " +
             "into a shelf as he tries to move around his shop.\n");
    set_name("dithe");
    add_id("man");
    add_id("shopkeeper");
    add_id("dithe the shopkeeper");
    set_level(2);
    set_race("human");
    set_hp(80);
    set_al(0);
    set_gender(1);
    set_wc(1);
    set_ac(0);
    add_money(200);

    load_chat(1,({ "Dithe stumbles.\n",
                   "Dithe bumps into a shelf.\n",
                   "Dithe takes a small bottle from a pocket and drinks " +
                   "from it when he thinks you're not looking.\n",
                   "Dithe mumbles something incomprehensible.\n"
                 }));
Ejemplo n.º 4
0
set_guild(string hmm) {
  guild = hmm;
  name = RAND->gimme_a_male_name();
  set_name(name);
  set_short(CAP(name)+" the bartender");
  set_long(CAP(name)+" is the new bartender of the "+CAP(guild)+"'s Tavern.\n");
  set_level(1);
  set_alias("bartender");
  set_alt_name("std_bartender");
  set_gender(1);
  set_race("human");
  set_hp(50);
  set_al(0);
  set_wc(50);
  set_new_ac(9);
  set_skill("combat", 9);
  set_skill("unarmed", 9);
  set_skill("perception", 5);
  set_skill("resist", 5);
  add_money(25);
  load_chat(1, 
    ({
      CAP(name) + " says: I don't know what to say?\n",
      CAP(name) + " asks: Want some more alcohol?\n",
      CAP(name) + " says: Alcohol makes people smarter.\n",
      CAP(name) + " asks: Who needs brain cells?\n",
    })
  );
Ejemplo n.º 5
0
void create_object(void)
{
    set_short("Ferdirand Bumbleroot",1);
    set_long("Ferdirand Bumbleroot is a hobbit who operates the farm " +
             "that provides Hazeldown with most of the town's food. As " +
             "the major provider of such things, he's held in high regard " +
             "in the town. It is well deserved since he's good at what he " +
             "does. However, he currently has a problem with his farm. " +
             "Maybe he'd tell you about it if you would let him know " +
             "you're willing to <help> him with it?\n");
    set_name("ferdirand");
    add_id("ferdirand bumbleroot");
    add_id("hobbit");
    add_id("farmer");

    set_level(4);
    set_race("hobbit");
    set_al(300);
    add_money(100 + random(20));
    set_gender(1);

    load_chat(5,({
        "Ferdirand ponders deeply.\n",
        "Ferdirand mumbles: Everything must be perfect before Weeangel " +
        "gets here.\n",
        "Ferdirand says: Those damn crows...\n",
        "Ferdirand scratches his head.\n"
    }));
Ejemplo n.º 6
0
static void
create() 
{
    ::create();
    set_race("turtle");
    set_name("turtle");
    scale_level(5, 13);
    scale_str(8, 16);
    scale_dex(2, 6);
    set_al(random(500));
    setmin("enters");
    setmout("leaves slowly");
    add_property("unarmed_weapon_name", "mouth");
    add_property("unarmed_damage_type",
                 ({ "blunt", "bite", "bite", "bite" }));
Ejemplo n.º 7
0
static void
create() 
{
    ::create();
    set_race("fly");
    set_name("fly");
    add_long("It is flying around in circles.");
    scale_level(1, 3);
    scale_dex(8, 10);
    scale_ac(0, 2);
    scale_wc(1, 2);
    set_al(0);
    setmin("flies in");
    setmout("flies");
    add_property("unarmed_damage_type",({ "blunt" }));
Ejemplo n.º 8
0
setup() {
        set_level(8);
        set_name("guard");
        set_short("City guard");
        set_long("This is a city guard.  He is supposed to protect the city from "+
                 "undesirables.  Sadly Anhk Morpork isn't very fussy and he is almost "+
                 "asleep.\n");
        set_race("human");
	set_al(50);
        give_money(150,100);
        load_chat(10, ({
          1, "@snore",
          1, ":snoozes.\n",
          1, ":moves in his sleep.\n"
          }) );
Ejemplo n.º 9
0
static void
create() 
{
    ::create();
    set_name("skeleton");
    add_long("It is tattered with dried flesh.");
    scale_level(14, 17);
    scale_hp(250, 325);
    scale_wc(28, 32);
    scale_ac(4, 7);
    set_al(-500);
    set_aggressive(1);
    setmin("stumbles in");
    setmout("stumbles");
    add_money(random(600));
    add_property("unarmed_damage_type", ({ "claw", "bite" }));
Ejemplo n.º 10
0
void create_object()
{
    ::create_object();
    set_short("a mad man chained to the wall");
    set_long("This man was one of the rebels. The things he saw on the " +
             "disastrous raid into the castle robbed him of his sanity. " +
             "Still, he alone survived, and has been chained to this wall " +
             "ever since.\n");
    set_name("madman");
    add_id("mad man");
    set_al(300);

    load_chat(75,({ "Madman says: Ah! Keep away!\n",
                    "Madman rambles: This can't be.. this can't be.. " +
                    "thiscan'tbethiscan'tbeTHISCAN'TBE!!!\n",
                    "Madman swears: Aagh, we have been deceived.\n",
                    "The man collapses in a convulsing heap.\n",
                    "The man suddenly looks up with clear eyes: Sometimes " +
                    "the rock gets stuck... Then you have to hit it...\n",
                    "Madman shouts: No! Let me go!\n" }));
Ejemplo n.º 11
0
void create_object(void)
{
    set_short("an old storyteller");
    set_long("An old, grey haired man dressed in a grey tunic. His " +
             "features are sharp and his deep blue eyes are bright and " +
             "intelligent. His long, slender fingers trace intricate " +
             "patterns trough the air as he tells epic tales of heroes " +
             "and villains. Maybe he would tell you a story about the "+
             "valley if you sat down at his table and asked?\n");
    set_name("storyteller");
    add_id("man");
    set_level(4);
    set_race("human");
    set_hp(100);
    set_al(350);
    set_gender(1);
    set_wc(6);
    set_ac(1);
    set_unarmed(1);
    add_money(200 + random(200));
}
Ejemplo n.º 12
0
void create_object(void)
{
    set_short("Lallan the apothecary",1);
    set_long("Lallan is a man in his fifties with graying hair and blue " +
             "eyes.\n");
    set_name("apothecary");
    add_id("lallan");
    add_id("man");
    set_level(4);
    set_race("human");
    set_hp(100);
    set_al(200);
    set_gender(1);
    set_wc(6);
    set_ac(1);
    set_unarmed(1);
    add_property("no_flee");
    add_money(200 + random(200));

    load_chat(10,({ "Lallan says: Take my advice, leave while you still " +
                    "can.\n",
                    "Lallan says: If you're staying here, you'll be needing " +
                    "my wares.\n"
                  }));