diff options
author | Dennis Friis <peavey@inspircd.org> | 2009-06-06 10:55:19 +0200 |
---|---|---|
committer | Dennis Friis <peavey@inspircd.org> | 2009-06-06 10:55:19 +0200 |
commit | e2d869f2be948a65103e6ba81d7b6da590d58dfc (patch) | |
tree | e390aa8265390aaa5b294590c806d0598739a7d9 /npc/009-2_Hurnscald/nicholas.txt | |
parent | 758ebdb5abb2cb6e4c6a7f9054d84b7cf2fd50d6 (diff) | |
download | classic-serverdata-e2d869f2be948a65103e6ba81d7b6da590d58dfc.tar.gz classic-serverdata-e2d869f2be948a65103e6ba81d7b6da590d58dfc.tar.bz2 classic-serverdata-e2d869f2be948a65103e6ba81d7b6da590d58dfc.tar.xz classic-serverdata-e2d869f2be948a65103e6ba81d7b6da590d58dfc.zip |
Add close to Wedding Officiator and Nicholas as pointed out by fate.
Since the new client no longer has a cancel button.
Diffstat (limited to 'npc/009-2_Hurnscald/nicholas.txt')
-rw-r--r-- | npc/009-2_Hurnscald/nicholas.txt | 12 |
1 files changed, 9 insertions, 3 deletions
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; |