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

Fixed the orb pedestals in the slime tunnels to be an actual requirement

parent 2793309f
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -43,10 +43,5 @@ open_high_peak = function(self, who)
game:onLevelLoad("wilderness-1", function(zone, wild)
wild.map:removeParticleEmitter(wild.data.istari_shield)
end)
local g = game.zone:makeEntityByName(game.level, "terrain", "PEAK_STAIR")
for j = 11, 18 do
game.level.map(249, j, engine.Map.TERRAIN, g)
end
game.logPlayer(who, "#LIGHT_BLUE#There is a loud crack. The way is open.")
end
......@@ -155,6 +155,10 @@ newEntity{
notice = true,
change_level=1, change_zone="high-peak",
change_level_check = function()
if not game.player:hasQuest("orb-command") or not game.player:isQuestStatus("orb-command", engine.Quest.DONE) then
require("engine.ui.Dialog"):simplePopup("High Peak", 'The way forward is blocked. There must be some way around here to unlock those doors.')
return true
end
require("engine.ui.Dialog"):yesnoLongPopup("High Peak", 'As you stand on the stairs you can feel this is a "do or die" one way trip. If you enter there will be no coming back.\nEnter?', 500, function(ret) if ret then
game:changeLevel(1, "high-peak")
end end)
......
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