summaryrefslogtreecommitdiff
path: root/mesecons_receiver/init.lua
AgeCommit message (Collapse)Author
2017-01-02Properly handle rotation of buttons / leversCarter Kolwey
Buttons and levers can now also be pointed upwards / downwards which will make them connect to corresponding up / down receivers. You will need to use the screwdriver for this. Receivers cannot be rotated using the screwdriver anymore.
2016-08-23Split wires into their own mod, introduce autoconnect hooksCarter Kolwey
The update_autoconnect function had to be abstracted away from the default wires, any kind of wire can now register autoconnect hooks, which should make having multiple different wire types much easier. mesecons_mvps, mesecons_receiver and mesecons_random made use of update_autoconnect, their code was also adapted. This also fixes a receiver bug: If a receiver was placed with a onstate receptor next to it (but not the wall lever / button that caused the receiver to appear) the receiver didn't turn on in the past. Also move documentation for mesecon wire into mesecons_wire.
2016-02-14Always use minetest.set_node instead of minetest.add_node for consistencyJeija
2015-10-04Remove trailing whitespaceJeija
2014-12-06Fix receiver looks, fixes #195, thanks to MT-Modder for reportingJeija
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-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.
2013-11-30Update code to standards of Minetest 0.4.8.Uberi
2013-02-08Fix #73 - receiver wire drops down one node when connected button is dug.Anthony Zhang
2012-12-09Port door, fix button/lever bug, new visual style for receiverJeija
2012-12-09Port a lot more (basically everything apart from gates, pistons and ↵Jeija
extrawire crossing) to the new nodedef system. There are some problems with wall button and wall lever (in the way they visually connect to wires)
2012-09-09Add T-junction extrawire (no good textures yet)Jeija
2012-09-07Use sunlight_propagates = true for some more nodesJeija
2012-09-01Receiver now looks insulated, since it behaves that way anyways.Vanessa Ezekowitz
2012-08-28Gave receivers their own textures. Needed so that they can be texturedVanessa Ezekowitz
separately, plus the nodeboxes were a little glitchy with the wires textures.
2012-08-19Fix bug when placing a wire (receiver) to an onstate-walllever/buttonJeija
2012-08-18new nodeboxes for receiver objects opposite wall levers etcVanessa Ezekowitz
2012-08-17Some fix for walllever/button receiver diggingJeija
2012-08-17Re-enable button + Wall lever, bugfix that adds a 'receiver' node (not yet ↵Jeija
designed)