From 9463b08afda449261c50f0fea6a526de8c67cdd7 Mon Sep 17 00:00:00 2001 From: Shadow_Man <56026280+Astorin@users.noreply.github.com> Date: Wed, 1 Nov 2023 14:37:12 +0200 Subject: [PATCH] Allow "mining" of underground pipes at Tarball world. --- maps/journey/unique_modifiers.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maps/journey/unique_modifiers.lua b/maps/journey/unique_modifiers.lua index 45b0340c6..34b69d0c2 100644 --- a/maps/journey/unique_modifiers.lua +++ b/maps/journey/unique_modifiers.lua @@ -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)