diff options
author | number Zero <numzer0@yandex.ru> | 2018-08-27 00:08:31 +0300 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2018-09-07 17:31:49 +0200 |
commit | 9e6eac4285a4c5a0b244e0a6d3a8547afab82cb9 (patch) | |
tree | 3507cfbb20fc7e18de151d1164b221b84ebd05fb | |
parent | c73b451f9bce329fb1cfd48f68e9a581fa2f8930 (diff) |
Make insulated wires’ selection box fit in the node
-rw-r--r-- | mesecons_extrawires/corner.lua | 2 | ||||
-rw-r--r-- | mesecons_extrawires/crossover.lua | 8 | ||||
-rw-r--r-- | mesecons_extrawires/tjunction.lua | 2 | ||||
-rw-r--r-- | mesecons_insulated/init.lua | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/mesecons_extrawires/corner.lua b/mesecons_extrawires/corner.lua index d0b01f9..61ce933 100644 --- a/mesecons_extrawires/corner.lua +++ b/mesecons_extrawires/corner.lua @@ -8,7 +8,7 @@ local corner_nodebox = { local corner_selectionbox = { type = "fixed", - fixed = { -16/32-0.001, -18/32, -16/32, 5/32, -12/32, 5/32 }, + fixed = { -16/32-0.001, -16/32, -16/32, 5/32, -12/32, 5/32 }, } local corner_get_rules = function (node) diff --git a/mesecons_extrawires/crossover.lua b/mesecons_extrawires/crossover.lua index b8d66f7..277b87c 100644 --- a/mesecons_extrawires/crossover.lua +++ b/mesecons_extrawires/crossover.lua @@ -32,7 +32,7 @@ minetest.register_node("mesecons_extrawires:crossover_off", { is_ground_content = false, walkable = false, stack_max = 99, - selection_box = {type="fixed", fixed={-16/32-0.0001, -18/32, -16/32-0.001, 16/32+0.001, -5/32, 16/32+0.001}}, + selection_box = {type="fixed", fixed={-16/32-0.0001, -16/32, -16/32-0.001, 16/32+0.001, -5/32, 16/32+0.001}}, groups = {dig_immediate=3, mesecon=3}, sounds = default.node_sound_defaults(), mesecons = { @@ -59,7 +59,7 @@ minetest.register_node("mesecons_extrawires:crossover_01", { is_ground_content = false, walkable = false, stack_max = 99, - selection_box = {type="fixed", fixed={-16/32-0.0001, -18/32, -16/32-0.001, 16/32+0.001, -5/32, 16/32+0.001}}, + selection_box = {type="fixed", fixed={-16/32-0.0001, -16/32, -16/32-0.001, 16/32+0.001, -5/32, 16/32+0.001}}, groups = {dig_immediate=3, mesecon=3, not_in_creative_inventory=1}, sounds = default.node_sound_defaults(), mesecons = { @@ -86,7 +86,7 @@ minetest.register_node("mesecons_extrawires:crossover_10", { is_ground_content = false, walkable = false, stack_max = 99, - selection_box = {type="fixed", fixed={-16/32-0.0001, -18/32, -16/32-0.001, 16/32+0.001, -5/32, 16/32+0.001}}, + selection_box = {type="fixed", fixed={-16/32-0.0001, -16/32, -16/32-0.001, 16/32+0.001, -5/32, 16/32+0.001}}, groups = {dig_immediate=3, mesecon=3, not_in_creative_inventory=1}, sounds = default.node_sound_defaults(), mesecons = { @@ -113,7 +113,7 @@ minetest.register_node("mesecons_extrawires:crossover_on", { is_ground_content = false, walkable = false, stack_max = 99, - selection_box = {type="fixed", fixed={-16/32-0.0001, -18/32, -16/32-0.001, 16/32+0.001, -5/32, 16/32+0.001}}, + selection_box = {type="fixed", fixed={-16/32-0.0001, -16/32, -16/32-0.001, 16/32+0.001, -5/32, 16/32+0.001}}, groups = {dig_immediate=3, mesecon=3, not_in_creative_inventory=1}, sounds = default.node_sound_defaults(), mesecons = { diff --git a/mesecons_extrawires/tjunction.lua b/mesecons_extrawires/tjunction.lua index e98b066..9a520d1 100644 --- a/mesecons_extrawires/tjunction.lua +++ b/mesecons_extrawires/tjunction.lua @@ -8,7 +8,7 @@ local tjunction_nodebox = { local tjunction_selectionbox = { type = "fixed", - fixed = { -16/32-0.001, -18/32, -16/32, 16/32+0.001, -12/32, 7/32 }, + fixed = { -16/32-0.001, -16/32, -16/32, 16/32+0.001, -12/32, 7/32 }, } local tjunction_get_rules = function (node) diff --git a/mesecons_insulated/init.lua b/mesecons_insulated/init.lua index b917323..e6e8232 100644 --- a/mesecons_insulated/init.lua +++ b/mesecons_insulated/init.lua @@ -27,7 +27,7 @@ minetest.register_node("mesecons_insulated:insulated_on", { sunlight_propagates = true, selection_box = { type = "fixed", - fixed = { -16/32-0.001, -18/32, -7/32, 16/32+0.001, -12/32, 7/32 } + fixed = { -16/32-0.001, -16/32, -7/32, 16/32+0.001, -12/32, 7/32 } }, node_box = { type = "fixed", @@ -63,7 +63,7 @@ minetest.register_node("mesecons_insulated:insulated_off", { sunlight_propagates = true, selection_box = { type = "fixed", - fixed = { -16/32-0.001, -18/32, -7/32, 16/32+0.001, -12/32, 7/32 } + fixed = { -16/32-0.001, -16/32, -7/32, 16/32+0.001, -12/32, 7/32 } }, node_box = { type = "fixed", |