diff options
Diffstat (limited to 'npc/034-4/exit.txt')
-rw-r--r-- | npc/034-4/exit.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/npc/034-4/exit.txt b/npc/034-4/exit.txt index b1b6b4d33..8b1be0fc5 100644 --- a/npc/034-4/exit.txt +++ b/npc/034-4/exit.txt @@ -21,10 +21,15 @@ OnTouch: GeminiCheck(); // Only the party leader go ahead if (strcharinfo(0) != getpartyleader(getcharid(1))) { - mesq l("%s has the key.", getpartyleader(getcharid(1))); + mes l("%s has the key.", getpartyleader(getcharid(1))); close; } + mesc l("Are you sure you want to leave?"), 1; + mesc l("You, and everyone on the party, won't be able to return."), 1; + if (askyesno() == ASK_NO) close; + closeclientdialog; + // Create maze and populate (From 45x45 to 60x60) CreateMaze(IOT_CHAR, MAZE_SIZE_M | MAZE_SIZE_G); .@mx=getmapinfo(MAPINFO_SIZE_X, MAZE_MAP$)-20; |