summaryrefslogtreecommitdiff
path: root/npc/003-5
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-05-29 09:06:54 -0300
committerJesusaves <cpntb1@ymail.com>2018-05-29 09:51:13 -0300
commitf884eaa5cccd61ef714ae0f8ca0a5a97043fb1ff (patch)
treeec5ebf046542ae639d255f0539a8217841784b2a /npc/003-5
parentba57119a2123a754a44a91ed4d34fa624eb24cd8 (diff)
downloadserverdata-f884eaa5cccd61ef714ae0f8ca0a5a97043fb1ff.tar.gz
serverdata-f884eaa5cccd61ef714ae0f8ca0a5a97043fb1ff.tar.bz2
serverdata-f884eaa5cccd61ef714ae0f8ca0a5a97043fb1ff.tar.xz
serverdata-f884eaa5cccd61ef714ae0f8ca0a5a97043fb1ff.zip
Golden Rings can be forget (+ price new specification)
Diffstat (limited to 'npc/003-5')
-rw-r--r--npc/003-5/jeweler.txt26
1 files changed, 25 insertions, 1 deletions
diff --git a/npc/003-5/jeweler.txt b/npc/003-5/jeweler.txt
index 20d1a2dc9..56a13ff56 100644
--- a/npc/003-5/jeweler.txt
+++ b/npc/003-5/jeweler.txt
@@ -11,17 +11,41 @@
003-5,33,37,0 script Jeweler NPC_FEMALE,{
mesn;
mesq l("Hello!");
+ goto L_Menu;
+
+L_Menu:
mes "";
+ mesn strcharinfo(0);
menu
l("I want to shop."), -,
+ l("I want to craft rings."), L_Craft,
l("Nothing, sorry."), L_Close;
openshop;
closedialog;
close;
+L_Craft:
+ mes "";
+ mesn;
+ mesq l("Of course, you can trade a couple of @@ for a @@.", getitemlink(GoldPieces), getitemlink(GoldenRing));
+ next;
+ menu
+ rif(countitem(GoldPieces) >= 2, l("")), -,
+ l("...I'll be back later."), L_Close;
+
+ inventoryplace GoldenRing, 1;
+ delitem GoldPieces, 2;
+ getitem GoldenRing, 1;
+ getexp 100, 25;
+ mes "";
+ mesn;
+ mesq l("Here you go! Anything else?");
+ next;
+ goto L_Menu;
+
L_Close:
- close2;
+ closedialog;
goodbye;
end;