diff options
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; |