summaryrefslogtreecommitdiff
path: root/npc/024-7
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-11-12 21:57:11 -0300
committerJesusaves <cpntb1@ymail.com>2019-11-12 21:57:11 -0300
commitfec5540260ac708414469abfeb496ef502d74e53 (patch)
treea4a0082bc9129de1244d1bb186d86d1bb9eaa8ad /npc/024-7
parent8c417f2289d2e1553782f9185b6e237b7e1a6589 (diff)
downloadserverdata-fec5540260ac708414469abfeb496ef502d74e53.tar.gz
serverdata-fec5540260ac708414469abfeb496ef502d74e53.tar.bz2
serverdata-fec5540260ac708414469abfeb496ef502d74e53.tar.xz
serverdata-fec5540260ac708414469abfeb496ef502d74e53.zip
Regenerate maps - template for AF King Arthur
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;
+}