summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2019-06-02 13:02:56 -0500
committercheapie <no-email-for-you@example.com>2019-06-02 13:02:56 -0500
commit4547e436f78a7bfdd2e7920990e9f2d252009311 (patch)
tree00f3993794705c72cee2ed2216393b3f59f0af8c
parentd0b0b3aab6e4c9f505fabfc8ec2f5c5cc0f3cf05 (diff)
downloaddigistuff-4547e436f78a7bfdd2e7920990e9f2d252009311.tar
digistuff-4547e436f78a7bfdd2e7920990e9f2d252009311.tar.gz
digistuff-4547e436f78a7bfdd2e7920990e9f2d252009311.tar.bz2
digistuff-4547e436f78a7bfdd2e7920990e9f2d252009311.tar.xz
digistuff-4547e436f78a7bfdd2e7920990e9f2d252009311.zip
Remove collision from most conductors
-rw-r--r--conductors.lua12
1 files changed, 12 insertions, 0 deletions
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",