From e403d916d2ba13a31eda8409dda62a9d1e778d8e Mon Sep 17 00:00:00 2001 From: adrido Date: Wed, 13 Aug 2014 19:48:11 +0200 Subject: [PATCH] fixed selection box --- init.lua | 15 ++++++--------- shared_locked.lua | 15 ++++++--------- 2 files changed, 12 insertions(+), 18 deletions(-) diff --git a/init.lua b/init.lua index f5c9978..8237ec3 100644 --- a/init.lua +++ b/init.lua @@ -149,15 +149,12 @@ minetest.register_node("arrow_signs:wall", { { 0.0625, -0.375, 0.5, -0.0625, -0.437, 0.47} } }, - selection_box = { - type = "fixed", - fixed = { - { 0.25, -0.25, 0.5, -0.25, 0.5, 0.47}, - { 0.1875, -0.3125, 0.5, -0.1875, -0.25, 0.47}, - { 0.125, -0.3125, 0.5, -0.125, -0.375, 0.47}, - { 0.0625, -0.375, 0.5, -0.0625, -0.437, 0.47} - } - }, + selection_box = { + type = "fixed", + fixed = { + { 0.30, -0.5, 0.5, -0.30, 0.5, 0.47} + } + }, tiles = {"arrow_sign_border_left.png","arrow_sign_border_right.png","arrow_sign_border_up.png","arrow_sign_border_down.png","arrow_sign.png","arrow_sign.png"}, inventory_image = "arrow_sign.png", paramtype = "light", diff --git a/shared_locked.lua b/shared_locked.lua index fa21aa4..d124661 100644 --- a/shared_locked.lua +++ b/shared_locked.lua @@ -11,15 +11,12 @@ minetest.register_node("arrow_signs:shared_locked", { { 0.0625, -0.375, 0.5, -0.0625, -0.437, 0.47} } }, - selection_box = { - type = "fixed", - fixed = { - { 0.25, -0.25, 0.5, -0.25, 0.5, 0.47}, - { 0.1875, -0.3125, 0.5, -0.1875, -0.25, 0.47}, - { 0.125, -0.3125, 0.5, -0.125, -0.375, 0.47}, - { 0.0625, -0.375, 0.5, -0.0625, -0.437, 0.47} - } - }, + selection_box = { + type = "fixed", + fixed = { + { 0.30, -0.5, 0.5, -0.30, 0.5, 0.47} + } + }, tiles = {"arrow_sign_border_left.png","arrow_sign_border_right.png","arrow_sign_border_up.png","arrow_sign_border_down.png","arrow_sign.png","arrow_sign.png"}, inventory_image = "arrow_sign.png", paramtype = "light",