summaryrefslogtreecommitdiff
path: root/mesecons_luacontroller/init.lua
AgeCommit message (Collapse)Author
2013-02-10LuaController: Queue setting the ports (wait for pending operations)Jeija
2013-01-22Add tostring, tonumber, string to luacontroller, prohibit 'function'Jeija
2013-01-22Bugfix for the luacontroller that occured when two events occur at theJeija
same time (output connected to input). The behaviour of the controller can now be described this way: The luacontroller sets port A, then B, then C, then D; if it is interrupted by another event during that time it stops and let the second event do the job.
2013-01-20Lots of bugfixes concerning the luacontrollerJeija
- Bug when using NOT-Gates - Moved error label a little downwards - On digiline event, msg and channel are now in event.*, not in event.iid.*
2013-01-19Fix Bug: Wrong usage of action_on/action_off instead of action_changeJeija
2013-01-19Add support in luacontroller for a not yet released mod called 'digilines'Jeija
2013-01-19Remove unused variableJeija
2013-01-19Texture the LuaController formspecJeija
2013-01-14Bugfixes and improved stability of the luacontrollerJeija
2013-01-13Implement interrupt(time, iid): The whole code is called again after aJeija
certain amount of time. Whenever it is called, an event is set. Possible events are: program, interrupt, on and off It also contains additional information (on/off -> event.in; interrupt -> event.iid) iid must be an integer or string value, otherwise the interrupt is not active
2013-01-13Implement a memory for the controller (accesible via mem.) and cleanup codeJeija
Based on PilzAdam's code.
2013-01-13Add luacontroller, a microcontroller that you can code in lua.Jeija
It still misses some functionality such as a persistent memory and a timer, but that is subject to change. The code runs in a sandbox. Speaking long term this will hopefully replace the old controller.