summaryrefslogtreecommitdiff
path: root/npc/012-1/jack.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-14 23:01:26 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-14 23:01:26 -0300
commitc314b5b5268fc59cd8c74bce12073d58c79e9e8c (patch)
treefa4f104eea23a5d236d19dd4a1ef17cdc26a1abe /npc/012-1/jack.txt
parent330ca32efe657540df1d30171ac6d904cadb185d (diff)
downloadserverdata-c314b5b5268fc59cd8c74bce12073d58c79e9e8c.tar.gz
serverdata-c314b5b5268fc59cd8c74bce12073d58c79e9e8c.tar.bz2
serverdata-c314b5b5268fc59cd8c74bce12073d58c79e9e8c.tar.xz
serverdata-c314b5b5268fc59cd8c74bce12073d58c79e9e8c.zip
Wooden Log logic and Wooden Sword forging.
Diffstat (limited to 'npc/012-1/jack.txt')
-rw-r--r--npc/012-1/jack.txt30
1 files changed, 30 insertions, 0 deletions
diff --git a/npc/012-1/jack.txt b/npc/012-1/jack.txt
index e96d6ea56..3b7a9180b 100644
--- a/npc/012-1/jack.txt
+++ b/npc/012-1/jack.txt
@@ -15,6 +15,7 @@
mes "";
select
l("Nothing at the moment, thanks."),
+ l("I want you to transform my raw log in a wooden log"),
rif(.@q1 == 1, l("I need a sturdy wood piece for a Forest Bow."));
mes "";
@@ -24,12 +25,41 @@
close;
break;
case 2:
+ goto L_Polish;
+ break;
+ case 3:
goto L_ForestBow;
break;
}
close;
+L_Polish:
+ mesn;
+ mes l("Yes, unless you're doing something VERY special, a Wooden Log is what you need.");
+ mes l("I can make a @@ for just one @@ and 200 GP for my work.", getitemlink(WoodenLog), getitemlink(RawLog));
+ input .@count;
+ mes "";
+
+ if (.@count == 0)
+ close;
+
+ .@Cost = .@count * 200;
+ .@empty = countitem(RawLog);
+
+ if (.@empty < .@count || Zeny < .@Cost) {
+ mesn;
+ mesq l("You can't afford my services for that amount. Sorry.");
+ }
+
+ getinventorylist;
+ inventoryplace WoodenLog, .@count;
+
+ Zeny = Zeny - .@Cost;
+ delitem RawLog, .@count;
+ getitem WoodenLog, .@count;
+ close;
+
L_ForestBow:
.@k=getq2(HurscaldQuest_ForestBow);