summaryrefslogtreecommitdiff
path: root/world/map/npc
diff options
context:
space:
mode:
authorDino Paskvan <dpaskvan@gmail.com>2013-08-12 21:26:34 +0200
committerDino Paskvan <dpaskvan@gmail.com>2013-08-13 00:12:33 +0200
commit322f4c3d17f3dc1b178e4df6198480cba11fc829 (patch)
treeafbb0a5e28f0b104c6cdf6c07310f845505fa65a /world/map/npc
parent516ff6c49570e496bfc8b9af8b85b6af3aafa161 (diff)
downloadserverdata-322f4c3d17f3dc1b178e4df6198480cba11fc829.tar.gz
serverdata-322f4c3d17f3dc1b178e4df6198480cba11fc829.tar.bz2
serverdata-322f4c3d17f3dc1b178e4df6198480cba11fc829.tar.xz
serverdata-322f4c3d17f3dc1b178e4df6198480cba11fc829.zip
Added the daily quest for NPC Jack, written by skragar
Fixes for NPC Jack As suggested by o11c. Fixed indentation
Diffstat (limited to 'world/map/npc')
-rw-r--r--world/map/npc/009-1/jack.txt32
1 files changed, 29 insertions, 3 deletions
diff --git a/world/map/npc/009-1/jack.txt b/world/map/npc/009-1/jack.txt
index 6d7bf498..4932ccc6 100644
--- a/world/map/npc/009-1/jack.txt
+++ b/world/map/npc/009-1/jack.txt
@@ -219,11 +219,11 @@ L_TooMany:
L_Shield_state_3:
mes "[Jack Lumber]";
mes "\"I hope that my shield will serve you well!\"";
- if (@inspector != 1)
- goto L_Close;
next;
+ if (@inspector != 1)
+ goto L_Made_Shield;
menu
- "Me too.", L_Close,
+ "Me too.", L_Made_Shield,
"Have you seen anything that might be connected to the recent robberies in town?", L_NohMask_Answer;
// This is an ugly violation of the scripting standards,
@@ -239,6 +239,32 @@ L_NohMask_Answer:
mes "[Jack Lumber]";
mes "\"Sorry, no.\"";
goto L_Close;
+
+L_Made_Shield:
+ next;
+ mes "[Jack Lumber]";
+ mes "\"Speaking of that shield...\"";
+ mes "\"It has put me behind on all these new Nivalis orders, now that the ship is running there.\"";
+ next;
+ mes "\"Care to help out? I'll pay you for your time.\"";
+
+L_Daily:
+ set @dq_level, 30;
+ set @dq_cost, 25;
+ set @dq_count, 30;
+ set @dq_name$, "RawLog";
+ set @dq_friendly_name$, "raw logs";
+ set @dq_money, 4000;
+ set @dq_exp, 4000;
+
+ callfunc "DailyQuest";
+
+ next;
+
+ mes "[Jack Lumber]";
+ mes "\"Check back with me tomorrow to see if I need any help with that shipment.\"";
+
+ goto L_Close;
L_Close:
set @inspector, 0;