summaryrefslogtreecommitdiff
path: root/mesecons/legacy.lua
AgeCommit message (Collapse)Author
2016-08-31Duplicate unhash_blockpos code to legacy.luaJeija
Duplicating that small piece of code seems like a better idea than putting the undo-forceloading code back into util.lua. This way, it is easier to remember to remove that unneccesary code after a couple of months / years, when people have transitioned. This also means we can make changes to the code in util.lua without breaking old code.
2016-08-30Remove some long unused legacy codeJeija
The change that required this compatibility layer happened in 2014, so other mods have had a lot of time to update.
2016-08-30Small cleanups in `internal.lua`, move forceloading reversal to legacyJeija
2014-11-22Merge branch 'improve-luacontroller' of ↵Jeija
https://github.com/ShadowNinja/minetest-mod-mesecons into ShadowNinja-improve-luacontroller Conflicts: mesecons/legacy.lua mesecons_luacontroller/init.lua mesecons_microcontroller/init.lua
2014-11-22Fix compatibility with not yet updated mods that use mesecon:receptor_*Jeija
2014-11-22Replace mesecon:<some_function> with mesecon.<some_function> for greaterJeija
flexibility and because it was never inteded to be OOP in the first place. mesecon.receptor_on and mesecon.receptor_off are provided by wrappers (mesecon:receptor_on/off) for compatibility, but will be removed. Mod programmers that use mesecons: Please update! Also, fix microcontroller polluting the global namespace and remove some deprecated stuff.
2014-10-07Improve the LuaControllerShadowNinja
Changes: * Stops code after a certain number of instructions. * Allows functions, due to instruction counting. * Allows loops and goto with non-JIT Lua (LuaJIT doesn't count looping as an instruction, allowing infinite loops), due to instruction counting. * Removes string matching functions as they can be slow. * Adds some safe functions. * Limits the amount of printing that can be done (to prevent console flooding). * Code cleanup. * More...
2014-01-11Try to fix gateswith serverstep code.Novatux
2013-11-30Compat shim for minetest.swap_node, lightstone conducts from the bottom.Uberi
2012-12-15Upload cleaned up mesecons to nextgen branchJeija
2012-12-08Cleanup, make and use util.lua, port command block and delayer to nodedefJeija
2012-12-08Finish new mesecon-in-nodedef for conductors and receptors. Make wires and ↵Jeija
switch use it for reference.
2012-12-08New branch: Move mesecon to node definition instead of functions like ↵Jeija
register_conductor; first steps: move everything to legacy
2012-09-06Implement mesecon:register_receptor(onstate, offstate, rules, get_rules) and ↵Jeija
make add_receptor_node(_off) deprecated