Commit Graph

31 Commits

Author SHA1 Message Date
Jude Melton-Houghton
0a4a88b1b9
Consolidate horizontal rules getters (#602) 2022-06-05 11:19:18 +02:00
Jude Melton-Houghton
960b7c4915
Make some fixes to movement and rotation (#584) 2022-05-07 22:24:58 +02:00
Jude Melton-Houghton
dfa43d6c0c
Make modpack mostly independent from MTG (#607) 2022-05-05 16:57:53 +02:00
Jude Melton-Houghton
1d30891349 Move default dependency to individual mods that need it 2022-02-19 17:13:31 +01:00
Jude Melton-Houghton
fb255d292e
Add .luacheckrc and fix issues it pointed out (#589) 2022-02-12 20:12:12 +01:00
David Leal
168a923665
Use mod.conf for dependencies (#492) 2020-06-27 02:26:14 +03:00
Hugo Locurcio
8baa789eb1 Optimize images (#464)
Recompress losslessly using `optipng` and `advpng`
2019-06-27 22:33:11 +03:00
Vitaliy
a234006592
Fix mesecon receiver duplication (#419) 2018-07-21 10:42:24 +03:00
Wuzzy
6f1ff24474 Add sounds for wires and piston heads 2018-01-28 20:56:42 +01:00
DS
ff0bd76efe Set is_ground_content to false (#386) 2017-11-01 00:50:39 +03:00
Carter Kolwey
1bd936ad8c Properly handle rotation of buttons / levers
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.
2017-01-02 14:51:28 +01:00
Carter Kolwey
912f17f335 Split wires into their own mod, introduce autoconnect hooks
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-08-23 11:08:53 +02:00
Jeija
7865d42834 Always use minetest.set_node instead of minetest.add_node for consistency 2016-02-14 21:00:37 +01:00
Jeija
97f7b5745f Remove trailing whitespace 2015-10-04 13:30:34 +02:00
Jeija
b3aa8f5d13 Fix receiver looks, fixes #195, thanks to MT-Modder for reporting 2014-12-06 17:24:34 +01:00
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
ShadowNinja
de6dd30745 Move textures into their mods 2014-01-10 13:13:02 -05: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