Will make the device breakable by hand.
This commit is contained in:
parent
967e27f32b
commit
ec75a1002c
4
init.lua
4
init.lua
@ -55,7 +55,7 @@ local laser_check = function(pos, facedir_param2, range)
|
|||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_node("ldm32:casing", {
|
minetest.register_node("ldm32:casing", {
|
||||||
description = "Spirit Level",
|
description = "Laser Distance Meter",
|
||||||
inventory_image = "ldm32_inventory.png",
|
inventory_image = "ldm32_inventory.png",
|
||||||
drawtype = "mesh",
|
drawtype = "mesh",
|
||||||
mesh = "ldm32_casing.obj",
|
mesh = "ldm32_casing.obj",
|
||||||
@ -72,7 +72,7 @@ minetest.register_node("ldm32:casing", {
|
|||||||
stack_max = 1,
|
stack_max = 1,
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
groups = {cracky = 3},
|
groups = {snappy = 3, dig_immediate = 3},
|
||||||
on_place = minetest.rotate_node,
|
on_place = minetest.rotate_node,
|
||||||
|
|
||||||
on_timer = function(pos)
|
on_timer = function(pos)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user