From a85d33d5255c3028334834a68fae47f9e3b79d9c Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 25 Jan 2020 14:24:08 -0300 Subject: I'm not going to tidy up this script!! --- npc/005-4/tolchi.txt | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) (limited to 'npc/005-4') 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) -- cgit v1.2.3-60-g2f50