blob: a2fbf7f314869f6218cb1e90609d9d334190d7dd [file] [log] [blame]
notstrom958ddb62018-12-03 23:09:58 +01001inherit "/std/weapon";
2
3#include <new_skills.h>
4#include __PATH__(1)"defs.h"
5
6
7protected void create() {
8 if (!clonep()) {
9 set_next_reset(-1);
10 return;
11 }
12 ::create();
13
14 SetProp(P_SHORT, "Eine besondere Axt");
15 SetProp(P_LONG, BSLF(
16 "Dies ist die Axt von Kawumm, dem Zwerg. Sie ist allerdings nicht fuer "
17 "Spielerhaende gedacht."));
18
19 SetProp(P_NAME, "Axt");
20 SetProp(P_GENDER, FEMALE);
21 AddId(({"axt"}));
22
23 SetProp(P_WC, 180);
24 SetProp(P_WEAPON_TYPE, WT_AXE);
25 SetProp(P_DAM_TYPE, DT_SLASH);
26 SetProp(P_NR_HANDS, 1);
27
28 /* Als Variante des letzten Beispieles: Wenn es egal ist, welcher NPC
29 die Axt zuecken darf, dann geht es auch ohne zusaetzliche Function: */
30 SetProp(P_RESTRICTIONS, ([SR_PROP: ([P_NPC:1])]));
31
32 SetProp(P_VALUE, 200);
33 SetProp(P_WEIGHT, 3250);
34 SetProp(P_SIZE, 90);
35
36 SetProp(P_MATERIAL, ([MAT_STEEL:100]));
37}
38