summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-11-29Rewrite Logic Gates: Makes it super-easy to add new gates and cleans up codeJeija
Fix bugs in the Luacontroller (when placing, false input pin values were given) and fix variables leaking into the global environment in pistons.
2014-11-29Don't trigger an "off" event to itself when luacontroller turns a port offJeija
I hope this doesn't break anyone's setup.
2014-11-25Fix luacontroller: attempt to perform arithmetic on global 'print_count' (a ↵Jeija
nil value)
2014-11-25Merge branch 'improve-luacontroller'Jeija
However, without the print_count limiting functionality Conflicts: mesecons_luacontroller/init.lua
2014-11-25Fix movestone to wire connection looksJeija
2014-11-23Fix onstate switch appearing the the creative inventoryJeija
2014-11-23Fix luacontroller interrupts not working if no iid is suppliedJeija
2014-11-23Fix #189, clean code and update documentationJeija
2014-11-22Fix crafting with the default mesecon wireJeija
2014-11-22Fix burnt luacontroller, nodebox + crashJeija
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-22Merge branch 'doorsounds'Jeija
2014-11-22Merge pull request #156 from HybridDog/ov_itFlorian Euchner
Use minetest.override_item to redefine mese
2014-11-22Re-implement settings system:Jeija
Settings can now be retrieved by mesecon.setting(<name>, <default>) and can be modified without editing the source code by adding the setting to minetest.conf For instance, you can add mesecon.blinky_plant_interval = 0.5 to minetest.conf in order to increase the blinking speed. Rewrite the blinky plant with nodetimers. Fixes #161
2014-11-22Fix bug in mesecon.find_receptor that caused false turnoffs and rewrite lever +Jeija
switch
2014-11-22Fix compatibility with not yet updated mods that use mesecon:receptor_*Jeija
2014-11-22Use iterative algorithm for mesecon.find_receptor_on, major performance ↵Jeija
improvement for large circuits. This also fixes a crash introduced with the previous commit that occured when placing a wire crossing.
2014-11-22Fix bug in mesecon.mergetable that caused false rulesJeija
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-11-22Use an iterative algorithm for turnon() and turnoff(), fixes #160Jeija
This may also bring some performance benefit.
2014-11-22Pressure plates and the object detector will send power to verticalJeija
wires 2 nodes below them, allows to hide circuitry powered by them. Fixes #179 Rewrite pressure plates + vertical wires using mesecon.register_node.
2014-11-22Rewrite mesecon wires. This should increase the efficiency and speed ofJeija
large machines. It also makes the wires.lua code easier to understand and more maintainable. In case any other mod depends on mesecon:update_autoconnect, please update it to use mesecon.update_autoconnect. This should also fix some other minor bugs. Please report bugs if this commit creates new ones. This commit changes wire looks and removes some unneccesary textures.
2014-11-21Fix #183, noteblock now uses default drawtypeJeija
2014-11-21Fix #182, bug when placing wire crossings next to a powered sourceJeija
In case this fix creates new bugs, please report them.
2014-11-21Fix #184, Fix #186, Fix #187Jeija
Just some minor issues like dead code.
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-09-01use the right mesecon:receptor_* call for on/off blinkyplantVanessa Ezekowitz
2014-09-01use one ABM for blinkyplant instead of two.Vanessa Ezekowitz
using two ABMs allows the engine to desynchronize them, which makes the duty cycle unpredictable.
2014-07-14add door sounds from minetest_gameMartin Doege
2014-07-12Merge pull request #168 from ShadowNinja/fix-commandblock-quitAnthony Zhang
Fix the commandblock's check for quiting the formspec
2014-06-08Merge branch 'master' of github.com:Novatux/minetest-mod-meseconsVanessa Ezekowitz
2014-06-08Localize a few variables, add "GET" command to node detector.Novatux
2014-06-08Merge branch 'master' of github.com:Novatux/minetest-mod-meseconsVanessa Ezekowitz
2014-06-08Fix #164Novatux
2014-06-08Add node detector, which works like the player detector but detects a ↵Novatux
specific nodename (or any node except air) in front of it.
2014-06-06Fix the commandblock's check for quiting the formspecShadowNinja
The submit button also sends a quit field.
2014-06-01Make sure #160 cannot be exploited to make servers crash.Jeija
This is not exactly a fix for the issue, because extremely large circuits (3000+ conductors) still won't work with this applied. This simply aborts any execution if there is the danger of a stack overflow.
2014-05-02Don't allow non-inventory items as ingredientsZefram
Some mesecon wires (the turned-on nodes) that were not_in_creative_inventory and should never appear in an actual inventory were also mesecon_conductor_craftable. This is liable to make a craft guide show them as potential ingredients, due to the use of the group in recipes.
2014-04-30Fix #140 once againJeija
2014-04-25fix programming microcontroller through formZefram
The handling of the "quit" pseudo-field meant that the microcontroller couldn't be programmed with explicit code, only with the examples. The "quit" can actually be ignored: what matters for programming the controller is whether the "code" field was supplied.
2014-04-21use minetest.override_item to redefine meseHybridDog
2014-04-20Fix #155 (option 2 used). Remove non-ActionQueue system. Enable overheat for ↵Jeija
more than 20 actions per second on lua- / microcontrollers and gates. Fix a bug where a burnt luacontroller didn't have the correct pin-states as the burnt controller does not register any changes from outside.
2014-03-23Fix bug that made delayers oscillate their input portJeija
when powering off the delayer faster than the delay time. Actually, delayers should have never worked since the ActionQueue update as they always used the default rules for their output, which is obviously nonsense.
2014-03-21Send changesignals for placed receptors when not powered, make on_placenode ↵Jeija
code more readable with comments. Also fixes a bug of lua- / microcontrollers not being updated when pushed by a piston. This could cause some bugs, even though I haven't found any while testing as it is a very core part of mesecons.
2014-03-20Merge pull request #141 from ShadowNinja/commandblock_textareaJeija
Use a textarea for the commandblock to accept multiple commands
2014-03-20Merge pull request #134 from Novatux/masterJeija
Fix a few bugs that caused effectors not to turn off sometimes
2014-03-19Fix #146Jeija
2014-03-19Fix #83 (experimental)Jeija
Why did we actually put the update action in a queue again? Whatever issue it that was for, I couldn't reproduce it. Propably the ActionQueue fixed that...?
2014-03-19Remove timer() from LuaController and make interrupt() use the ActionQueue ↵Jeija
so that it will keep working when restarting the server
2014-03-19Improve and clean up luacontroller digiline_send on globalstep featureJeija