summaryrefslogtreecommitdiff
path: root/npc/005-4
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-01-25 14:24:08 -0300
committerJesusaves <cpntb1@ymail.com>2020-01-25 14:24:08 -0300
commita85d33d5255c3028334834a68fae47f9e3b79d9c (patch)
treea70805db95600328412406333d69bb1fe731dd8e /npc/005-4
parent904c2f1449661a7cd08f1f4d6d2457d3daa198c0 (diff)
downloadserverdata-a85d33d5255c3028334834a68fae47f9e3b79d9c.tar.gz
serverdata-a85d33d5255c3028334834a68fae47f9e3b79d9c.tar.bz2
serverdata-a85d33d5255c3028334834a68fae47f9e3b79d9c.tar.xz
serverdata-a85d33d5255c3028334834a68fae47f9e3b79d9c.zip
I'm not going to tidy up this script!!
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)