mirror of
https://github.com/minetest-mods/technic.git
synced 2024-09-30 08:10:42 +02:00
pandorabox custom
This commit is contained in:
parent
6664714313
commit
638c3a33e0
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user