Removed telephone from cracky group to prevent players from breaking them
This commit is contained in:
parent
94e78aa95e
commit
617d188682
@ -40,7 +40,7 @@ minetest.register_node("telephone:neusonic_kxt2378", {
|
|||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
groups = {cracky = 2},
|
|
||||||
on_punch = function(pos, node, puncher, pointed_thing)
|
on_punch = function(pos, node, puncher, pointed_thing)
|
||||||
node.name = "telephone:neusonic_kxt2378_offhook"
|
node.name = "telephone:neusonic_kxt2378_offhook"
|
||||||
minetest.set_node(pos, node)
|
minetest.set_node(pos, node)
|
||||||
@ -67,7 +67,7 @@ minetest.register_node("telephone:neusonic_kxt2378_offhook", {
|
|||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
groups = {cracky = 2},
|
|
||||||
on_punch = function(pos, node, puncher, pointed_thing)
|
on_punch = function(pos, node, puncher, pointed_thing)
|
||||||
node.name = "telephone:neusonic_kxt2378"
|
node.name = "telephone:neusonic_kxt2378"
|
||||||
minetest.set_node(pos, node)
|
minetest.set_node(pos, node)
|
||||||
@ -95,7 +95,7 @@ minetest.register_node("telephone:neusonic_kxt2378_offhook", {
|
|||||||
--Saxom exKanto
|
--Saxom exKanto
|
||||||
minetest.register_node("telephone:saxom_exkanto", {
|
minetest.register_node("telephone:saxom_exkanto", {
|
||||||
description = "Saxom eXkanto",
|
description = "Saxom eXkanto",
|
||||||
groups = {cracky = 2},
|
|
||||||
|
|
||||||
on_punch = function(pos, node, puncher, pointed_thing)
|
on_punch = function(pos, node, puncher, pointed_thing)
|
||||||
node.name = "telephone:saxom_exkanto_offhook"
|
node.name = "telephone:saxom_exkanto_offhook"
|
||||||
@ -123,7 +123,7 @@ minetest.register_node("telephone:saxom_exkanto", {
|
|||||||
|
|
||||||
minetest.register_node("telephone:saxom_exkanto_offhook", {
|
minetest.register_node("telephone:saxom_exkanto_offhook", {
|
||||||
description = "Saxom eXkanto (Off Hook)",
|
description = "Saxom eXkanto (Off Hook)",
|
||||||
groups = {cracky = 2},
|
|
||||||
|
|
||||||
on_punch = function(pos, node, puncher, pointed_thing)
|
on_punch = function(pos, node, puncher, pointed_thing)
|
||||||
if puncher:get_wielded_item():get_name() == "coconut:nut" then
|
if puncher:get_wielded_item():get_name() == "coconut:nut" then
|
||||||
|
Loading…
Reference in New Issue
Block a user