Commit Graph

50 Commits

Author SHA1 Message Date
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
DS
905260c8db Handle blasts (#356) 2017-10-07 01:44:49 +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
sfan5
5188853014 Make descriptions of insulated wires consistent
This allows finding all of them by searching
"insulated" in the creative menu.
2017-01-22 13:39:10 +01:00
sfan5
c2e3d7c4e5 Fix most of the namespace pollutions reported in #311 2017-01-15 11:53:49 +01:00
DS-Minetest
7415036f5b Make insulated cossover to mesh
This removes the weird "holes" in the isolation of the crossing
2017-01-02 14:59:52 +01:00
Jeija
4249ed4986 Mese as conductor: Fix light source, make code more flexible
Closes #265
2016-04-26 19:44:05 +02: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
0ec771bf7d Major change: Documentation is now included with mesecons, the website just extracts the documentation in a more readable format
This makes development of new features easier, as documentation can automatically be updated on the website without modifying the website's code!
Every mod that has nodes in the mesecons modpack has a "doc" folder that contains subfolders with recipe, description and preview of the block. The website will discover which documentation is available
by reading the documentation.json file.
2015-11-20 20:14:50 +01:00
Jeija
97f7b5745f Remove trailing whitespace 2015-10-04 13:30:34 +02:00
MT-Modder
1d93a51f6e Remove insulated t-junction and crossover from craftable group 2015-02-13 17:02:09 -05:00
Florian Euchner
fb5c9edaf4 Merge pull request #156 from HybridDog/ov_it
Use minetest.override_item to redefine mese
2014-11-22 22:30:31 +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
Zefram
b64fea4f70 Don't allow non-inventory items as ingredients
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-05-02 09:07:52 +02:00
HybridDog
b9178dfcaa use minetest.override_item to redefine mese 2014-04-21 13:27:12 +02: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
Vanessa Ezekowitz
5516ca58e9 Give crossing proper textures 2013-08-28 01:26:00 -04:00
khonkhortisan
913e355a71 Merge pull request #112 from khonkhortisan/multi_rules
Multi rules
Merged for near-future textures to be merged cleanly.
2013-08-27 22:22:30 -07:00
Anthony Zhang
96011bc718 Audit code for possible nil value indexing with unregistered nodes. 2013-06-22 15:43:58 -04:00
khonkhortisan
885899cbaf Crossover 2013-06-20 09:30:26 -07:00
RealBadAngel
255e363b04 Fix all crafting recipes to use modern style 2013-04-28 12:40:08 +02: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
Jat
629a52af11 Fix bug texture in mesewire for 0.4 stable 2013-03-04 19:56:43 +01: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
d36dd865ad Fix onstate corner drop
I blame khonkhortisan
2013-02-19 16:42:33 +01:00
Kyle
09ac201bac Fix the nodename of a drop 2013-02-18 10:27:11 -08:00
Jeija
0e34696214 Make Mese conductive 2013-02-11 11:01:13 +01:00
Jeija
74eefc270a Fix piston drops and craft recipe 2013-02-06 21:24:58 +01:00
Vanessa Ezekowitz
92122379de added and tweaked textures to improve appearance and tiling of insulated
T-junctions.
2012-12-27 13:50:54 -05:00
Vanessa Ezekowitz
84ad046533 Added a couple of needed textures for curved/corner wires and tweak code to
use them.  Also fixed the "on" state image for wire ends so that it works for
curved wires also.
2012-12-27 12:48:02 -05:00
Jeija
d1ace465c7 Add experimental 'corner' wire, an insulated bended wire (needs textures and maybe rename it) 2012-12-27 09:54:19 +01:00
Andres Eduardo Montoya Cruz
34fa8a1167 now the insulated wires change their color when they are turn on 2012-12-21 20:24:43 -05: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
ae4bd1e21c Merge branch 'master' into nextgen
Conflicts:
	mesecons_pistons/init.lua
2012-12-16 08:59:06 +01:00
Anthony Zhang
b5f5beeb3d Attempt to update the wire crossing. 2012-12-15 17:53:03 -05: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
Jeija
cf6080f723 Port more blocks to nodedef system: object detector, extrawires, water turbine, insulated wire 2012-12-08 22:28:46 +01:00
Kyle
cee2574ff2 fix t-junction selectionbox when on 2012-09-10 15:48:06 -07:00
Jeija
e92387695d Add T-junction extrawire (no good textures yet) 2012-09-09 13:34:21 +02:00
Kyle
d3b1c43ee1 crossing wire moved into mesecons 2012-09-07 13:18:53 -07:00