diff options
author | Jeija <norrepli@gmail.com> | 2015-10-04 13:30:34 +0200 |
---|---|---|
committer | Jeija <norrepli@gmail.com> | 2015-10-04 13:30:34 +0200 |
commit | 97f7b5745f8914178adbfce65bc339c366cb4a17 (patch) | |
tree | 345687ec5df1f47517e62098d6afd3b728c8728f /mesecons_extrawires | |
parent | 24958e253b95da19fa47c0c6ba7990123ee7724a (diff) |
Remove trailing whitespace
Diffstat (limited to 'mesecons_extrawires')
-rw-r--r-- | mesecons_extrawires/corner.lua | 6 | ||||
-rw-r--r-- | mesecons_extrawires/tjunction.lua | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/mesecons_extrawires/corner.lua b/mesecons_extrawires/corner.lua index 003275a..1e29870 100644 --- a/mesecons_extrawires/corner.lua +++ b/mesecons_extrawires/corner.lua @@ -10,7 +10,7 @@ local corner_selectionbox = { } local corner_get_rules = function (node) - local rules = + local rules = {{x = 1, y = 0, z = 0}, {x = 0, y = 0, z = -1}} @@ -39,7 +39,7 @@ minetest.register_node("mesecons_extrawires:corner_on", { node_box = corner_nodebox, groups = {dig_immediate = 3, not_in_creative_inventory = 1}, drop = "mesecons_extrawires:corner_off", - mesecons = {conductor = + mesecons = {conductor = { state = mesecon.state.on, rules = corner_get_rules, @@ -65,7 +65,7 @@ minetest.register_node("mesecons_extrawires:corner_off", { selection_box = corner_selectionbox, node_box = corner_nodebox, groups = {dig_immediate = 3}, - mesecons = {conductor = + mesecons = {conductor = { state = mesecon.state.off, rules = corner_get_rules, diff --git a/mesecons_extrawires/tjunction.lua b/mesecons_extrawires/tjunction.lua index 31777a1..1091e83 100644 --- a/mesecons_extrawires/tjunction.lua +++ b/mesecons_extrawires/tjunction.lua @@ -10,7 +10,7 @@ local tjunction_selectionbox = { } local tjunction_get_rules = function (node) - local rules = + local rules = {{x = 0, y = 0, z = 1}, {x = 1, y = 0, z = 0}, {x = 0, y = 0, z = -1}} @@ -40,7 +40,7 @@ minetest.register_node("mesecons_extrawires:tjunction_on", { node_box = tjunction_nodebox, groups = {dig_immediate = 3, not_in_creative_inventory = 1}, drop = "mesecons_extrawires:tjunction_off", - mesecons = {conductor = + mesecons = {conductor = { state = mesecon.state.on, rules = tjunction_get_rules, @@ -66,7 +66,7 @@ minetest.register_node("mesecons_extrawires:tjunction_off", { selection_box = tjunction_selectionbox, node_box = tjunction_nodebox, groups = {dig_immediate = 3}, - mesecons = {conductor = + mesecons = {conductor = { state = mesecon.state.off, rules = tjunction_get_rules, |