Skip to content

Commit

Permalink
Merge pull request #426 from Astorin/patch-2
Browse files Browse the repository at this point in the history
Allow "mining" of underground pipes at Tarball world.
  • Loading branch information
hanakocz authored Nov 2, 2023
2 parents 76904e6 + c2d9824 commit ad746de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions maps/journey/unique_modifiers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -176,14 +176,14 @@ Public.tarball = {
local entity = event.created_entity
if not entity.valid then return end
if entity.surface.index ~= 1 then return end
if entity.type == 'entity-ghost' or entity.type == 'tile-ghost' or entity.type == 'container' or entity.type == 'wall' or entity.type == 'gate' or entity.type == 'pipe' then return end
if entity.type == 'entity-ghost' or entity.type == 'tile-ghost' or entity.type == 'container' or entity.type == 'wall' or entity.type == 'gate' or entity.type == 'pipe' or entity.type == 'pipe-to-ground' then return end
entity.minable = false
end,
on_built_entity = function(event)
local entity = event.created_entity
if not entity.valid then return end
if entity.surface.index ~= 1 then return end
if entity.type == 'entity-ghost' or entity.type == 'tile-ghost' or entity.type == 'container' or entity.type == 'wall' or entity.type == 'gate' or entity.type == 'pipe' then return end
if entity.type == 'entity-ghost' or entity.type == 'tile-ghost' or entity.type == 'container' or entity.type == 'wall' or entity.type == 'gate' or entity.type == 'pipe' or entity.type == 'pipe-to-ground' then return end
entity.minable = false
end,
on_chunk_generated = function(event, journey)
Expand Down

0 comments on commit ad746de

Please sign in to comment.