From 7242d6b1599b876334f70495c743ed35788f0625 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 1 Jun 2018 12:35:45 -0300 Subject: Use a helper for Grand Hunter Quest --- npc/009-1/guards.txt | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) (limited to 'npc/009-1') diff --git a/npc/009-1/guards.txt b/npc/009-1/guards.txt index e0c4f8573..29912b017 100644 --- a/npc/009-1/guards.txt +++ b/npc/009-1/guards.txt @@ -15,32 +15,7 @@ next; mesn; mesq l("The path will be open when it's safe again for heavily armed travellers."); - if (GHQUEST) goto L_Assign; - close; - -L_Assign: - next; - //mesq l("Current Quest Progress: @@/10,000 kills", getq2(General_Hunter)); - mesn; - mes l("I represent the Halinarzo Hunters. We hunt Snakes."); - mes l("The great prize is @@ GP. It can be claimed with Aidan, on Tulimshar.", "250,000"); - if (getq(General_Hunter)) mes l("You are already hunting something else. Do you want to switch?"); - select - l("I'm not interested."), - rif(GHMEMO[2] < 10000,l("I'll hunt 10,000 snakes.")); - - switch (@menu) { - case 2: - GHMEMO[getq(General_Hunter)]=getq2(General_Hunter); - setq(General_Hunter, 2, GHMEMO[2]); - mesn; - mesq l("Good luck! Don't come back until you reach 10000 kills!"); - close; - break; - default: - close; - } - + if (GHQUEST) GHQ_Assign(Snake, "Halinarzo", "250.000 GP"); close; L_MKControl: -- cgit v1.2.3-60-g2f50