From 4547e436f78a7bfdd2e7920990e9f2d252009311 Mon Sep 17 00:00:00 2001 From: cheapie Date: Sun, 2 Jun 2019 13:02:56 -0500 Subject: Remove collision from most conductors --- conductors.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/conductors.lua b/conductors.lua index dfc8793..abea2eb 100644 --- a/conductors.lua +++ b/conductors.lua @@ -125,6 +125,7 @@ minetest.register_node("digistuff:receiver", { is_ground_content = false, paramtype = "light", paramtype2 = "facedir", + walkable = false, drawtype = "nodebox", node_box = { type = "fixed", @@ -189,6 +190,12 @@ minetest.register_node("digistuff:vertical_bottom", { {-0.05,-0.4375,-0.05,0.05,0.5,0.05}, }, }, + collision_box = { + type = "fixed", + fixed = { + {-0.5,-0.5,-0.5,0.5,-0.4375,0.5}, + }, + }, after_place_node = digistuff.vertical_autoconnect, after_destruct = digistuff.vertical_remove, digiline = { @@ -214,6 +221,7 @@ minetest.register_node("digistuff:vertical_middle", { drop = "digistuff:vertical_bottom", is_ground_content = false, paramtype = "light", + walkable = false, drawtype = "nodebox", node_box = { type = "fixed", @@ -277,6 +285,7 @@ minetest.register_node("digistuff:insulated_straight", { }, paramtype = "light", paramtype2 = "facedir", + walkable = false, on_rotate = minetest.get_modpath("screwdriver") and screwdriver.rotate_simple, groups = {dig_immediate = 3,}, is_ground_content = false, @@ -316,6 +325,7 @@ minetest.register_node("digistuff:insulated_tjunction", { }, paramtype = "light", paramtype2 = "facedir", + walkable = false, on_rotate = minetest.get_modpath("screwdriver") and screwdriver.rotate_simple, groups = {dig_immediate = 3,}, is_ground_content = false, @@ -357,6 +367,7 @@ minetest.register_node("digistuff:insulated_corner", { }, paramtype = "light", paramtype2 = "facedir", + walkable = false, on_rotate = minetest.get_modpath("screwdriver") and screwdriver.rotate_simple, groups = {dig_immediate = 3,}, is_ground_content = false, @@ -396,6 +407,7 @@ minetest.register_node("digistuff:insulated_fourway", { "digistuff_insulated_edge.png", }, paramtype = "light", + walkable = false, groups = {dig_immediate = 3,}, is_ground_content = false, paramtype = "light", -- cgit v1.2.3