Skip to content
Snippets Groups Projects
Commit 467ea5c7 authored by dg's avatar dg
Browse files

Trapped! quest fails if you somehow escape without killing the assassin or siding with him

git-svn-id: http://svn.net-core.org/repos/t-engine4@6339 51575b47-30f0-44d4-a5cc-537603b46e54
parent 3d460edf
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,7 @@ end
leave_zone = function(self, who)
if self:isStatus(self.COMPLETED, "evil") then return end
if game.level.level == 1 or self:is_assassin_alive() then who:setQuestStatus(self.id, engine.Quest.FAILED) return end
local merchant_alive = false
for uid, e in pairs(game.level.entities) do
if e.is_merchant and not e.dead then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment