summaryrefslogtreecommitdiff
path: root/mesecons_delayer
diff options
context:
space:
mode:
Diffstat (limited to 'mesecons_delayer')
-rw-r--r--mesecons_delayer/init.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/mesecons_delayer/init.lua b/mesecons_delayer/init.lua
index da576ad..7c480c1 100644
--- a/mesecons_delayer/init.lua
+++ b/mesecons_delayer/init.lua
@@ -47,7 +47,8 @@ elseif i == 2 then delaytime = 0.3
elseif i == 3 then delaytime = 0.5
elseif i == 4 then delaytime = 1.0 end
-boxes = {{ -6/16, -8/16, -6/16, 6/16, -7/16, 6/16 }, -- the main slab
+local boxes = {
+ { -6/16, -8/16, -6/16, 6/16, -7/16, 6/16 }, -- the main slab
{ -2/16, -7/16, -4/16, 2/16, -26/64, -3/16 }, -- the jeweled "on" indicator
{ -3/16, -7/16, -3/16, 3/16, -26/64, -2/16 },
@@ -57,7 +58,8 @@ boxes = {{ -6/16, -8/16, -6/16, 6/16, -7/16, 6/16 }, -- the main slab
{ -6/16, -7/16, -6/16, -4/16, -27/64, -4/16 }, -- the timer indicator
{ -8/16, -8/16, -1/16, -6/16, -7/16, 1/16 }, -- the two wire stubs
- { 6/16, -8/16, -1/16, 8/16, -7/16, 1/16 }}
+ { 6/16, -8/16, -1/16, 8/16, -7/16, 1/16 }
+}
minetest.register_node("mesecons_delayer:delayer_off_"..tostring(i), {
description = "Delayer",