mirror of
https://github.com/minetest-mods/digtron.git
synced 2024-12-22 12:22:22 +01:00
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.
This commit is contained in:
parent
4699ad04cc
commit
f85e42b7fa
@ -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 = {
|
||||
|
@ -277,7 +277,9 @@ minetest.register_node("digtron:controller", {
|
||||
groups = {cracky = 3, oddly_breakable_by_hand = 3, digtron = 1},
|
||||
drop = "digtron:controller",
|
||||
sounds = digtron.metal_sounds,
|
||||
paramtype = "light",
|
||||
paramtype2= "facedir",
|
||||
is_ground_content = false,
|
||||
-- Aims in the +Z direction by default
|
||||
tiles = {
|
||||
"digtron_plate.png^[transformR90",
|
||||
@ -289,7 +291,6 @@ minetest.register_node("digtron:controller", {
|
||||
},
|
||||
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = controller_nodebox,
|
||||
@ -378,7 +379,9 @@ minetest.register_node("digtron:auto_controller", {
|
||||
groups = {cracky = 3, oddly_breakable_by_hand = 3, digtron = 1},
|
||||
drop = "digtron:auto_controller",
|
||||
sounds = digtron.metal_sounds,
|
||||
paramtype = "light",
|
||||
paramtype2= "facedir",
|
||||
is_ground_content = false,
|
||||
-- Aims in the +Z direction by default
|
||||
tiles = {
|
||||
"digtron_plate.png^[transformR90^[colorize:#88000030",
|
||||
@ -390,7 +393,6 @@ minetest.register_node("digtron:auto_controller", {
|
||||
},
|
||||
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = controller_nodebox,
|
||||
@ -445,7 +447,9 @@ minetest.register_node("digtron:pusher", {
|
||||
groups = {cracky = 3, oddly_breakable_by_hand=3, digtron = 1},
|
||||
drop = "digtron:pusher",
|
||||
sounds = digtron.metal_sounds,
|
||||
paramtype = "light",
|
||||
paramtype2= "facedir",
|
||||
is_ground_content = false,
|
||||
-- Aims in the +Z direction by default
|
||||
tiles = {
|
||||
"digtron_plate.png^[transformR90^[colorize:#00880030",
|
||||
@ -457,7 +461,6 @@ minetest.register_node("digtron:pusher", {
|
||||
},
|
||||
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = controller_nodebox,
|
||||
|
@ -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",
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user