summaryrefslogtreecommitdiff
path: root/node_misc.lua
diff options
context:
space:
mode:
authorFaceDeer <derksenmobile@gmail.com>2017-01-02 20:07:15 -0700
committerFaceDeer <derksenmobile@gmail.com>2017-01-02 20:07:15 -0700
commitc1a090137c0f8c35d984c3ca0bafc3dde8d1b872 (patch)
treea5d634fb024324a23007d173817a6e5e9a389cbd /node_misc.lua
parent711c43b9649e302f4bc7e422031d5f3d59c248e8 (diff)
making digtron nodes diggable by hand. Also extracting controller code in prep for an autonomous controller
Diffstat (limited to 'node_misc.lua')
-rw-r--r--node_misc.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/node_misc.lua b/node_misc.lua
index 08a044a..c2c1bfb 100644
--- a/node_misc.lua
+++ b/node_misc.lua
@@ -1,7 +1,7 @@
-- A do-nothing "structural" node, to ensure all digtron nodes that are supposed to be connected to each other can be connected to each other.
minetest.register_node("digtron:structure", {
description = "Digger Structure",
- groups = {cracky = 3, stone = 1, digtron = 1},
+ groups = {cracky = 3, oddly_breakable_by_hand=3, digtron = 1},
drop = 'digtron:structure',
tiles = {"digtron_plate.png"},
drawtype = "nodebox",
@@ -31,7 +31,7 @@ minetest.register_node("digtron:structure", {
-- A modest light source that will move with the digtron, handy for working in a tunnel you aren't bothering to install permanent lights in.
minetest.register_node("digtron:light", {
description = "Digger Light",
- groups = {cracky = 3, stone = 1, digtron = 1},
+ groups = {cracky = 3, oddly_breakable_by_hand=3, digtron = 1},
drop = 'digtron:light',
tiles = {"digtron_light.png"},
drawtype = "nodebox",
@@ -52,7 +52,7 @@ minetest.register_node("digtron:light", {
minetest.register_node("digtron:inventory",
{
description = "Digtron Inventory Hopper",
- groups = {cracky = 3, stone = 1, digtron = 2},
+ groups = {cracky = 3, oddly_breakable_by_hand=3, digtron = 2},
drop = 'digtron:inventory',
sounds = default.node_sound_metal_defaults(),
paramtype2= 'facedir',
@@ -89,7 +89,7 @@ minetest.register_node("digtron:inventory",
minetest.register_node("digtron:fuelstore",
{
description = "Digtron Fuel Hopper",
- groups = {cracky = 3, stone = 1, digtron = 5},
+ groups = {cracky = 3, oddly_breakable_by_hand=3, digtron = 5},
drop = 'digtron:fuelstore',
sounds = default.node_sound_metal_defaults(),
paramtype2= 'facedir',