Commit Graph

70 Commits

Author SHA1 Message Date
SmallJoker 7418d5cb61 Reduce redundancy in minetest.registered_nodes lookups 2023-12-27 11:21:05 +01:00
Wuzzy b318aadd0a
Translate Mesecons to German (#636) 2023-08-05 12:57:46 +02:00
jolesh 2ede29df9c
Add Esperanto translation (#625) 2022-12-01 18:33:19 +01:00
fluxionary a780298cfc
Add recipe to straighten wire (#629)
Add recipe to straighten corner insulated wires
2022-12-01 18:26:47 +01:00
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 fb255d292e
Add .luacheckrc and fix issues it pointed out (#589) 2022-02-12 20:12:12 +01: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
sys4-fr 93aa24dc42
Remove undeclared global variable corner_nodebox (#554)
To avoid warning message at load time.

Co-authored-by: sys4 <admin@sys4.fr>
2021-02-27 16:19:46 +01:00
Vitaliy 583d2c1441
Replace mesecon.mergetable (#533) 2020-12-19 23:12:00 +03:00
Vitaliy 9fda51b650
Insulated double corner (#524)
* Add insulated double corner
* Make single corner curved to match double corner
* Remove obsolete regular corner textures
2020-08-24 00:30:57 +03:00
mbartlett21 75bd1e8be6
Unpad insulated wire recipes (#477) 2020-06-28 01:28:56 +03: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
Christopher Head 302a28934d Document inactive block behaviour (#447) 2018-12-21 22:10:08 +03:00
number Zero a4f5ae5b89 Remove tiny (+0.001) selection box oversize 2018-09-07 17:31:49 +02:00
number Zero 9e6eac4285 Make insulated wires’ selection box fit in the node 2018-09-07 17:31:49 +02:00
Vitaliy ff73d0e60f
Merge pull request #401 from Wuzzy2/sfx
Add missing sound effects and fix wrong pressure plate sounds
2018-07-18 01:37:45 +03:00
DS 7537b9f381 Use rotate_simple for insulated wires (#382) 2018-01-30 21:47:03 +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
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