summaryrefslogtreecommitdiff
path: root/npc/003-8
diff options
context:
space:
mode:
Diffstat (limited to 'npc/003-8')
-rw-r--r--npc/003-8/jhedia.txt19
1 files changed, 15 insertions, 4 deletions
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;