summaryrefslogtreecommitdiff
path: root/npc/024-7
diff options
context:
space:
mode:
Diffstat (limited to 'npc/024-7')
-rw-r--r--npc/024-7/_import.txt1
-rw-r--r--npc/024-7/afking.txt30
2 files changed, 31 insertions, 0 deletions
diff --git a/npc/024-7/_import.txt b/npc/024-7/_import.txt
index fb7ecc99b..41e09e806 100644
--- a/npc/024-7/_import.txt
+++ b/npc/024-7/_import.txt
@@ -1,3 +1,4 @@
// Map 024-7: Frostia Indoors
// This file is generated automatically. All manually added changes will be removed when running the Converter.
"npc/024-7/_warps.txt",
+"npc/024-7/afking.txt",
diff --git a/npc/024-7/afking.txt b/npc/024-7/afking.txt
new file mode 100644
index 000000000..9ac836967
--- /dev/null
+++ b/npc/024-7/afking.txt
@@ -0,0 +1,30 @@
+// TMW2 scripts.
+// Author:
+// TMW-BR
+// Jesusalva
+// Description:
+// AFK Cap quest (Lv 47)
+
+024-7,40,24,0 script AF King NPC_PLAYER,{
+ if (BaseLevel < 47) {
+ npctalkonce l("*AFK: I am Away From Keyboard*");
+ end;
+ }
+
+ closedialog;
+ goodbye;
+ close;
+
+OnInit:
+ .@npcId = getnpcid(.name$);
+ setunitdata(.@npcId, UDT_HEADTOP, AFKCap);
+ setunitdata(.@npcId, UDT_HEADMIDDLE, SilkRobe);
+ setunitdata(.@npcId, UDT_WEAPON, DeepBlackBoots);
+ setunitdata(.@npcId, UDT_HAIRSTYLE, 26);
+ setunitdata(.@npcId, UDT_HAIRCOLOR, 0);
+ npcsit;
+
+ .sex = G_MALE;
+ .distance = 4;
+ end;
+}