Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Update selection boxes to make building easier.
- Loading branch information
Showing
with
5 additions
and
5 deletions.
-
+2
−2
mesecons/wires.lua
-
+2
−2
mesecons_blinkyplant/init.lua
-
+1
−1
mesecons_powerplant/init.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", |
|
|
|
@@ -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 |
|
|
|
@@ -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 = { |
|
|