diff options
author | FaceDeer <derksenmobile@gmail.com> | 2017-01-05 23:52:09 -0700 |
---|---|---|
committer | FaceDeer <derksenmobile@gmail.com> | 2017-01-05 23:52:09 -0700 |
commit | f85e42b7fafa3697cca51ff257aa58d7cedaffc6 (patch) | |
tree | 622a35b4b8bb43330f71ea43df75908065a781ef /node_builders.lua | |
parent | 4699ad04cc1e02ac0e0b1be25ed1c7ddf04ff9a7 (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_builders.lua')
-rw-r--r-- | node_builders.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/node_builders.lua b/node_builders.lua index f173c63..ce2317a 100644 --- a/node_builders.lua +++ b/node_builders.lua @@ -6,7 +6,9 @@ minetest.register_node("digtron:builder", { groups = {cracky = 3, oddly_breakable_by_hand=3, digtron = 4}, drop = "digtron:builder", sounds = digtron.metal_sounds, + paramtype = "light", paramtype2= "facedir", + is_ground_content = false, tiles = { "digtron_plate.png^[transformR90", "digtron_plate.png^[transformR270", @@ -17,7 +19,6 @@ minetest.register_node("digtron:builder", { }, drawtype = "nodebox", - paramtype = "light", node_box = { type = "fixed", fixed = { |