From 55fae27d05c4e990a1c4c516587cd87fb1731c51 Mon Sep 17 00:00:00 2001 From: unknown <24964441+wsor4035@users.noreply.github.com> Date: Thu, 1 Dec 2022 19:55:04 -0500 Subject: [PATCH] make nodes digable in mcl* survival mode --- nodes.lua | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/nodes.lua b/nodes.lua index 01f9553..ef10f43 100644 --- a/nodes.lua +++ b/nodes.lua @@ -6,14 +6,16 @@ minetest.register_node("basic_materials:cement_block", { description = S("Cement"), tiles = {"basic_materials_cement_block.png"}, is_ground_content = true, - groups = {cracky=2, dig_stone = 1}, + groups = {cracky=2, dig_stone = 1, pickaxey=5}, + _mcl_hardness=1.6, sounds = sound_api.node_sound_stone_defaults(), }) minetest.register_node("basic_materials:concrete_block", { description = S("Concrete Block"), tiles = {"basic_materials_concrete_block.png",}, - groups = {cracky=1, concrete=1, dig_stone = 1}, + groups = {cracky=1, concrete=1, dig_stone = 1, pickaxey=5}, + _mcl_hardness=1.6, sounds = sound_api.node_sound_stone_defaults(), }) @@ -27,7 +29,8 @@ minetest.register_node("basic_materials:chain_steel", { sunlight_propagates = true, paramtype = "light", inventory_image = "basic_materials_chain_steel_inv.png", - groups = {cracky=3, dig_stone = 1}, + groups = {cracky=3, dig_stone = 1, pickaxey=5}, + _mcl_hardness=1.6, selection_box = chains_sbox, }) @@ -41,7 +44,8 @@ minetest.register_node("basic_materials:chain_brass", { sunlight_propagates = true, paramtype = "light", inventory_image = "basic_materials_chain_brass_inv.png", - groups = {cracky=3, dig_stone = 1}, + groups = {cracky=3, dig_stone = 1, pickaxey=5}, + _mcl_hardness=1.6, selection_box = chains_sbox, }) @@ -49,6 +53,7 @@ minetest.register_node("basic_materials:brass_block", { description = S("Brass Block"), tiles = { "basic_materials_brass_block.png" }, is_ground_content = false, - groups = {cracky=1, dig_stone = 1}, + groups = {cracky=1, dig_stone = 1, pickaxey=5}, + _mcl_hardness=1.6, sounds = sound_api.node_sound_metal_defaults() })