summaryrefslogtreecommitdiff
path: root/npc/003-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-01 12:35:45 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-01 12:35:45 -0300
commit7242d6b1599b876334f70495c743ed35788f0625 (patch)
tree2fcf21789cf2cd74564332d4635a077392dbdc05 /npc/003-1
parentd0c86604a47aad5288e2bbe903699903be4c0259 (diff)
downloadserverdata-7242d6b1599b876334f70495c743ed35788f0625.tar.gz
serverdata-7242d6b1599b876334f70495c743ed35788f0625.tar.bz2
serverdata-7242d6b1599b876334f70495c743ed35788f0625.tar.xz
serverdata-7242d6b1599b876334f70495c743ed35788f0625.zip
Use a helper for Grand Hunter Quest
Diffstat (limited to 'npc/003-1')
-rw-r--r--npc/003-1/aidan.txt24
1 files changed, 3 insertions, 21 deletions
diff --git a/npc/003-1/aidan.txt b/npc/003-1/aidan.txt
index 6ac6611a3..415cf9bd6 100644
--- a/npc/003-1/aidan.txt
+++ b/npc/003-1/aidan.txt
@@ -20,8 +20,7 @@
l("Not at the moment"),
l("Information");
- switch (@menu)
- {
+ switch (@menu) {
case 1:
mes "";
Zeny=Zeny-2000;
@@ -102,25 +101,8 @@ L_Register:
}
L_Assign:
- mes "";
- mesn;
- mes l("I represent the Tulimshar Hunters. We hunt Maggots.");
- mes l("The great prize is @@, a pet which eats Bug Legs.", getitemlink(MaggotCocoon));
- select
- l("I'm not interested."),
- rif(GHMEMO[1] < 10000,l("I'll hunt 10,000 maggots."));
-
- switch (@menu) {
- case 2:
- GHMEMO[getq(General_Hunter)]=getq2(General_Hunter);
- setq(General_Hunter, 1, GHMEMO[1]);
- mesn;
- mesq l("Good luck! Don't come back until you reach 10000 kills!");
- close;
- break;
- default:
- close;
- }
+ GHQ_Assign(Maggot, "Tulimshar", getitemlink(MaggotCocoon));
+ close;
L_Finish:
GHMEMO[getq(General_Hunter)]=getq2(General_Hunter);