From 488f65587dcd954ee920ea9f3db3fade2b8edf07 Mon Sep 17 00:00:00 2001
From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54>
Date: Tue, 8 Mar 2011 09:41:10 +0000
Subject: [PATCH] Fixed Derth after the lightning quest - they wont thank the
 mages if you sided with Zigur

git-svn-id: http://svn.net-core.org/repos/t-engine4@2978 51575b47-30f0-44d4-a5cc-537603b46e54
---
 game/modules/tome/data/quests/lightning-overload.lua | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/game/modules/tome/data/quests/lightning-overload.lua b/game/modules/tome/data/quests/lightning-overload.lua
index d86b654b31..4670a8e6a3 100644
--- a/game/modules/tome/data/quests/lightning-overload.lua
+++ b/game/modules/tome/data/quests/lightning-overload.lua
@@ -137,6 +137,10 @@ reenter_derth = function(self)
 		game.level.data.background = nil
 
 		game.player:setQuestStatus(self.id, engine.Quest.COMPLETED, "restored-derth")
-		require("engine.ui.Dialog"):simpleLongPopup("Clear sky", "It seems the mages have kept their word.\nDerth is free of the storm cloud.", 400)
+		if self:isCompleted("tempest-entrance") then
+			require("engine.ui.Dialog"):simpleLongPopup("Clear sky", "It seems the ziguranth have kept their word.\nDerth is free of the storm cloud.", 400)
+		else
+			require("engine.ui.Dialog"):simpleLongPopup("Clear sky", "It seems the mages have kept their word.\nDerth is free of the storm cloud.", 400)
+		end
 	end
 end
-- 
GitLab