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

Made the alternate ruined dungeon orbs more obvious

Ruined dungeon guardians will not be wall-walkers
parent 2d099084
No related branches found
No related tags found
No related merge requests found
......@@ -109,7 +109,7 @@ newEntity{
elseif self.portal_type == "darkness" then text = "The orb seems to absorb all light."
elseif self.portal_type == "blood" then text = "The orb is drips with thick blood."
elseif self.portal_type == "grave" then text = "The orb smells like a rotten corpse."
elseif self.portal_type == "ice" then text = "The orb is icy to the touch."
elseif self.portal_type == "time" then text = "Time seems to slow down around the orb."
elseif self.portal_type == "mind" then text = "Your mind is filled with strange thoughts as you approach the orb."
elseif self.portal_type == "blight" then text = "The orb seems to corrupt all it touches."
......
......@@ -60,7 +60,7 @@ return {
-- Randomly assign portal types
local types = ({
DEFAULT = {"wind", "earth", "fire", "water", "arcane", "nature"},
ALT1 = {"darkness", "blood", "grave", "time", "mind", "blight"},
ALT1 = {"darkness", "blood", "time", "ice", "mind", "blight"},
})[game.zone.clues_layout]
local _, portals = level:pickSpot{type="portal", subtype="portal"}
for i, spot in ipairs(portals) do
......@@ -89,7 +89,7 @@ return {
for i, spot in ipairs(guardians) do
while true do
local m = game.zone:makeEntity(level, "actor", guardian_filter, nil, true)
if m then
if m and not m.can_pass.pass_wall then
game.zone:addEntity(level, m, "actor", spot.x, spot.y)
break
end
......@@ -102,7 +102,7 @@ return {
local Dialog = require("engine.ui.Dialog")
local order = ({
DEFAULT = {"water", "earth", "wind", "nature", "arcane", "fire"},
ALT1 = {"darkness", "blood", "grave", "time", "mind", "blight"},
ALT1 = {"darkness", "blood", "time", "ice", "mind", "blight"},
})[game.zone.clues_layout]
local o = game.level.orbs_touched
o[#o+1] = type
......
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