make items digable in farlands

This commit is contained in:
wsor4035 2024-04-13 21:26:35 -04:00
parent d3ad69dd23
commit 72e55ed639
3 changed files with 5 additions and 5 deletions

View File

@ -12,7 +12,7 @@ local function reg_simple(name, def)
tiles = def.tiles,
paramtype = "light",
paramtype2 = "facedir",
groups = def.groups or {snappy=3},
groups = def.groups or {snappy=3, dig_tree=2},
is_ground_content = false,
selection_box = {
type = "fixed",

View File

@ -17,7 +17,7 @@ minetest.register_node("home_workshop_machines:3dprinter_bedflinger", {
},
paramtype = "light",
walkable = true,
groups = {snappy=3, ud_param2_colorable = 1},
groups = {snappy=3, ud_param2_colorable = 1, dig_tree=2},
is_ground_content = false,
sound = xcompat.sounds.node_sound_wood_defaults(),
drawtype = "mesh",
@ -48,7 +48,7 @@ minetest.register_node("home_workshop_machines:3dprinter_corexy", {
},
paramtype = "light",
walkable = true,
groups = {snappy=3, ud_param2_colorable = 1},
groups = {snappy=3, ud_param2_colorable = 1, dig_tree=2},
is_ground_content = false,
sound = xcompat.sounds.node_sound_wood_defaults(),
drawtype = "mesh",

View File

@ -18,7 +18,7 @@ minetest.register_node("home_workshop_misc:tool_cabinet", {
paramtype2="facedir",
inventory_image = "home_workshop_misc_tool_cabinet_inv.png",
on_rotate = minetest.get_modpath("screwdriver") and screwdriver.rotate_simple or nil,
groups = { snappy=3 },
groups = { snappy=3, dig_tree=2 },
is_ground_content = false,
expand = { top="placeholder" },
inventory = {
@ -37,7 +37,7 @@ minetest.register_node("home_workshop_misc:beer_tap", {
inventory_image = "home_workshop_misc_beertap_inv.png",
paramtype = "light",
paramtype2 = "facedir",
groups = { snappy=3 },
groups = { snappy=3, dig_tree=2 },
is_ground_content = false,
walkable = false,
selection_box = {