diff options
-rw-r--r-- | conductors.lua | 39 |
1 files changed, 35 insertions, 4 deletions
diff --git a/conductors.lua b/conductors.lua index abea2eb..7c17c64 100644 --- a/conductors.lua +++ b/conductors.lua @@ -130,12 +130,19 @@ minetest.register_node("digistuff:receiver", { node_box = { type = "fixed", fixed = { - {-0.05,-0.05,-1.49,0.05,0.05,-0.5}, - {-0.2,-0.2,-0.5,0.2,0.2,-0.4}, - {-0.0625,-0.5,-0.5,0.0625,-0.2,-0.4}, - {-0.0625,-0.5,-0.4,0.0625,-0.4375,0.5}, + {-0.05,-0.05,-1.49,0.05,0.05,-0.5}, + {-0.2,-0.2,-0.5,0.2,0.2,-0.4}, + {-0.0625,-0.5,-0.5,0.0625,-0.2,-0.4}, + {-0.0625,-0.5,-0.4,0.0625,-0.4375,0.5}, }, }, + selection_box = { + type = "fixed", + fixed = { + {-0.2,-0.5,-0.5,0.2,0.2,0.5}, + {-0.075,-0.075,-1.49,0.075,0.075,-0.5}, + }, + }, digiline = { receptor = {}, wire = { @@ -297,6 +304,12 @@ minetest.register_node("digistuff:insulated_straight", { {-0.5,-0.5,-0.1,0.5,-0.4,0.1}, }, }, + selection_box = { + type = "fixed", + fixed = { + {-0.5,-0.5,-0.15,0.5,-0.35,0.15}, + }, + }, after_place_node = digilines.update_autoconnect, after_destruct = digilines.update_autoconnect, digiline = { @@ -338,6 +351,12 @@ minetest.register_node("digistuff:insulated_tjunction", { {-0.1,-0.5,-0.5,0.1,-0.4,-0.1}, }, }, + selection_box = { + type = "fixed", + fixed = { + {-0.5,-0.5,-0.5,0.5,-0.35,0.15}, + }, + }, after_place_node = digilines.update_autoconnect, after_destruct = digilines.update_autoconnect, digiline = { @@ -380,6 +399,12 @@ minetest.register_node("digistuff:insulated_corner", { {-0.5,-0.5,-0.1,0.1,-0.4,0.1}, }, }, + selection_box = { + type = "fixed", + fixed = { + {-0.5,-0.5,-0.5,0.15,-0.35,0.15}, + }, + }, after_place_node = digilines.update_autoconnect, after_destruct = digilines.update_autoconnect, digiline = { @@ -420,6 +445,12 @@ minetest.register_node("digistuff:insulated_fourway", { {-0.1,-0.5,0.1,0.1,-0.4,0.5}, }, }, + selection_box = { + type = "fixed", + fixed = { + {-0.5,-0.5,-0.5,0.5,-0.35,0.5}, + }, + }, after_place_node = digilines.update_autoconnect, after_destruct = digilines.update_autoconnect, digiline = { |