From 10bacdd7f48d87d395f3404be40e6ccf3738fa51 Mon Sep 17 00:00:00 2001 From: Anthony Zhang Date: Sat, 20 Apr 2013 11:25:12 -0400 Subject: [PATCH] Update selection boxes to make building easier. --- mesecons/wires.lua | 4 ++-- mesecons_blinkyplant/init.lua | 4 ++-- mesecons_powerplant/init.lua | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/mesecons/wires.lua b/mesecons/wires.lua index 8fb19cb..9d6429f 100644 --- a/mesecons/wires.lua +++ b/mesecons/wires.lua @@ -108,7 +108,7 @@ for zmy=0, 1 do sunlight_propagates = true, selection_box = { type = "fixed", - fixed = {-.5, -.5, -.5, .5, -.5+1/16, .5} + fixed = {-.5, -.5, -.5, .5, -.5+4/16, .5} }, node_box = { type = "fixed", @@ -137,7 +137,7 @@ for zmy=0, 1 do sunlight_propagates = true, selection_box = { type = "fixed", - fixed = {-.5, -.5, -.5, .5, -.5+1/16, .5} + fixed = {-.5, -.5, -.5, .5, -.5+4/16, .5} }, node_box = { type = "fixed", diff --git a/mesecons_blinkyplant/init.lua b/mesecons_blinkyplant/init.lua index 4cde7d4..429a220 100644 --- a/mesecons_blinkyplant/init.lua +++ b/mesecons_blinkyplant/init.lua @@ -12,7 +12,7 @@ minetest.register_node("mesecons_blinkyplant:blinky_plant_off", { sounds = default.node_sound_leaves_defaults(), selection_box = { type = "fixed", - fixed = {-0.1, -0.5, -0.1, 0.1, -0.5+0.6, 0.1}, + fixed = {-0.3, -0.5, -0.3, 0.3, -0.5+0.7, 0.3}, }, mesecons = {receptor = { state = mesecon.state.off @@ -33,7 +33,7 @@ minetest.register_node("mesecons_blinkyplant:blinky_plant_on", { sounds = default.node_sound_leaves_defaults(), selection_box = { type = "fixed", - fixed = {-0.1, -0.5, -0.1, 0.1, -0.5+0.6, 0.1}, + fixed = {-0.3, -0.5, -0.3, 0.3, -0.5+0.7, 0.3}, }, mesecons = {receptor = { state = mesecon.state.on diff --git a/mesecons_powerplant/init.lua b/mesecons_powerplant/init.lua index 57a05d8..bfc1102 100644 --- a/mesecons_powerplant/init.lua +++ b/mesecons_powerplant/init.lua @@ -13,7 +13,7 @@ minetest.register_node("mesecons_powerplant:power_plant", { description="Power Plant", selection_box = { type = "fixed", - fixed = {-0.1, -0.5, -0.1, 0.1, -0.5+0.6, 0.1}, + fixed = {-0.3, -0.5, -0.3, 0.3, -0.5+0.7, 0.3}, }, sounds = default.node_sound_leaves_defaults(), mesecons = {receptor = {