From 3b4a227fd778e9fd9073caad1c789f01ab25f9ac Mon Sep 17 00:00:00 2001 From: tenplus1 Date: Fri, 26 Jun 2015 09:18:59 +0100 Subject: protector nodes now has unbreakable=1 group added for mobs mod --- init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'init.lua') diff --git a/init.lua b/init.lua index 2f20334..9fecbf6 100644 --- a/init.lua +++ b/init.lua @@ -178,7 +178,7 @@ minetest.register_node("protector:protect", { description = "Protection Block", tiles = {"moreblocks_circle_stone_bricks.png","moreblocks_circle_stone_bricks.png","moreblocks_circle_stone_bricks.png^protector_logo.png"}, sounds = default.node_sound_stone_defaults(), - groups = {dig_immediate=2}, + groups = {dig_immediate=2,unbreakable=1}, drawtype = "nodebox", node_box = { type="fixed", @@ -237,7 +237,7 @@ minetest.register_node("protector:protect2", { wield_image = "protector_logo.png", inventory_image = "protector_logo.png", sounds = default.node_sound_stone_defaults(), - groups = {dig_immediate=2}, + groups = {dig_immediate=2,unbreakable=1}, paramtype = 'light', paramtype2 = "wallmounted", light_source = 2, @@ -531,7 +531,7 @@ minetest.register_node("protector:chest", { tiles = {"default_chest_top.png", "default_chest_top.png", "default_chest_side.png", "default_chest_side.png", "default_chest_side.png", "default_chest_front.png^protector_logo.png"}, paramtype2 = "facedir", - groups = {choppy=2,oddly_breakable_by_hand=2}, + groups = {choppy=2,oddly_breakable_by_hand=2,unbreakable=1}, legacy_facedir_simple = true, is_ground_content = false, sounds = default.node_sound_wood_defaults(), -- cgit v1.2.3