Commit Graph

739 Commits

Author SHA1 Message Date
Jeija eb416475cc Re-add mesecon.register_mvps_unmov(objectname) since other mods (pipeworks) are using it 2015-02-19 14:27:20 +01:00
Jeija 1ee3b2107d Fix movestones sometimes not starting to move again when they are at the
end of the wire
2015-02-17 20:02:24 +01:00
Jeija 1df6e5a03b Rewrite movestones, make them nodes instead of entities 2015-02-14 13:35:50 +01:00
Florian Euchner b7076e635c Merge pull request #222 from MT-Modder/stoppers-2
Register only locked nodes as stoppers
2015-02-14 09:22:56 +01:00
MT-Modder 6d9f44455c Register only locked nodes as stoppers
This was suggested here:
https://github.com/Jeija/minetest-mod-mesecons/pull/216
2015-02-13 23:58:36 -05:00
Jeija 8bf5b7d0e4 Fix #219, do not try to override unregistered doors 2015-02-14 00:02:19 +01:00
Florian Euchner 14281a1bd4 Merge pull request #221 from MT-Modder/remove-from-group
Remove insulated t-junction and crossover from craftable group
2015-02-13 23:51:42 +01:00
MT-Modder 1d93a51f6e Remove insulated t-junction and crossover from craftable group 2015-02-13 17:02:09 -05:00
Jeija 639fc8988e Fix onstate sticky piston drop: Must be sticky instead of normal piston
Thanks to HybridDog for spotting that
2015-02-05 20:26:51 +01:00
Florian Euchner a9ec0a10c0 Merge pull request #216 from MT-Modder/mvps-additions
Register chests and bookshelves as stoppers
2015-02-05 16:23:58 +01:00
Vanessa Ezekowitz 775d250112 Add meshes for water turbine and and wall lever instead of nodeboxes
Adjust textures and inventory images to it
2015-02-05 15:40:08 +01:00
MT-Modder 3c06da7908 Register chests and bookshelves as stoppers 2015-02-05 00:57:33 -05:00
C1ff 11cf727bfb Added more sounds to noteblocks, see the documentation on http://mesecons.net for more information 2015-02-04 19:45:17 +01:00
Jeija 30468b09cf Do not send action_off signal when newly placing nodes, this didn't
cause any bugs, but unneccessary sounds (experimental change)
2015-02-03 20:07:58 +01:00
Jeija a895715720 Prepare trapdoors code for merging, make trapdoors always toggle their
state when the mesecons signal changes, no matter what state they're in
2015-02-03 18:10:49 +01:00
MT-Modder 94604e890c Add trapdoor to mesecons_doors 2015-02-02 19:20:44 -05:00
Florian Euchner ac0e062281 Merge pull request #211 from MT-Modder/master
Use dye for lightstone recipes
2015-01-23 19:38:57 +01:00
Jeija 562cee7438 Rewrite doors:
* Enable glass and obsidian glass doors to be used with mesecons
* Doors can receive signals from a vertical wire placed two
  blocks beneath them, use this to create mesecon-controlled
  double doors
