summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-05-29 09:17:37 -0300
committerJesusaves <cpntb1@ymail.com>2018-05-29 09:51:13 -0300
commitc09a3533f1d856ae3b3945902409bd0b5a537c5d (patch)
tree9507a6fc9d41ed16a0f9de20267e1f93839585c4
parent639e28421443199264c35c0426e2262de40cc2c7 (diff)
downloadserverdata-c09a3533f1d856ae3b3945902409bd0b5a537c5d.tar.gz
serverdata-c09a3533f1d856ae3b3945902409bd0b5a537c5d.tar.bz2
serverdata-c09a3533f1d856ae3b3945902409bd0b5a537c5d.tar.xz
serverdata-c09a3533f1d856ae3b3945902409bd0b5a537c5d.zip
Prepare to rewrite stuff to finish item from RoadMap.
-rw-r--r--db/re/item_db.conf4
-rw-r--r--npc/003-5/jeweler.txt6
-rw-r--r--npc/003-8/jhedia.txt19
3 files changed, 21 insertions, 8 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index 82f016dfe..a509859a6 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -3793,8 +3793,8 @@ item_db: (
AegisName: "GoldOre"
Name: "Gold Ore"
Type: "IT_ETC"
- Buy: 12000
- Sell: 800
+ Buy: 12500
+ Sell: 6000
Weight: 1000
},
{
diff --git a/npc/003-5/jeweler.txt b/npc/003-5/jeweler.txt
index 56a13ff56..e2cf8b01c 100644
--- a/npc/003-5/jeweler.txt
+++ b/npc/003-5/jeweler.txt
@@ -28,14 +28,16 @@ L_Menu:
L_Craft:
mes "";
mesn;
- mesq l("Of course, you can trade a couple of @@ for a @@.", getitemlink(GoldPieces), getitemlink(GoldenRing));
+ mesq l("Of course, you can trade a @@, with 200 GP, for a @@.", getitemlink(GoldPieces), getitemlink(GoldenRing));
next;
menu
- rif(countitem(GoldPieces) >= 2, l("")), -,
+ rif(countitem(GoldPieces) >= 1 && Zeny >= 200, l("Yes, deal. Gimme the ring.")), -,
l("...I'll be back later."), L_Close;
inventoryplace GoldenRing, 1;
delitem GoldPieces, 2;
+ Zeny=Zeny-200;
+
getitem GoldenRing, 1;
getexp 100, 25;
mes "";
diff --git a/npc/003-8/jhedia.txt b/npc/003-8/jhedia.txt
index 0f1a3b90b..ff17307b2 100644
--- a/npc/003-8/jhedia.txt
+++ b/npc/003-8/jhedia.txt
@@ -11,7 +11,7 @@
.GP = 8500;
.ItemCreate = IronIngot;
- function quest_create {
+ function iron_create {
speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
l("How many ingots do you want to make?");
input @amount;
@@ -30,12 +30,20 @@
}
+ mesn;
+ mesq l("Hello! I am @@, and I take care of Tulimshar forge. I usually make ingots from various materials. So, what do you want today?");
+ next;
+ menu
+ l("Iron Ingots"), L_Iron,
+ l("Nothing, thanks."), L_Close;
+
+L_Iron:
speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
- l("Hello! Do you want to craft @@? For that i will need 7 @@, 11 @@ and @@ gp.", getitemlink(.ItemCreate),getitemlink(.Item1),getitemlink(.Item2),.GP);
+ l("Hello! Do you want to craft @@? For that I will need 7 @@, 11 @@ and @@ gp.", getitemlink(.ItemCreate),getitemlink(.Item1),getitemlink(.Item2),.GP);
do
{
- .@karim = getq(Karim_Quest);
+ //.@karim = getq(Karim_Quest);
select
l("Yes"),
menuaction(l("Quit"));
@@ -43,11 +51,14 @@
switch (@menu)
{
case 1:
- quest_create;
+ iron_create;
break;
}
} while (@menu != 2);
+ goto L_Close;
+
+L_Close:
closedialog;
goodbye;
close;