summaryrefslogtreecommitdiff
path: root/mesecons_luacontroller
AgeCommit message (Collapse)Author
2013-03-23Add math library to luacontroller, and make sure to copy stuff so code can't ↵Anthony Zhang
get out of the sandbox.
2013-03-15Avoid corrupting metadata.Anthony Zhang
2013-03-15Use formspec_escape when available.Anthony Zhang
2013-03-15Avoid borking the luacontroller if the code uses square brackets. When the ↵Anthony Zhang
next stable MT is released, uncomment the formspec_escape call to take advantave of formspec escaping.
2013-03-06Digging and footstep sounds for everything that needs them! Plus, pushing ↵Anthony Zhang
buttons, punching switches, and flipping levers all make sounds.
2013-02-19More distinguishable inventory image for the luacontroller (not wieldJeija
item, just top)
2013-02-12Fix a dumb bug that conflicted with different things in the luacontrollerJeija
2013-02-12Fix odd behaviour when using interrupts in the luacontrollerJeija
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.