summaryrefslogtreecommitdiff
path: root/world/map/npc/013-2/wizard.txt
diff options
context:
space:
mode:
authorwushin <pasekei@gmail.com>2014-10-27 14:25:49 -0500
committerwushin <pasekei@gmail.com>2014-10-27 14:43:28 -0500
commit2749e3987af5685988a0119f15f6f476319b5561 (patch)
tree1af6f0d54e2d360c242f2421e9a5caec775a96f3 /world/map/npc/013-2/wizard.txt
parent0bc1c20799c9b01e60035ce1c82fd8a38c110c4c (diff)
downloadclassic-serverdata-2749e3987af5685988a0119f15f6f476319b5561.tar.gz
classic-serverdata-2749e3987af5685988a0119f15f6f476319b5561.tar.bz2
classic-serverdata-2749e3987af5685988a0119f15f6f476319b5561.tar.xz
classic-serverdata-2749e3987af5685988a0119f15f6f476319b5561.zip
Extension to Kylian Quest Line
Daily Delivery
Diffstat (limited to 'world/map/npc/013-2/wizard.txt')
-rw-r--r--world/map/npc/013-2/wizard.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/world/map/npc/013-2/wizard.txt b/world/map/npc/013-2/wizard.txt
index 73ca06ef..b6a60661 100644
--- a/world/map/npc/013-2/wizard.txt
+++ b/world/map/npc/013-2/wizard.txt
@@ -3,6 +3,24 @@
set @has_magic, getskilllv(SKILL_MAGIC);
set MAGIC_FLAGS, MAGIC_FLAGS | MFLAG_KNOWS_OLD_WIZARD;
+ set @run, ((QUEST_NorthTulimshar & TWOBIT_8_MASK) >> TWOBIT_8_SHIFT);
+ set @state, ((QUEST_NorthTulimshar & NIBBLE_5_MASK) >> NIBBLE_5_SHIFT);
+ if ((@run == 2) && (@state == 13))
+ goto L_Deliver;
+ goto L_Start;
+
+L_Deliver:
+ menu
+ "I have a delivery for you", L_Delivery;
+
+L_Delivery:
+ mes "[Old Wizard]";
+ mes "\"Good now I can get to work on some stronger brew..\"";
+ set @state, 14;
+ callfunc "SetKylianQuest";
+ goto L_Close;
+
+L_Start:
mes "[Old Wizard]";
mes "\"Welcome, dear wanderer! Come into my humble home. Take a rest, eat and drink.\"";
next;