From 1131add31b8928faa93eab78e7bfe845f771ceeb Mon Sep 17 00:00:00 2001 From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54> Date: Tue, 3 May 2011 00:09:42 +0000 Subject: [PATCH] plop git-svn-id: http://svn.net-core.org/repos/t-engine4@3304 51575b47-30f0-44d4-a5cc-537603b46e54 --- game/modules/tome/data/chats/eidolon-plane.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/game/modules/tome/data/chats/eidolon-plane.lua b/game/modules/tome/data/chats/eidolon-plane.lua index 5cd7818035..0c58848e7a 100644 --- a/game/modules/tome/data/chats/eidolon-plane.lua +++ b/game/modules/tome/data/chats/eidolon-plane.lua @@ -27,7 +27,10 @@ As for your probable many questions, they will stay unanswered. I may help, but answers = { {"Thank you. I will rest for a while."}, {"Thank you. I am ready to go back!", action=function() game.level.data.eidolon_exit(false) end}, - {"Thank you, but I fear I will not survive anyway, can you send me back somewhere else please?", action=function() game.level.data.eidolon_exit(true) end}, + {"Thank you, but I fear I will not survive anyway, can you send me back somewhere else please?", + cond=function() return not game.level.source_level.data or not game.level.source_level.data.no_worldport end, + action=function() game.level.data.eidolon_exit(true) end + }, } } -- GitLab