From e2d869f2be948a65103e6ba81d7b6da590d58dfc Mon Sep 17 00:00:00 2001 From: Dennis Friis Date: Sat, 6 Jun 2009 10:55:19 +0200 Subject: Add close to Wedding Officiator and Nicholas as pointed out by fate. Since the new client no longer has a cancel button. --- npc/009-2_Hurnscald/nicholas.txt | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'npc/009-2_Hurnscald/nicholas.txt') diff --git a/npc/009-2_Hurnscald/nicholas.txt b/npc/009-2_Hurnscald/nicholas.txt index 0ee1053f..f808959d 100644 --- a/npc/009-2_Hurnscald/nicholas.txt +++ b/npc/009-2_Hurnscald/nicholas.txt @@ -107,10 +107,11 @@ L_main_menu: set @CHOICE_WARLORD, 3; set @CHOICE_SHIELD, 4; set @CHOICE_SETZER, 5; + set @CHOICE_CANCEL, 6; - setarray @choice$, "", "", "", "", ""; + setarray @choice$, "", "", "", "", "", ""; set @choices_nr, 0; - setarray @choice_idx, 0, 0, 0, 0, 0; + setarray @choice_idx, 0, 0, 0, 0, 0, 0; if (countitem("ShortSword") < 1) goto L_main_menu_post_setzer; set @choice$[@choices_nr], "Can you make my short sword better?"; @@ -140,12 +141,16 @@ L_main_menu_post_setzer: set @choice_idx[@choices_nr], @CHOICE_WARLORD; set @choices_nr, 1 + @choices_nr; L_no_more_helmets: + set @choice$[@choices_nr], "No thanks."; + set @choice_idx[@choices_nr], @CHOICE_CANCEL; + set @choices_nr, 1 + @choices_nr; menu @choice$[0], -, @choice$[1], -, @choice$[2], -, @choice$[3], -, - @choice$[4], -; + @choice$[4], -, + @choice$[5], -; set @menu, @menu - 1; @@ -159,6 +164,7 @@ L_no_more_helmets: if (@choice == @CHOICE_WARLORD) goto L_YesWarlord; if (@choice == @CHOICE_SHIELD) goto L_YesShield; if (@choice == @CHOICE_SETZER) goto L_SetzerQuest; + if (@choice == @CHOICE_CANCEL) goto L_end; close; -- cgit v1.2.3-60-g2f50