blob: 8eb1043a75c4472d0e85dfeddb01e140330fe60a [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001#include <properties.h>
2#include "../files.h"
3
4inherit "std/npc";
5
6create()
7{
8 if (!clonep(this_object())) return;
9 ::create();
10 SetProp(P_SHORT, "Ein Troll");
11 SetProp(P_LONG, "Ein Troll wie aus dem Bilderbuch: Gross, haesslich und dumm.\n");
12 SetProp(P_NAME, "Troll");
13 SetProp(P_GENDER, 1);
14 SetProp(P_RACE, "Troll");
15 AddId("troll");
16 SetProp(P_LEVEL, 15);
17 SetProp(P_MAX_HP, 200);
18 SetProp(P_ALIGN, -417);
19 SetProp(P_XP, 120000);
20 SetProp(P_BODY, 35);
21 SetProp(P_SIZE, random(40)+199);
22 set_living_name("troll");
23 seteuid(getuid(this_object()));
24 AddItem(OBJ("trolldolch"),CLONE_WIELD);
25 AddItem(OBJ("steinring"),CLONE_WEAR);
26 AddItem(OBJ("lkhemd"),CLONE_WEAR);
27}
28