Will make the device breakable by hand.

This commit is contained in:
laza83 2019-06-09 11:45:16 +02:00 committed by GitHub
parent 967e27f32b
commit ec75a1002c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)