Commit Graph
100 Commits
Author SHA1 Message Date
Jeija 89153f6909 Further simplification of turnon/turnoff 2016-08-30 18:24:08 +02:00
Florian Euchner a3042b44fc Merge pull request #282 from Hawk777/luacontroller-comment
Remove an obsolete comment.
2016-08-16 12:14:33 +02:00
Jeija 778ee427f4 Fix bug introduced in previous commit that broke all logic blocks
turnon / turnoff were calling activate / deactivate on nodes even though
their rules didn't link

Fixes #278, thanks to @darkfeels
2016-07-31 22:26:33 +02:00
Jeija 7c7595fd7d Fix #276: Fix bugs in block forceloading in turnon / turnoff
Thanks to @Hawk777 for reporting this problem
2016-07-25 10:01:43 +02:00
Florian Euchner 75308f73e4 Merge pull request #270 from Emon-Omen/patch-1
Fixed missing capital letter in "ghoststone"
2016-05-17 07:53:35 +02:00
Jeija 85bc62a65d Add COPYING.txt file to clarify coprights and licenses 2016-05-16 08:04:57 +02:00
Jeija ed3964da80 Remove microcontroller documentation files from the source tree
The files are still available for download in a GitHub release
2016-05-15 19:04:18 +02:00
Jeija 4249ed4986 Mese as conductor: Fix light source, make code more flexible
Closes #265
2016-04-26 19:44:05 +02:00
Florian Euchner c4f0c5c169 Merge pull request #264 from cheapie/master
Escape command block commands for formspec
2016-04-21 19:26:28 +02:00
Jeija 72e513ecbd Luacontroller: Put clearing debug hook before throwing error back in 2016-03-14 12:51:57 +01:00
Jeija 1e77b193dd Luacontroller: Add safe version of string.rep and remove string.gsub,
fixes #255
2016-03-13 22:01:46 +01:00
Jeija 08b14e3af0 Luacontroller: Fix function usage in LuaJIT, make 'do' no longer
prohibited, remove pcall and xpcall, fix global lookup of "jit"
variable, correct error locations

Thanks to @ShadowNinja and @gamemanj for fixing this in #241
2016-03-13 21:16:16 +01:00
Jeija e5dba66c21 Revert "Toggle trapdoors on signal, workaround for #252"
Please use the screwdriver if you want to rotate trapdoors.
This reverts commit 417a136c5e.
2016-02-28 07:16:45 +01:00
Jeija 417a136c5e Toggle trapdoors on signal, workaround for #252 2016-02-27 20:40:16 +01:00
Jeija 2dc8101fa1 Merge branch 'ssieb-master' 2016-02-23 10:20:09 +01:00
Jeija c7428d8135 Remove unused VERSION file
and remove debug output
2016-02-19 12:20:52 +01:00
Jeija cfd4f7c287 Force-load areas with mesecon usage
This is a major speedup for large mesecon machines / structures.
Force-loaded areas are stored in a file to be persistent over server
reboots. By default, areas are unloaded after 10 minutes (600s) without
usage, this can be customized with the mesecon.forceload_timeout
setting. Please turn max_forceloaded_blocks up for better performance.
2016-02-19 12:11:38 +01:00
Jeija f099b43e11 Update documentation: Fix mesecons.net links 2016-02-16 19:55:46 +01:00
Jeija 7b84105512 Consistently use UNIX line endings (LF instead of CR LF) 2016-02-15 23:05:21 +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 fe9c6871de Fix pistons not connecting to wire and not activating when placing
up/down pistons from certain directions
2016-02-15 16:36:27 +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 6b54f025c1 Merge branch 'playerdetector_update' of https://github.com/HybridDog/minetest-mod-mesecons into HybridDog-playerdetector_update 2016-02-14 13:41:48 +01:00
Jeija c98805a5b5 Merge branch 'fix_pistons' of https://github.com/HybridDog/minetest-mod-mesecons into HybridDog-fix_pistons 2016-02-14 12:55:18 +01:00
Jeija f56c4ce35c Merge branch 'HybridDog-noteblock_update' 2016-01-02 23:01:08 +01:00
Jeija eab09b9d73 Merge branch 'sofar-sound' 2015-12-29 22:20:42 +01:00
Jeija a6b28d1f11 Gates: Update nor gate craft recipe, fixes #243 2015-12-15 22:25:39 +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 75bd081a67 Gates: Add OR and NOR gate 2015-11-20 20:13:59 +01:00
Jeija b89fe52469 Luacontroller: Add configurable size limit for mem table, 100kBytes by default, fixes #240
If size limit is exceeded, the luacontroller overheats. Overheating will cause the memory
to be erased.
2015-10-18 11:28:35 +02:00
Jeija 97f7b5745f Remove trailing whitespace 2015-10-04 13:30:34 +02:00
Jeija 24958e253b Revert "Do not send action_off signal when newly placing nodes"
This caused #238, reverting that commit fixes #238.

