summaryrefslogtreecommitdiff
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
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)
-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;