diff options
author | Jeija <norrepli@gmail.com> | 2012-08-10 08:26:38 +0200 |
---|---|---|
committer | Jeija <norrepli@gmail.com> | 2012-08-10 08:26:38 +0200 |
commit | 5c5db631a6afbbef413b89950246686f9ca0eac4 (patch) | |
tree | 4b5af15c2a01e52c7897f1cfc9c0bce3dec1be3b /mesecons_temperest | |
parent | 9fa033db7b80cdebdaa49d8b12f8a92523c402ca (diff) | |
parent | a41bc07d11d7d34a4cc78f7b2ea8196cf2654a72 (diff) | |
download | mesecons-5c5db631a6afbbef413b89950246686f9ca0eac4.tar mesecons-5c5db631a6afbbef413b89950246686f9ca0eac4.tar.gz mesecons-5c5db631a6afbbef413b89950246686f9ca0eac4.tar.bz2 mesecons-5c5db631a6afbbef413b89950246686f9ca0eac4.tar.xz mesecons-5c5db631a6afbbef413b89950246686f9ca0eac4.zip |
Merge branch 'master' of https://github.com/Jeija/minetest-mod-mesecons
Diffstat (limited to 'mesecons_temperest')
-rw-r--r-- | mesecons_temperest/init.lua | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/mesecons_temperest/init.lua b/mesecons_temperest/init.lua index bacc5f9..a0ec5c0 100644 --- a/mesecons_temperest/init.lua +++ b/mesecons_temperest/init.lua @@ -109,11 +109,11 @@ minetest.register_node("mesecons_temperest:mesecon_plug", { walkable = false, selection_box = { type = "fixed", - fixed = {-0.5, -0.5, -0.5, 0.5, -0.45, 0.5}, + fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 }, }, node_box = { type = "fixed", - fixed = {-0.5, -0.5, -0.5, 0.5, -0.45, 0.5}, + fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 }, }, description = "Plug", after_place_node = plug_off, @@ -143,11 +143,11 @@ minetest.register_node("mesecons_temperest:mesecon_socket_off", { walkable = false, selection_box = { type = "fixed", - fixed = {-0.5, -0.5, -0.5, 0.5, -0.45, 0.5}, + fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 }, }, node_box = { type = "fixed", - fixed = {-0.5, -0.5, -0.5, 0.5, -0.45, 0.5}, + fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 }, }, }) @@ -160,11 +160,11 @@ minetest.register_node("mesecons_temperest:mesecon_socket_on", { walkable = false, selection_box = { type = "fixed", - fixed = {-0.5, -0.5, -0.5, 0.5, -0.45, 0.5}, + fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 }, }, node_box = { type = "fixed", - fixed = {-0.5, -0.5, -0.5, 0.5, -0.45, 0.5}, + fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 }, }, drop='"mesecons_temperest:mesecon_socket_off" 1', after_dig_node = function(pos) @@ -195,11 +195,11 @@ if ENABLE_TEMPEREST then walkable = false, selection_box = { type = "fixed", - fixed = {-0.5, -0.5, -0.5, 0.5, -0.45, 0.5}, + fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 }, }, node_box = { type = "fixed", - fixed = {-0.5, -0.5, -0.5, 0.5, -0.45, 0.5}, + fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 }, }, drop='"mesecons_temperest:mesecon_inverter_on" 1', }) @@ -216,11 +216,11 @@ if ENABLE_TEMPEREST then walkable = false, selection_box = { type = "fixed", - fixed = {-0.5, -0.5, -0.5, 0.5, -0.45, 0.5}, + fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 }, }, node_box = { type = "fixed", - fixed = {-0.5, -0.5, -0.5, 0.5, -0.45, 0.5}, + fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 }, }, after_place_node = function(pos) mesecon:receptor_on(pos) @@ -241,4 +241,4 @@ if ENABLE_TEMPEREST then {'"mesecons:mesecon_off"', '"default:steel_ingot"', '"mesecons:mesecon_off"'}, } }) -end
\ No newline at end of file +end |