summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortenplus1 <kinsellaja@yahoo.com>2015-06-26 09:18:59 +0100
committertenplus1 <kinsellaja@yahoo.com>2015-06-26 09:18:59 +0100
commit3b4a227fd778e9fd9073caad1c789f01ab25f9ac (patch)
tree3028f4ba45da8f8122df383e6f18e01e82276d85
parentfe08f89bf15cbb82b2be76e92803759349695c27 (diff)
protector nodes now has unbreakable=1 group added for mobs mod
-rw-r--r--init.lua6
1 files changed, 3 insertions, 3 deletions
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(),