Commit Graph

554 Commits

Author SHA1 Message Date
Jeija 2c4a46a557 Minor cleanup, use addPosRule 2012-12-16 16:29:03 +01:00
Jeija 0aab812487 Fix addPosRule without mesecon: in vertical wires (issue #62) 2012-12-16 13:02:05 +01:00
Jeija c76c274cc0 Remove mesecons:updatenode 2012-12-16 12:00:11 +01:00
Jeija a1852204fb Cleanup and improve piston code 2012-12-16 11:58:43 +01:00
Jeija ae4bd1e21c Merge branch 'master' into nextgen
Conflicts:
	mesecons_pistons/init.lua
2012-12-16 08:59:06 +01:00
Anthony Zhang 9dee0c020c Fix placing while facing diagonally. 2012-12-15 19:16:59 -05:00
Anthony Zhang aab0d4d943 Place up/down pistons automatically depending on the player look direction, remove the craft recipes for up/down pistons, and unify all the pushing/pulling behaviors into mesecon:piston_push(pos) and mesecon:piston_pull(pos). 2012-12-15 19:12:20 -05:00
Anthony Zhang b5f5beeb3d Attempt to update the wire crossing. 2012-12-15 17:53:03 -05:00
Jeija 5fb5df446c Bugfix, use param2 for conductors when turning them on/off 2012-12-15 21:23:38 +01:00
Jeija 18731cbc8a Bugfix, param2 for conductors 2012-12-15 21:21:54 +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
Jeija 594d061d6d Fix sticky piston retraction not working 2012-12-12 03:14:57 +01:00
Jeija 659060ddcd Fix a bug that occured when placing an effector next to a receptor 2012-12-11 19:54:53 +01:00
Jeija de46729b97 Merge branch 'mesecons_in_nodedef'
Conflicts:
	mesecons/internal.lua
2012-12-11 19:49:55 +01:00
Jeija 5540fcbcb3 Fix a bug reported here: http://minetest.net/forum/viewtopic.php?pid=56152#p56152 2012-12-11 18:15:44 +01:00
Jeija a55874b5d2 Fix blinky plant bug (crash when placing mesecon next to it) 2012-12-10 22:05:13 +01:00
Jeija 192b9eca4f Fix crash when digging unknown nodes 2012-12-10 21:14:03 +01:00
Jeija 59a39204a9 Remove dead parts of the mod/dead textures/wireless mesecons 2012-12-10 20:55:13 +01:00
Jeija e9f2beb2c6 Slightly change wire look (may be reverted?) 2012-12-10 20:39:12 +01:00
Jeija 5904abbd79 Port gates (finally) 2012-12-10 19:46:24 +01:00
Jeija d5825f9602 Fix insulated mesecon 2012-12-10 17:19:30 +01:00
Jeija 05def1540a Fix microcontroller digging 2012-12-09 15:32:29 +01:00
Jeija 961b955f2d Port door, fix button/lever bug, new visual style for receiver 2012-12-09 13:28:32 +01:00
Jeija 31f3c99288 Fix microcontroller alias 2012-12-09 11:16:48 +01:00
Jeija a0a3328f7c Fix microcontroller alias 2012-12-09 11:13:32 +01:00
Jeija b37bdbf55c Port a lot more (basically everything apart from gates, pistons and extrawire crossing) to the new nodedef system. There are some problems with wall button and wall lever (in the way they visually connect to wires) 2012-12-09 00:42:30 +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
Jeija 00e071b695 Cleanup, make and use util.lua, port command block and delayer to nodedef 2012-12-08 21:56:09 +01:00
Jeija 8578fd89c8 Port lightstones (as reference for effectors) + blinky plant to the new nodedef system 2012-12-08 19:02:34 +01:00
Jeija 472650f099 Finish new mesecon-in-nodedef for conductors and receptors. Make wires and switch use it for reference. 2012-12-08 17:50:25 +01:00
Jeija f28cf0af03 Fix major bug that often occured when using gates (caused by commit 64d109b) 2012-12-08 16:08:16 +01:00
Jeija e0aa5b1d3d New branch: Move mesecon to node definition instead of functions like register_conductor; first steps: move everything to legacy 2012-12-08 14:14:04 +01:00
Jeija 12206ac190 Add support for the preinstalled wooden door in minetest_game 2012-12-08 12:13:45 +01:00
Jeija 3926c46293 Merge pull request #58 from PilzAdam/master
Speed update of pressureplates up by using node_timers
2012-12-07 12:51:44 -08:00
PilzAdam 4a8e20b68e Speed update of pressureplates up by using node_timers 2012-12-07 15:52:52 +01:00
Jeija 7542dd4da0 Fix a bug (in some cases the output rules of a receptor weren't respected, bug introduced by commit before, 64d109b31b) 2012-12-03 18:59:34 +01:00
Anthony Zhang 64d109b31b `mesecon:updatenode()` was written to work only with conductors, though in several places it was used on recepters and effectors. This issue, reported by simion314, is fixed in this commit by explicitly checking for the type of mesecon node being updated. 2012-12-01 18:34:05 -05:00
Anthony Zhang 3bab7cb252 Simpler piston push/pull method. 2012-11-28 23:32:24 -05:00
Anthony Zhang aaddd9e74d Fix a rare piston pushing bug and make piston updating faster. 2012-11-27 19:34:54 -05:00
Anthony Zhang 618fd31f43 Merge remote-tracking branch 'origin/master' 2012-11-11 17:52:07 -05:00
Anthony Zhang db434c6fe9 Use nodeupdate() so things like pushing gravel/sand off a ledge allows it to fall. 2012-11-11 17:51:03 -05:00
Anthony 938dc37623 Merge pull request #55 from Jat15/master
tile_images modified tiles
2012-11-08 16:24:22 -08:00
Jat b312d73511 Update tile_images 2012-11-08 20:52:36 +01:00
Anthony Zhang 2d16152188 Add command block:
* not obtainable legitimately in Survival mode
* found in Creative inventory or using /giveme mesecons_commandblock:commandblock_off
* glows slightly when turned on
* runs a command in the context of the targeted player
* player can be targeted by name, or using the special forms (@nearest, @farthest, @random)
* when powered, runs its command with its parameters
* right click to bring up the configuration screen
* diggable and modifiable only by its owner, the person who placed it
2012-10-28 16:31:03 -04:00
Anthony Zhang 3ae31cd849 Use add_node since place_node only works with ItemStacks and can't specify param1/param2 value. This fixes pistons pushing pistons/torches/etc. 2012-10-27 12:40:11 -04:00
Anthony Zhang ff5dcda7c7 Further piston improvements, the pistons now delay before retracting and play nice with invalid states. 2012-10-13 12:45:15 -04:00
cornernote 931ac23ff3 Improve T-FF code and add a reset pin on C. 2012-10-07 13:08:01 -04:00
Anthony Zhang dcd2f94ba9 New pistons activation mechanism, fixes many of the issues reported when pushing mesecons around. Side effect is that it might be somewhat slower, and it waits a tiny delay before extending or retracting. This should be unnoticable in normal use. 2012-10-02 17:09:39 -04:00
Anthony Zhang cd8fd55fe3 Fix whitespace, simplify node updating. 2012-10-01 22:18:45 -04:00