Skip to content
Snippets Groups Projects
Commit 83f5112d authored by dg's avatar dg
Browse files

Event portals & such can not be moved around

git-svn-id: http://svn.net-core.org/repos/t-engine4@5772 51575b47-30f0-44d4-a5cc-537603b46e54
parent 6ba45230
No related branches found
No related tags found
No related merge requests found
......@@ -50,6 +50,7 @@ for i, p in ipairs(list) do
g.add_displays = g.add_displays or {}
g.add_displays[#g.add_displays+1] = mod.class.Grid.new{image="terrain/moonstone_0"..rng.range(1,8)..".png", display_y=-1, display_h=2, z=18}
g.nice_tiler = nil
g.grow = nil g.dig = nil
g.is_monolith = true
game.zone:addEntity(game.level, g, "terrain", p.x, p.y)
......
......@@ -140,6 +140,7 @@ if engine.Map.tiles.nicer_tiles then
g.add_displays = g.add_displays or {}
g.add_displays[#g.add_displays+1] = mod.class.Grid.new{image="terrain/demon_portal3.png"}
end
g.grow = nil g.dig = nil
g.nice_tiler = nil
g:initGlow()
g.real_change = changer
......
......@@ -111,6 +111,7 @@ if engine.Map.tiles.nicer_tiles then
}}
end
g.nice_tiler = nil
g.grow = nil g.dig = nil
g:initGlow()
g.real_change = changer
g.change_level_check = function(self)
......
......@@ -121,6 +121,7 @@ if tries < 100 then
g.add_displays = g.add_displays or {}
g.add_displays[#g.add_displays+1] = mod.class.Grid.new{image="terrain/grave_unopened_0"..rng.range(1,3).."_64.png", display_y=-1, display_h=2}
end
g.grow = nil g.dig = nil
g.nice_tiler = nil
g.block_move = function(self, x, y, who, act, couldpass)
if not who or not who.player or not act then return false end
......
......@@ -37,6 +37,7 @@ if tries < 100 then
g.add_displays[#g.add_displays+1] = mod.class.Grid.new{image="terrain/grave_unopened_0"..rng.range(1,3).."_64.png", display_y=-1, display_h=2}
end
g.nice_tiler = nil
g.grow = nil g.dig = nil
g.block_move = function(self, x, y, who, act, couldpass)
if not who or not who.player or not act then return false end
who:runStop("grave")
......
......@@ -50,6 +50,7 @@ for i = 1, 3 do
g.add_displays[#g.add_displays+1] = mod.class.Grid.new{image="terrain/pedestal_01.png", display_y=-1, display_h=2}
end
g.nice_tiler = nil
g.grow = nil g.dig = nil
g.x = i
g.y = j
g.block_move = function(self, x, y, who, act, couldpass)
......
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