mesecons
mesecons copied to clipboard
add minimum interrupt time to luacontroller to optionally remove hyper-fast signals
I've been seeing luacontrollers being used in place of blinkies, because their signal frequency can made much faster. This change provides a reasonable default minimum interrupt time, but also provides a knob so people wishing to keep short times have the option to do so.
Per calcul0n's suggestion, this change provides a warning and sets too-small timer values to whatever minimum is configured, rather than simply failing with an error.
:-1: https://github.com/minetest-mods/mesecons/pull/621#issuecomment-1222357532
Dupe of #621.