Commit Graph

28 Commits

Author SHA1 Message Date
DS
229fbe5d85
Merge 5ab1d87d87 into ecea0a2896 2021-12-07 20:34:26 +00:00
Louis Royer
f5c3f798be
Compatibility with mtg_craft_guide (#555)
Use group instead of wire when possible

Fixes https://github.com/minetest/minetest_game/issues/2843.
2021-04-01 18:56:08 +02:00
Desour
5ab1d87d87 Do not allow rotation of active wire 2020-06-28 14:47:01 +02:00
DS-Minetest
57eb72dd4d better nodebox -> unrotated = param2==0 2020-06-28 14:27:20 +02:00
DS-Minetest
3eca5fc2f8 update with on_placenode on rotate 2020-06-28 14:27:20 +02:00
DS-Minetest
2cdf3fc79b rotate rules on mod load 2020-06-28 14:27:20 +02:00
DS-Minetest
15a95bbf38 add static middle vertical wire 2020-06-28 14:27:20 +02: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
Wuzzy
967bde284a Spell-check and clarify item names
* Fix inconsistent insulated mesecon names
* Clarify lightstone names
* Rename meselamp to "Mesecon Lamp"
* Use capitalization "Luacontroller" consistently
* Cleanup / improvements for logic gate naming
2017-03-07 19:04:05 +01:00
Jeija
80f72b2621 Fix vertical wires not updating power when adding to / removing from a vertical line
Call mesecon.on_dignode / mesecon.on_placenode to take care of that.
2016-02-15 22:52:56 +01:00
Jeija
7865d42834 Always use minetest.set_node instead of minetest.add_node for consistency 2016-02-14 21:00:37 +01:00
Jeija
809192f353 Use vector helper functions instead of old builtin cmpPos and addPosRule functions 2016-02-14 20:55:50 +01:00
Jeija
80d136125e Fix bug in mesecon.find_receptor that caused false turnoffs and rewrite lever +
switch
2014-11-22 20:49:54 +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
b5cc933287 Pressure plates and the object detector will send power to vertical
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-22 12:30:39 +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
d9cc1d5aa1 Vertical wire update. 2013-12-18 15:14:03 -05:00
Uberi
f479dd27d5 Fix vertical wire drops. 2013-11-30 20:44:33 -05:00
Anthony Zhang
96011bc718 Audit code for possible nil value indexing with unregistered nodes. 2013-06-22 15:43:58 -04:00
Vanessa Ezekowitz
b3fb406727 Minor tweak to allow vertical wires with caps to use the "vertical"
texture for the sides (still uses the "full" for the top/bottom of the
caps).
2013-04-21 22:16:17 -04:00
Jeija
36263d481a Add (shaped) craft recipe for vertical mesecons
* Craft them from three wires in a vertical row
* Craft them back into mesecons by just putting one of them in the grid
2013-02-22 19:37:05 +01:00
Jeija
74eefc270a Fix piston drops and craft recipe 2013-02-06 21:24:58 +01:00
Jeija
23bebfc054 Merge branch 'master' into nextgen
Conflicts:
	mesecons/internal.lua
	mesecons/wires.lua
	mesecons_pistons/init.lua
2012-12-21 16:22:25 +01:00
Jeija
13befe3bba Fix #62 (Hopefully this time) 2012-12-16 19:03:46 +01:00
Jeija
0aab812487 Fix addPosRule without mesecon: in vertical wires (issue #62) 2012-12-16 13:02:05 +01:00
Jeija
44dc1a128c Upload cleaned up mesecons to nextgen branch 2012-12-15 18:45:51 +01:00
Jeija
c0d3bd2abb Include experimental vertical wires (needs textures) 2012-12-13 18:42:45 +01:00