diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-05-02 16:46:20 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-05-02 16:46:20 -0300 |
commit | f7ac042018ce864f6c30be3c7050e83e360e4353 (patch) | |
tree | 00b7bdfd9336544aca7bde2979ee7ce8f29868d1 /npc/034-4/exit.txt | |
parent | c649b3e9aaca9139d100664d21a784c34006e327 (diff) | |
download | serverdata-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.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; |