child.c

final_realms_fluffos_v1/lib/d/newbie/goblin/npcs/child.c · 958 B

From the archive final_realms_fluffos_v1.zip

Download the archive   « Back to the archive contents

// child

inherit "/obj/monster";
#include "path.h"

void setup() {
    set_name("Goblin child");
    add_alias("child");
    set_short("child");
    set_main_plural("children");
    add_plural("children");
    set_long("You see a small goblin child playing with some stones.\n");
    set_race("goblin");
    set_level(2);
    set_wimpy(0);
    set_random_stats(5, 12);
    set_al(-100+random(10));
    adjust_money(4+random(4), "silver");
    load_chat(99,
      ({
    1, "'Give or else!!",
    1, "@grunt",
    1, "'Daddy says we got to earn our keep so give us your money!",
    1, "'Please sir money for the poor."
      }));
    load_a_chat(99,
      ({
    1, "'My daddy is gonna get you!!!",
 1, "'Help daddy!! $lcname$ is trying to hurt me!!!",
    1, "'Ughh!",
    1, "'Your a big bully!!!!"
      }));
    new(ARMOR+"cloak.c")->move(this_object());
    new(WEAPON+"knife.c")->move(this_object());
    this_object()->init_equip();

} /* setup() */

Site Stats

Snippets: 1791
Codebases: 571