summaryrefslogtreecommitdiff
path: root/npc/005-4
diff options
context:
space:
mode:
Diffstat (limited to 'npc/005-4')
-rw-r--r--npc/005-4/tolchi.txt29
1 files changed, 16 insertions, 13 deletions
diff --git a/npc/005-4/tolchi.txt b/npc/005-4/tolchi.txt
index be168a1dc..133e6a3fe 100644
--- a/npc/005-4/tolchi.txt
+++ b/npc/005-4/tolchi.txt
@@ -50,19 +50,19 @@
switch (@menu)
{
case 1:
- tolchi_arrows;
+ tolchi_arrows();
break;
case 2:
- quest_first;
+ quest_first();
break;
case 3:
- quest_second;
+ quest_second();
break;
case 4:
- quest_third;
+ quest_third();
break;
default:
- quest_close;
+ quest_close();
goodbye;
break;
}
@@ -79,8 +79,8 @@ function quest_close {
mesq l("Maybe next time, then.");
next;
}
- close2;
- goodbye;
+ closeclientdialog;
+ return;
}
// Item delivery core
@@ -148,13 +148,14 @@ function quest_first {
switch (@menu)
{
case 1:
- quest_giveitem;
+ quest_giveitem();
break;
case 2:
- quest_close;
+ quest_close();
break;
}
} while (@menu != 2);
+ return;
}
// Second quest description
@@ -172,13 +173,14 @@ function quest_second {
switch (@menu)
{
case 1:
- quest_giveitem;
+ quest_giveitem();
break;
case 2:
- quest_close;
+ quest_close();
break;
}
} while (@menu != 2);
+ return;
}
// Third quest description
@@ -196,13 +198,14 @@ function quest_third {
switch (@menu)
{
case 1:
- quest_giveitem;
+ quest_giveitem();
break;
case 2:
- quest_close;
+ quest_close();
break;
}
} while (@menu != 2);
+ return;
}
// Make Tolchi Arrows (not cost-effective)