protector nodes now has unbreakable=1 group added for mobs mod
This commit is contained in:
parent
fe08f89bf1
commit
3b4a227fd7
1 changed files with 3 additions and 3 deletions
6
init.lua
6
init.lua
|
|
@ -178,7 +178,7 @@ minetest.register_node("protector:protect", {
|
||||||
description = "Protection Block",
|
description = "Protection Block",
|
||||||
tiles = {"moreblocks_circle_stone_bricks.png","moreblocks_circle_stone_bricks.png","moreblocks_circle_stone_bricks.png^protector_logo.png"},
|
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(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
groups = {dig_immediate=2},
|
groups = {dig_immediate=2,unbreakable=1},
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
node_box = {
|
node_box = {
|
||||||
type="fixed",
|
type="fixed",
|
||||||
|
|
@ -237,7 +237,7 @@ minetest.register_node("protector:protect2", {
|
||||||
wield_image = "protector_logo.png",
|
wield_image = "protector_logo.png",
|
||||||
inventory_image = "protector_logo.png",
|
inventory_image = "protector_logo.png",
|
||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
groups = {dig_immediate=2},
|
groups = {dig_immediate=2,unbreakable=1},
|
||||||
paramtype = 'light',
|
paramtype = 'light',
|
||||||
paramtype2 = "wallmounted",
|
paramtype2 = "wallmounted",
|
||||||
light_source = 2,
|
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",
|
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"},
|
"default_chest_side.png", "default_chest_side.png", "default_chest_front.png^protector_logo.png"},
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
groups = {choppy=2,oddly_breakable_by_hand=2},
|
groups = {choppy=2,oddly_breakable_by_hand=2,unbreakable=1},
|
||||||
legacy_facedir_simple = true,
|
legacy_facedir_simple = true,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue