mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-24 17:50:37 +01:00
[pipeworks & mesecons] Slow down blinky plants and vacuum tubes
- For #453
This commit is contained in:
parent
689e746366
commit
8f6ff84f4b
@ -5,7 +5,7 @@ local toggle_timer = function (pos)
|
|||||||
if timer:is_started() then
|
if timer:is_started() then
|
||||||
timer:stop()
|
timer:stop()
|
||||||
else
|
else
|
||||||
timer:start(mesecon.setting("blinky_plant_interval", 3))
|
timer:start(mesecon.setting("blinky_plant_interval", 7))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -115,7 +115,7 @@ local function vacuum(pos, radius)
|
|||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_abm({nodenames = {"group:vacuum_tube"},
|
minetest.register_abm({nodenames = {"group:vacuum_tube"},
|
||||||
interval = 1,
|
interval = 4,
|
||||||
chance = 1,
|
chance = 1,
|
||||||
label = "Vacuum tubes",
|
label = "Vacuum tubes",
|
||||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||||
|
Loading…
Reference in New Issue
Block a user