From 9e6eac4285a4c5a0b244e0a6d3a8547afab82cb9 Mon Sep 17 00:00:00 2001 From: number Zero Date: Mon, 27 Aug 2018 00:08:31 +0300 Subject: [PATCH] =?UTF-8?q?Make=20insulated=20wires=E2=80=99=20selection?= =?UTF-8?q?=20box=20fit=20in=20the=20node?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mesecons_extrawires/corner.lua | 2 +- mesecons_extrawires/crossover.lua | 8 ++++---- mesecons_extrawires/tjunction.lua | 2 +- 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",