From 638c3a33e062fdd8fb90eaac7ae356dbd7ce0123 Mon Sep 17 00:00:00 2001 From: Thomas Rudin Date: Thu, 26 Jul 2018 15:58:50 +0200 Subject: [PATCH] pandorabox custom --- technic/config.lua | 2 +- technic/machines/HV/quarry.lua | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/technic/config.lua b/technic/config.lua index bb748ec..64c09f8 100644 --- a/technic/config.lua +++ b/technic/config.lua @@ -8,7 +8,7 @@ local defaults = { enable_flashlight = "false", enable_wind_mill = "false", enable_frames = "false", - enable_corium_griefing = "true", + enable_corium_griefing = "false", enable_radiation_protection = "true", enable_entity_radiation_damage = "true", enable_longterm_radiation_damage = "true", diff --git a/technic/machines/HV/quarry.lua b/technic/machines/HV/quarry.lua index 86ca395..6aba877 100644 --- a/technic/machines/HV/quarry.lua +++ b/technic/machines/HV/quarry.lua @@ -161,10 +161,11 @@ local function quarry_run(pos, node) end if can_dig then + -- test above blocks if diggable for ay = startpos.y, digpos.y+1, -1 do local checkpos = {x=digpos.x, y=ay, z=digpos.z} local checknode = technic.get_or_load_node(checkpos) or minetest.get_node(checkpos) - if checknode.name ~= "air" then + if checknode.name ~= "air" and checknode.name ~= "vacuum:vacuum" then can_dig = false break end