summaryrefslogtreecommitdiff
path: root/npc/003-5
diff options
context:
space:
mode:
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;