This reverts commit 30468b09cf.
2015-10-04 12:30:04 +02:00
Jeija 0e7f68ea92 Doors: Use new sound name (fixes #236) 2015-10-04 12:21:35 +02:00
Florian Euchner 6ef3b965df Merge pull request #239 from beyondlimits/master
Use right mouse button instead of left to press button and change state of switch and lever.
2015-10-04 12:09:15 +02:00
Jeija d0354d0dab Fix #234 2015-07-27 11:51:02 +02:00
Florian Euchner 3066346d75 Merge pull request #233 from technomancy/default-light-max
Don't refer to LIGHT_MAX global; use default.
2015-05-11 07:08:24 +02:00
Jeija b6ae419b00 Return if invalid parameters are given to node_detector_scan (e.g. unloaded area), should fix #228 2015-03-26 07:29:34 +01:00
Jeija a6d0a523ba Add support for sticky blocks for pistons and a a sample sticky block 2015-02-28 13:42:39 +01:00
Jeija aa5538a734 Fix pressure plates calling receptor_on on a regular basis 2015-02-25 21:01:00 +01:00
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
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
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
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
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
Florian Euchner 09bb11d3e5 Merge pull request #210 from MT-Modder/master
Fix doors texture names
2015-01-21 06:51:46 +01: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
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
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
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
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 a9427d267b Merge pull request #141 from ShadowNinja/commandblock_textarea
Use a textarea for the commandblock to accept multiple commands
2014-03-20 21:02:43 +01:00
Jeija 2cab6aa5ef Merge pull request #134 from Novatux/master
Fix a few bugs that caused effectors not to turn off sometimes
2014-03-20 09:28:03 +01:00
Jeija 38ff900274 Merge pull request #152 from CiaranG/timer
Add timer() function/event (node timer based) to luacontroller
2014-03-16 21:05:49 +01:00
Jeija a59f53d71a Merge pull request #148 from CiaranG/upper
Add missing string.upper to luacontroller
2014-02-16 14:33:35 +01:00
Jeija a6bd955449 Merge pull request #144 from Novatux/gates-fix
Fix gates with serverstep code.
Let's give that a try.
2014-01-11 23:17:14 -08:00
Jeija 6c979a6ebb Merge pull request #142 from Novatux/actionqueue
Action Queue bugfixes by Novatux
2014-01-11 11:19:52 -08:00
Jeija c067e52714 Merge pull request #138 from ShadowNinja/split_textures
Move textures into their mods
2014-01-10 14:10:20 -08:00
Jeija 39361fb719 Merge pull request #133 from Novatux/master
Use swap_node instead of add_node when replacing conductors.
2014-01-05 01:01:53 -08:00
Jeija 9ab0d9deb2 Update Microcontroller Tutorial and add .odt source for the .pdf 2013-09-08 11:38:01 +02:00
Jeija c3082f6601 Add LICENSE.txt
LGPLv3 for code,
CC-BY-SA-3.0 for everything else
This should makes it easier for packagers of distributions
2013-09-07 23:20:17 +02:00
Jeija 09be8af517 Upgrade CC-BY-SA License to 3.0
Permitted according to section 4b of CC-BY-SA-2.0:
"a later version of this License with the same License Elements as this License"
2013-09-07 23:15:21 +02:00
Jeija 9299111900 Merge pull request #97 from RealBadAngel/patch-2
Update README

minetest-c55 --> minetest
2013-04-26 21:46:27 -07:00
Jeija b0bef909a0 Fix pressure plate (onstate) nodebox 2013-04-21 08:16:43 +02:00
Jeija fc5245139d Merge pull request #95 from VanessaE/master
Pressure plate texturing tweaks
2013-04-20 23:07:14 -07:00
Jeija 8afc6abcd5 Merge pull request #94 from RealBadAngel/patch-1
Update mesecons_button/init.lua (change craft recipe format, no gameplay change)
2013-04-15 07:19:22 -07:00
Jeija 6cfd12e63c Merge branch 'patch_#85'
Let's see if someone complains...
2013-04-13 21:14:46 +02:00
Jeija 63a18f1a51 Don't push objects into walls and fix bug in previous commit 2013-04-02 12:13:25 +02:00
Jeija 57e1547515 Make pistons and movestones move objects (push only yet) 2013-04-02 11:57:28 +02:00
Jeija 3b38bbcaf2 Make pistons and movestones move objects (push only yet) 2013-04-02 11:56:37 +02:00
Jeija e789794c75 Experimental fix for issue #85 by removing ignored ports from the luacontroller 2013-04-01 22:24:01 +02:00
Jeija 36bcce57b0 Add table.* to luacontroller sandbox 2013-03-26 15:12:56 +01:00
Jeija 84d5546df1 Merge pull request #82 from Jat15/patch-1
Fix bug texture in mesewire for 0.4 stable
2013-03-05 09:36:07 -08:00
Jeija e707afef1a Don't totally force deactivation of block two below the pressure plate if connected to a receptor 2013-02-24 19:09:07 +01:00
Jeija 2848df007e Bugfix: Also deactivate the block two below when digging a pressure plate 2013-02-24 19:03:28 +01:00
Jeija c9e89189eb Improved object detector craft recipe, picture soon available on mesecons.net 2013-02-22 19:49:03 +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 a0920104fc Object Detector, cleanup and different behaviour:
* Name to scan for can be specified by right-clicking it
* It can receive digiline signals that change the name to scan for
* A sign above it for the name doesn't work anymore (this features wasn't used often anyway)
2013-02-22 19:23:28 +01:00
Jeija cc41f136cc More distinguishable inventory image for the luacontroller (not wield
item, just top)
2013-02-19 16:58:17 +01:00
Jeija 8827cfd66f Merge branch 'luacontroller' 2013-02-19 16:54:53 +01:00
Jeija d36dd865ad Fix onstate corner drop
I blame khonkhortisan
2013-02-19 16:42:33 +01:00
Jeija 1c4ab938ad Fix a dumb bug that conflicted with different things in the luacontroller 2013-02-12 10:58:29 +01:00
Jeija eeed4f148d Fix odd behaviour when using interrupts in the luacontroller 2013-02-12 10:25:24 +01:00
Jeija 0e34696214 Make Mese conductive 2013-02-11 11:01:13 +01:00
Jeija 10ea3c971b Merge branch 'master' into luacontroller 2013-02-11 08:03:08 +01:00
Jeija 591e2d7cde LuaController: Queue setting the ports (wait for pending operations) 2013-02-10 23:10:22 +01:00
Jeija ccb3430540 Merge pull request #70 from khonkhortisan/eghoststone
Make ghoststone conductive
2013-02-07 08:49:24 -08:00
Jeija e3c9eded2a Merge branch 'master' of https://github.com/Jeija/minetest-mod-mesecons 2013-02-06 21:25:55 +01:00
Jeija 74eefc270a Fix piston drops and craft recipe 2013-02-06 21:24:58 +01:00
Jeija baba7de063 Fix door compatibility, update to latest version 2013-01-30 07:37:08 +01:00