summaryrefslogtreecommitdiff
path: root/node_diggers.lua
diff options
context:
space:
mode:
authorFaceDeer <derksenmobile@gmail.com>2017-01-05 23:52:09 -0700
committerFaceDeer <derksenmobile@gmail.com>2017-01-05 23:52:09 -0700
commitf85e42b7fafa3697cca51ff257aa58d7cedaffc6 (patch)
tree622a35b4b8bb43330f71ea43df75908065a781ef /node_diggers.lua
parent4699ad04cc1e02ac0e0b1be25ed1c7ddf04ff9a7 (diff)
Adding is_ground_content = false to all digtrons
I just had a test digtron get mostly destroyed by a dungeon generating around it as it crossed a map chunk boundary. Apparently dungeon generation can extend into already-generated map chunks, to prevent dungeons from getting cut off. Hopefully this will prevent such a tragedy from happening again.
Diffstat (limited to 'node_diggers.lua')
-rw-r--r--node_diggers.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/node_diggers.lua b/node_diggers.lua
index 8907d3d..579cb12 100644
--- a/node_diggers.lua
+++ b/node_diggers.lua
@@ -47,7 +47,7 @@ minetest.register_node("digtron:digger", {
sounds = digtron.metal_sounds,
paramtype = "light",
paramtype2= "facedir",
-
+ is_ground_content = false,
drawtype="nodebox",
node_box = {
type = "fixed",
@@ -93,7 +93,7 @@ minetest.register_node("digtron:intermittent_digger", {
sounds = digtron.metal_sounds,
paramtype = "light",
paramtype2= "facedir",
-
+ is_ground_content = false,
drawtype="nodebox",
node_box = {
type = "fixed",
@@ -148,7 +148,7 @@ minetest.register_node("digtron:soft_digger", {
sounds = digtron.metal_sounds,
paramtype = "light",
paramtype2= "facedir",
-
+ is_ground_content = false,
drawtype="nodebox",
node_box = {
type = "fixed",
@@ -201,7 +201,7 @@ minetest.register_node("digtron:intermittent_soft_digger", {
sounds = digtron.metal_sounds,
paramtype = "light",
paramtype2= "facedir",
-
+ is_ground_content = false,
drawtype="nodebox",
node_box = {
type = "fixed",