summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-05-31 10:35:17 -0300
committerJesusaves <cpntb1@ymail.com>2018-05-31 10:35:17 -0300
commit5f5b78c462ffb3280c9153b3912b8d14629b94b3 (patch)
treef450965b5a8952c20947a4eb7133da53e94950d3 /npc
parentd4bdcdc268aa03e57bee617b6fd13a3c929189a1 (diff)
downloadserverdata-5f5b78c462ffb3280c9153b3912b8d14629b94b3.tar.gz
serverdata-5f5b78c462ffb3280c9153b3912b8d14629b94b3.tar.bz2
serverdata-5f5b78c462ffb3280c9153b3912b8d14629b94b3.tar.xz
serverdata-5f5b78c462ffb3280c9153b3912b8d14629b94b3.zip
Rewritewritewrite
Diffstat (limited to 'npc')
-rw-r--r--npc/003-5/jeweler.txt19
1 files changed, 12 insertions, 7 deletions
diff --git a/npc/003-5/jeweler.txt b/npc/003-5/jeweler.txt
index 9121f7544..1ed91cbd6 100644
--- a/npc/003-5/jeweler.txt
+++ b/npc/003-5/jeweler.txt
@@ -5,8 +5,12 @@
// Sells and crafts jewels
//
// Notes:
-// Gold Ore (dropped by bifs) → Pieces or Ingot, depends on what you want to forge
-// Jeweler only works with Gold PIECES. The Ingots are for forges.
+// Gold/Silver/Bronze Ore (dropped by bifs) → Pieces or Ingot, depends on what you want to forge
+// Jeweler only works with Gold/Silver/Bronze PIECES. The Ingots are for forges.
+// Jeweler can also polish raw gemstones for a comission ($$$)
+// Polished gemstones can be inserted on rings.
+// The most precious the ring, heavier. All three rings can be swapped by a
+// more powerful ring. Still pending discussion.
003-5,33,37,0 script Jeweler NPC_FEMALE,{
mesn;
@@ -19,7 +23,7 @@ L_Menu:
menu
l("I want to shop."), -,
l("I want to craft rings."), L_Craft,
- rif(countitem(GoldenRing) >= 1, l("I want to add gemstones to a ring.")), L_Gemstone,
+ rif(countitem(GoldenRing) >= 1 && is_admin(), l("I want to add gemstones to a ring.")), L_Gemstone,
l("Nothing, sorry."), L_Close;
openshop;
@@ -29,15 +33,15 @@ L_Menu:
L_Craft:
mes "";
mesn;
- mesq l("Of course, you can trade a @@, with 200 GP, for a @@.", getitemlink(GoldPieces), getitemlink(GoldenRing));
+ mesq l("Of course, you can trade 5 @@, with 12000 GP, for a @@.", getitemlink(GoldPieces), getitemlink(GoldenRing));
next;
menu
- rif(countitem(GoldPieces) >= 1 && Zeny >= 200, l("Yes, deal. Gimme the ring.")), -,
+ rif(countitem(GoldPieces) >= 5 && Zeny >= 12000, l("Yes, deal. Gimme the ring.")), -,
l("...I'll be back later."), L_Close;
inventoryplace GoldenRing, 1;
- delitem GoldPieces, 1;
- Zeny=Zeny-200;
+ delitem GoldPieces, 5;
+ Zeny=Zeny-12000;
getitem GoldenRing, 1;
getexp 100, 25;
@@ -48,6 +52,7 @@ L_Craft:
goto L_Menu;
L_Gemstone:
+ // We will be working with polished gems, so this code will be recycled.
mes "";
mesn;
mesq l("Adding gems will give special stats to rings, and they'll become lighter, but these gems cannot be removed easily.");