mirror of
https://notabug.org/TenPlus1/protector.git
synced 2025-01-22 07:01:28 +01:00
protector nodes now has unbreakable=1 group added for mobs mod
This commit is contained in:
parent
fe08f89bf1
commit
3b4a227fd7
6
init.lua
6
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(),
|
||||
|
Loading…
Reference in New Issue
Block a user