From d854e40ff9d47fdfcc02444100055c3da1a58dc8 Mon Sep 17 00:00:00 2001 From: Quentin BUISSON-DEBON Date: Thu, 12 May 2016 09:02:49 +0200 Subject: [PATCH] Reduce the blinky_plant speed and add it on minetest.conf instead of in the mod (hardset vs softset) --- minetest.conf | 2 ++ mods/mesecons/mesecons_blinkyplant/init.lua | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/minetest.conf b/minetest.conf index cfdb8892..05ab8644 100755 --- a/minetest.conf +++ b/minetest.conf @@ -120,6 +120,8 @@ mapfix_delay = 5 disable_time_regulation = true # Tweak the mapgen chunksize (16 per 16 nodes, default is "5"), will be applied on many mods chunksize = 3 +# Reduce Mesecons "blinky_plant" speed +mesecon.blinky_plant_interval = 7 ### IRC CHAT ### ################ diff --git a/mods/mesecons/mesecons_blinkyplant/init.lua b/mods/mesecons/mesecons_blinkyplant/init.lua index fbb0738b..8d2aa6ea 100755 --- a/mods/mesecons/mesecons_blinkyplant/init.lua +++ b/mods/mesecons/mesecons_blinkyplant/init.lua @@ -5,7 +5,7 @@ local toggle_timer = function (pos) if timer:is_started() then timer:stop() else - timer:start(mesecon.setting("blinky_plant_interval", 7)) + timer:start(mesecon.setting("blinky_plant_interval", 3)) end end