summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/re/item_db.conf2
-rw-r--r--npc/003-5/jeweler.txt26
2 files changed, 26 insertions, 2 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index d5b5df38c..31ef139bf 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -3169,7 +3169,7 @@ item_db: (
Name: "Gold Pieces"
Type: "IT_ETC"
Buy: 90000
- Sell: 10000
+ Sell: 8000
Weight: 6
Refine: false
ViewSprite: 793
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;