From f85e42b7fafa3697cca51ff257aa58d7cedaffc6 Mon Sep 17 00:00:00 2001 From: FaceDeer Date: Thu, 5 Jan 2017 23:52:09 -0700 Subject: 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. --- node_misc.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'node_misc.lua') diff --git a/node_misc.lua b/node_misc.lua index ca28318..30b4e65 100644 --- a/node_misc.lua +++ b/node_misc.lua @@ -9,6 +9,7 @@ minetest.register_node("digtron:structure", { climbable = true, walkable = false, paramtype = "light", + is_ground_content = false, node_box = { type = "fixed", fixed = { @@ -36,6 +37,7 @@ minetest.register_node("digtron:light", { tiles = {"digtron_light.png"}, drawtype = "nodebox", paramtype = "light", + is_ground_content = false, light_source = 10, sounds = default.node_sound_glass_defaults(), paramtype2 = "wallmounted", @@ -56,6 +58,7 @@ minetest.register_node("digtron:inventory", drop = "digtron:inventory", sounds = digtron.metal_sounds, paramtype2= "facedir", + is_ground_content = false, tiles = {"digtron_inventory.png"}, on_construct = function(pos) @@ -93,6 +96,7 @@ minetest.register_node("digtron:fuelstore", drop = "digtron:fuelstore", sounds = digtron.metal_sounds, paramtype2= "facedir", + is_ground_content = false, tiles = {"digtron_fuelstore.png"}, on_construct = function(pos) -- cgit v1.2.3