make all nodes diggable in mcl* survival mode

This commit is contained in:
unknown
2022-12-02 15:54:21 -05:00
parent fc0d4990b0
commit 855937aec3
11 changed files with 61 additions and 32 deletions

View File

@ -865,7 +865,7 @@ for white = 0, 1 do
tiles[3] = tiles[3]..tiles_on_off.R270:format(white == 1 and "on" or "off");
tiles[4] = tiles[4]..tiles_on_off.R_90:format(white == 1 and "on" or "off");
local groups = {snappy = 3, tube = 1, tubedevice = 1, overheat = 1, dig_generic = 4}
local groups = {snappy = 3, tube = 1, tubedevice = 1, overheat = 1, dig_generic = 4, axey=5}
if red + blue + yellow + green + black + white ~= 0 then
groups.not_in_creative_inventory = 1
end
@ -912,6 +912,7 @@ for white = 0, 1 do
paramtype = "light",
is_ground_content = false,
groups = groups,
_mcl_hardness=1.6,
drop = BASENAME.."000000",
sunlight_propagates = true,
selection_box = selection_box,
@ -1023,7 +1024,8 @@ minetest.register_node(BASENAME .. "_burnt", {
is_burnt = true,
paramtype = "light",
is_ground_content = false,
groups = {snappy = 3, tube = 1, tubedevice = 1, not_in_creative_inventory=1, dig_generic = 4},
groups = {snappy = 3, tube = 1, tubedevice = 1, not_in_creative_inventory=1, dig_generic = 4, axey=5},
_mcl_hardness=1.6,
drop = BASENAME.."000000",
sunlight_propagates = true,
selection_box = selection_box,