summaryrefslogtreecommitdiff
path: root/npc/003-8/jhedia.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/003-8/jhedia.txt')
-rw-r--r--npc/003-8/jhedia.txt13
1 files changed, 6 insertions, 7 deletions
diff --git a/npc/003-8/jhedia.txt b/npc/003-8/jhedia.txt
index 9b47f95a0..c5098cec5 100644
--- a/npc/003-8/jhedia.txt
+++ b/npc/003-8/jhedia.txt
@@ -22,14 +22,13 @@
mesq l("Do you want to craft @@? For that I will need @@ @@, @@ @@ and @@ gp.",
getitemlink(.@prize), .@oream, getitemlink(.@basei), .@coalm, getitemlink(Coal), .@price);
- select
- l("Yes"),
- menuaction(l("Quit"));
+ askyesno();
+ mes "";
- if (@menu == 2) goto L_Menu;
+ if (@menu == ASK_NO) goto L_Menu;
- speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
- l("How many ingots do you want to make?");
+ mesn;
+ mesq l("How many ingots do you want to make?");
input .@amount;
if (countitem(.@basei) >= .@amount * .@oream && countitem(Coal) >= .@amount * .@coalm && Zeny >= .@price * .@amount) {
@@ -38,7 +37,7 @@
delitem Coal, .@amount * .@coalm;
Zeny = Zeny - .@amount * .@price;
getitem .@prize, .@amount;
- getexp 10, 0;
+ getexp 10*.@amount, .@amount;
mes "";
mesn;