summaryrefslogtreecommitdiff
path: root/mesecons_luacontroller/init.lua
AgeCommit message (Collapse)Author
2013-08-27Merge pull request #112 from khonkhortisan/multi_ruleskhonkhortisan
Multi rules Merged for near-future textures to be merged cleanly.
2013-06-22Merge remote-tracking branch 'refs/remotes/origin/master'Anthony Zhang
2013-06-22Descend µ in commentkhonkhortisan
2013-06-20Crossoverkhonkhortisan
2013-06-10Support cyclic references in luacontroller memory tables, prohibit usage of ↵Anthony Zhang
goto statement (bugs reported by Nore).
2013-06-06Fix bug where functions in Luacontroller EEPROM crashes the server (fixes #107).Anthony Zhang
2013-06-05Add an ABM function which resets heat to 0, since gates/controllers won't be ↵Novatux
cooled normally if they are moved (piston, etc...) during the cooling delay.
2013-05-21Silly mistake, interrupts should work better now.Anthony Zhang
2013-05-15Add burnt luacontroller (so you don't lose your program after an overheat) ↵Anthony Zhang
and prevent interrupts from piling up (fixes #101, metadata trashing). Idea for burnt luacontroller comes from ShadowNinja.
2013-04-01Experimental fix for issue #85 by removing ignored ports from the luacontrollerJeija
2013-03-26Add table.* to luacontroller sandboxJeija
2013-03-23Explicit tables of luacontroller environment.Anthony Zhang
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.