pandorabox custom

This commit is contained in:
Thomas Rudin 2018-07-26 15:58:50 +02:00
parent 6664714313
commit 638c3a33e0
2 changed files with 3 additions and 2 deletions

View File

@ -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",

View File

@ -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