From f884eaa5cccd61ef714ae0f8ca0a5a97043fb1ff Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 29 May 2018 09:06:54 -0300 Subject: Golden Rings can be forget (+ price new specification) --- npc/003-5/jeweler.txt | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'npc') 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; -- cgit v1.2.3-60-g2f50