diff options
author | Jeija <norrepli@gmail.com> | 2012-04-06 20:03:12 +0200 |
---|---|---|
committer | Jeija <norrepli@gmail.com> | 2012-04-06 20:03:12 +0200 |
commit | 36c009044405cde182a1a344f5259b8d33aac5aa (patch) | |
tree | 4106e6fddfa770ce6e35c83b70fc10f10d5fb28b | |
parent | 686bb6b434013033efd6a3f971e8b2d1d307ee14 (diff) | |
download | mesecons-36c009044405cde182a1a344f5259b8d33aac5aa.tar mesecons-36c009044405cde182a1a344f5259b8d33aac5aa.tar.gz mesecons-36c009044405cde182a1a344f5259b8d33aac5aa.tar.bz2 mesecons-36c009044405cde182a1a344f5259b8d33aac5aa.tar.xz mesecons-36c009044405cde182a1a344f5259b8d33aac5aa.zip |
Tweak delayer times
-rw-r--r-- | mesecons_delayer/init.lua | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/mesecons_delayer/init.lua b/mesecons_delayer/init.lua index bda85e3..6eb9d7b 100644 --- a/mesecons_delayer/init.lua +++ b/mesecons_delayer/init.lua @@ -140,19 +140,19 @@ mesecon.delayer_signal_change = function(pos, node) local time if node.name=="mesecons_delayer:delayer_off_1" then minetest.env:add_node(pos, {name="mesecons_delayer:delayer_on_1"}) - time=0.5 + time=0.1 end if node.name=="mesecons_delayer:delayer_off_2" then minetest.env:add_node(pos, {name="mesecons_delayer:delayer_on_2"}) - time=1 + time=0.3 end if node.name=="mesecons_delayer:delayer_off_3" then minetest.env:add_node(pos, {name="mesecons_delayer:delayer_on_3"}) - time=1.5 + time=0.5 end if node.name=="mesecons_delayer:delayer_off_4" then minetest.env:add_node(pos, {name="mesecons_delayer:delayer_on_4"}) - time=2 + time=1 end minetest.after(time, mesecon.delayer_turnon, {pos=pos}) @@ -165,19 +165,19 @@ mesecon.delayer_signal_change = function(pos, node) local time if node.name=="mesecons_delayer:delayer_on_1" then minetest.env:add_node(pos, {name="mesecons_delayer:delayer_off_1"}) - time=0.5 + time=0.1 end if node.name=="mesecons_delayer:delayer_on_2" then minetest.env:add_node(pos, {name="mesecons_delayer:delayer_off_2"}) - time=1 + time=0.3 end if node.name=="mesecons_delayer:delayer_on_3" then minetest.env:add_node(pos, {name="mesecons_delayer:delayer_off_3"}) - time=1.5 + time=0.5 end if node.name=="mesecons_delayer:delayer_on_4" then minetest.env:add_node(pos, {name="mesecons_delayer:delayer_off_4"}) - time=2 + time=1 end minetest.after(time, mesecon.delayer_turnoff, {pos=pos}) end |