summaryrefslogtreecommitdiff
path: root/npc/034-4/exit.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-05-02 16:46:20 -0300
committerJesusaves <cpntb1@ymail.com>2022-05-02 16:46:20 -0300
commitf7ac042018ce864f6c30be3c7050e83e360e4353 (patch)
tree00b7bdfd9336544aca7bde2979ee7ce8f29868d1 /npc/034-4/exit.txt
parentc649b3e9aaca9139d100664d21a784c34006e327 (diff)
downloadserverdata-f7ac042018ce864f6c30be3c7050e83e360e4353.tar.gz
serverdata-f7ac042018ce864f6c30be3c7050e83e360e4353.tar.bz2
serverdata-f7ac042018ce864f6c30be3c7050e83e360e4353.tar.xz
serverdata-f7ac042018ce864f6c30be3c7050e83e360e4353.zip
First lobby (untested!!)
Diffstat (limited to 'npc/034-4/exit.txt')
-rw-r--r--npc/034-4/exit.txt7
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;