blob: a2fbf7f314869f6218cb1e90609d9d334190d7dd [file] [log] [blame]
notstrom2c844922018-12-03 10:40:03 +01001inherit "/std/weapon";
2
notstromb83480d2018-12-03 10:41:27 +01003#include <new_skills.h>
notstrom2c844922018-12-03 10:40:03 +01004#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(
notstromd60962e2018-12-09 18:17:44 +010016 "Dies ist die Axt von Kawumm, dem Zwerg. Sie ist allerdings nicht fuer "
17 "Spielerhaende gedacht."));
notstrom2c844922018-12-03 10:40:03 +010018
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
notstromd60962e2018-12-09 18:17:44 +010028 /* 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])]));
notstrom2c844922018-12-03 10:40:03 +010031
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