Skip to content
Snippets Groups Projects
Commit d78072a4 authored by DarkGod's avatar DarkGod
Browse files

Melinda wont re-die randomly on the beach

parent 2aab6ad6
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,17 @@ local q = game.player:hasQuest("kryl-feijan-escape")
local qs = game.player:hasQuest("shertul-fortress")
local ql = game.player:hasQuest("love-melinda")
if not q or not q:isStatus(q.DONE) then
if ql and ql:isStatus(q.COMPLETED, "death-beach") then
newChat{ id="welcome",
text = [[#LIGHT_GREEN#*A man talks to you from inside, the door half open. His voice is sad.*#WHITE#
Sorry, the store is closed.]],
answers = {
{"[leave]"},
}
}
elseif not q or not q:isStatus(q.DONE) then
newChat{ id="welcome",
text = [[#LIGHT_GREEN#*A man talks to you from inside, the door half open. His voice is sad.*#WHITE#
......
......@@ -53,6 +53,7 @@ newEntity{
combat_armor = 3, combat_def = 3,
on_resurrect = function(self)
game.level.data.blight_start_in = nil
game.level.map:particleEmitter(self.x, self.y, 10, "ball_blight", {radius=10})
local list = {}
for uid, e in pairs(game.level.entities) do
......
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