Commit Graph

15 Commits

Author SHA1 Message Date
Jeija
29dc50057c Fix bug in mesecon.mergetable that caused false rules 2014-11-22 16:00:49 +01:00
Jeija
5be179bf11 Replace mesecon:<some_function> with mesecon.<some_function> for greater
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-22 15:42:22 +01:00
Jeija
194155fff8 Rewrite mesecon wires. This should increase the efficiency and speed of
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-22 11:40:58 +01:00
Uberi
16b4b79c51 Update code to standards of Minetest 0.4.8. 2013-11-30 22:13:00 -05:00
Anthony Zhang
4714c908ac Fix #73 - receiver wire drops down one node when connected button is dug. 2013-02-08 14:18:42 -05:00
Jeija
961b955f2d Port door, fix button/lever bug, new visual style for receiver 2012-12-09 13:28:32 +01:00
Jeija
b37bdbf55c Port a lot more (basically everything apart from gates, pistons and 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-12-09 00:42:30 +01:00
Jeija
e92387695d Add T-junction extrawire (no good textures yet) 2012-09-09 13:34:21 +02:00
Jeija
4ae7bc9aa6 Use sunlight_propagates = true for some more nodes 2012-09-07 15:59:49 +02:00
Vanessa Ezekowitz
98b8c8da76 Receiver now looks insulated, since it behaves that way anyways. 2012-09-01 14:37:32 -04:00
Vanessa Ezekowitz
8206ac70f1 Gave receivers their own textures. Needed so that they can be textured
separately, plus the nodeboxes were a little glitchy with the wires textures.
2012-08-28 14:17:18 -04:00
Jeija
48337a4df8 Fix bug when placing a wire (receiver) to an onstate-walllever/button 2012-08-19 10:38:44 +02:00
Vanessa Ezekowitz
a941f4ebd8 new nodeboxes for receiver objects opposite wall levers etc 2012-08-18 09:46:26 -04:00
Jeija
c5bf95f79d Some fix for walllever/button receiver digging 2012-08-17 23:48:09 +02:00
Jeija
3c2d0ba325 Re-enable button + Wall lever, bugfix that adds a 'receiver' node (not yet designed) 2012-08-17 16:28:59 +02:00