* Fix textures for both git upstream and stable minetest_game
* Shrink code size
* Rename mesecons_compatibility to mesecons_doors.
2015-01-22 17:27:29 +01:00
MT-Modder a33859574c Use dye for lightstone recipes - for balance 2015-01-21 13:45:27 -05:00
Florian Euchner 09bb11d3e5 Merge pull request #210 from MT-Modder/master
Fix doors texture names
2015-01-21 06:51:46 +01:00
MT-Modder cb598cbe18 Fix doors texture names 2015-01-20 16:13:50 -05:00
Florian Euchner aed4d3997b Merge pull request #208 from MT-Modder/master
Use group:sapling for power plant, blinky plant recipes
2015-01-20 21:27:48 +01:00
MT-Modder 1509510262 Use group:sapling for all recipes 2015-01-20 13:28:44 -05:00
Florian Euchner d6b53a2962 Merge pull request #202 from dora71/master
Silicon production from normal and desert sand
2015-01-12 18:41:40 +01:00
Rainer eb3ad9e537 Update init.lua
Ability to produce silicon either from "normal" sand or from desert sand.
2015-01-12 09:53:10 +01:00
Florian Euchner 3c82e2fc3a Merge pull request #199 from 163140/master
Allow using any node in group:sapling for making glue
2015-01-09 15:43:18 +01:00
163140 f02ccdfa5d Making glue from any sapling
Moretree and Ethereal mods add a lot of saplings
2015-01-09 11:54:32 +00:00
Jeija 80648b6c14 Fix #198 by adding gates to the "overheat" group 2015-01-03 14:04:18 +01:00
Jeija adb803ce17 **This commit changes functionality**, please read
Remove legacy code that enabled / disabled mesecon wires that were placed 2 blocks below a
pressure plate. From now on, please place a vertical wire at that place. That way, no false
signals will be triggered (the wire won't "flash" turned off if you enable it by a pressure
plate and turn off a switch connected to it).
If you depend on this functionality, please just revert this commit. That should be possible in
the near future as well, since no major rewrites are planned for mesecons_pressureplates. In the
long run, please update your mesecon strucutres to use vertical wires instead of relying on this
old hack.
2015-01-03 10:12:20 +01:00
Jeija dca4706c7f Fix #197, doesn't remove the legacy code that triggered it though 2015-01-03 10:12:12 +01:00
Jeija 011543a782 Fix #196, removes soft-depend on commonlib 2014-12-20 10:11:12 +01:00
Jeija b3aa8f5d13 Fix receiver looks, fixes #195, thanks to MT-Modder for reporting 2014-12-06 17:24:34 +01:00
Jeija c326dc221a Rewrite Logic Gates: Makes it super-easy to add new gates and cleans up code
Fix bugs in the Luacontroller (when placing, false input pin values were given) and fix variables
leaking into the global environment in pistons.
2014-11-29 15:08:37 +01:00
Jeija d2373eb605 Don't trigger an "off" event to itself when luacontroller turns a port off
I hope this doesn't break anyone's setup.
2014-11-29 10:56:09 +01:00
Jeija 2a51e40af9 Fix luacontroller: attempt to perform arithmetic on global 'print_count' (a nil value) 2014-11-25 19:53:29 +01:00
Jeija 4bd9d2a9ec Merge branch 'improve-luacontroller'
However, without the print_count limiting functionality

Conflicts:
	mesecons_luacontroller/init.lua
2014-11-25 17:36:52 +01:00
Jeija f69caba036 Fix movestone to wire connection looks 2014-11-25 17:08:46 +01:00
Jeija e74241f4aa Fix onstate switch appearing the the creative inventory 2014-11-23 16:13:28 +01:00
Jeija f388dc475a Fix luacontroller interrupts not working if no iid is supplied 2014-11-23 10:59:51 +01:00
Jeija fb695e9c1c Fix #189, clean code and update documentation 2014-11-23 09:43:24 +01:00
Jeija fc4d675b84 Fix crafting with the default mesecon wire 2014-11-22 23:20:29 +01:00
Jeija 085b4d8bb7 Fix burnt luacontroller, nodebox + crash 2014-11-22 23:14:45 +01:00
Jeija 0e3aa57ed3 Merge branch 'improve-luacontroller' of https://github.com/ShadowNinja/minetest-mod-mesecons into ShadowNinja-improve-luacontroller
Conflicts:
	mesecons/legacy.lua
	mesecons_luacontroller/init.lua
	mesecons_microcontroller/init.lua
2014-11-22 23:04:34 +01:00
Jeija a814abd1e0 Merge branch 'doorsounds' 2014-11-22 22:43:12 +01: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 f977ac821a Re-implement settings system:
Settings can now be retrieved by mesecon.setting(<name>, <default>) and can be modified without
editing the source code by adding the setting to minetest.conf
For instance, you can add mesecon.blinky_plant_interval = 0.5 to minetest.conf in order to
increase the blinking speed.
Rewrite the blinky plant with nodetimers.
Fixes #161
2014-11-22 22:09:26 +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 a550323fea Fix compatibility with not yet updated mods that use mesecon:receptor_* 2014-11-22 20:05:36 +01:00
Jeija d19e975955 Use iterative algorithm for mesecon.find_receptor_on, major performance improvement for large
circuits.
This also fixes a crash introduced with the previous commit that occured when placing a wire
crossing.
2014-11-22 17:12:48 +01:00
Jeija 29dc50057c Fix bug in mesecon.mergetable that caused false rules 2014-11-22 16:00:49 +01:00