From 322f4c3d17f3dc1b178e4df6198480cba11fc829 Mon Sep 17 00:00:00 2001
From: Dino Paskvan <dpaskvan@gmail.com>
Date: Mon, 12 Aug 2013 21:26:34 +0200
Subject: Added the daily quest for NPC Jack, written by skragar

Fixes for NPC Jack

As suggested by o11c.

Fixed indentation
---
 world/map/npc/009-1/jack.txt | 32 +++++++++++++++++++++++++++++---
 1 file 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;
-- 
cgit v1.2.3-70-g09d2