summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2013-08-14 13:22:22 -0700
committerJared Adams <jaxad0127@gmail.com>2013-08-14 13:22:22 -0700
commit4950c09bbaecc834357247f583aabeccda0f5ee2 (patch)
tree12ec5c72d45a283c3dac038fdf6030a7935be1ff
parent858d07156d0849dbae8e3dd94b3e69a8ac602448 (diff)
parent322f4c3d17f3dc1b178e4df6198480cba11fc829 (diff)
downloadserverdata-4950c09bbaecc834357247f583aabeccda0f5ee2.tar.gz
serverdata-4950c09bbaecc834357247f583aabeccda0f5ee2.tar.bz2
serverdata-4950c09bbaecc834357247f583aabeccda0f5ee2.tar.xz
serverdata-4950c09bbaecc834357247f583aabeccda0f5ee2.zip
Merge pull request #21 from DinoPaskvan/master
Added the daily quest for NPC Jack Approved by wombatism.
-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;