d91e0b66cb
Re-write pistons from scratch, propably fixes a lot of bugs and doesn't cause too many new ones.
2012-12-26 22:54:28 +01:00
af8fd75fa4
Fix sticky piston up
2012-12-23 17:20:59 +01:00
594d061d6d
Fix sticky piston retraction not working
2012-12-12 03:14:57 +01:00
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
5aa0815ffb
hopefully fix http://minetest.net/forum/viewtopic.php?pid=58093#p58093
2012-12-19 18:20:21 +01:00
f6ef7b005d
Same for sticky piston
2012-12-18 16:21:41 +01:00
5cdf23fb00
Fix bug reported here: http://bit.ly/VOF35X
2012-12-18 16:20:24 +01:00
c50b68cf83
Use a simpler way of detecting up/down piston placement (thanks Jeija).
2012-12-16 15:12:24 -05:00
a1852204fb
Cleanup and improve piston code
2012-12-16 11:58:43 +01:00
ae4bd1e21c
Merge branch 'master' into nextgen
...
Conflicts:
mesecons_pistons/init.lua
2012-12-16 08:59:06 +01:00
9dee0c020c
Fix placing while facing diagonally.
2012-12-15 19:16:59 -05:00
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
44dc1a128c
Upload cleaned up mesecons to nextgen branch
2012-12-15 18:45:51 +01:00
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
3bab7cb252
Simpler piston push/pull method.
2012-11-28 23:32:24 -05:00
aaddd9e74d
Fix a rare piston pushing bug and make piston updating faster.
2012-11-27 19:34:54 -05:00
db434c6fe9
Use nodeupdate() so things like pushing gravel/sand off a ledge allows it to fall.
2012-11-11 17:51:03 -05:00
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
ff5dcda7c7
Further piston improvements, the pistons now delay before retracting and play nice with invalid states.
2012-10-13 12:45:15 -04:00
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
cd8fd55fe3
Fix whitespace, simplify node updating.
2012-10-01 22:18:45 -04:00
b7553145b0
Actuator ignored liquid (all)
2012-08-30 14:20:18 +02:00
164971f6d1
Remove piston_up from dead groups
2012-08-13 20:39:14 +02:00
6f9036c70b
Register piston_up and piston_down as effectors
2012-08-13 20:37:39 +02:00
00ce2540c2
New effector system, effectors have to be registered with mesecon:register_effector(onstate, offstate, rules, function get_rules) rules and function get_rules are optional. You don't have to specify both onstate and offstate (required for e.g. removestone)
2012-08-13 20:17:45 +02:00
9829abc74d
HUGE speed improvement
2012-08-12 10:57:00 +02:00
e12b297987
change all recipes to use group:mesecon_conductor_craftable
...
fixed deprecated/invalid recipes in lightstones.
fixed copy&paste error in one of the delayer textures
fixed recipe for player detector to rely on microcontroller instead of old IC
2012-08-11 20:53:47 -04:00
1f6e1fa7ab
Mesecons only connect to blocks with group mesecon > 1
2012-08-11 23:39:28 +02:00
fa1213134a
did the same for buttons and up/down pistons
2012-08-10 17:59:52 -04:00
39db9cf01c
Added "mesecon = 1" to the groups setting for most objects, so that they'll
...
visibly connect to neighboring wires.
2012-08-10 17:35:54 -04:00
9d52049e83
Fix sticky piston duplicate bug
2012-08-10 20:12:53 +02:00
2330d0af79
added pistons up and down
2012-08-09 13:52:47 +09:30
10fe94dea7
Make Pistons use set_node not dig_node (Speed Improvement)
2012-08-08 12:40:18 +02:00
55e74c04ed
Trigger Block Update when retracting Piston
2012-08-08 11:44:12 +02:00
f502cbd801
use normal piston textures on sides of sticky piston plunger. Also fixes
...
deprecated tile_images bits.
2012-08-07 03:11:36 -04:00
aa8ad0fde9
Fix off-by-one error in piston length calculation and change the node pushing to make use of the fact that minetest.env:place_node() is apparently a no-op if the node is not air or liquid.
2012-07-20 22:15:49 -04:00
9736b0f61e
Nodebox piston pushers! Fix a few piston bugs such as pistons pushing pistons, pistons pushing blocks into pushers causing blocks to get deleted, and many more. As a side effect, players can no longer simply walk through piston pushers. Additionally, pistons will only remove their own pushers, and not those of neighboring pistons as well. Remove ENABLE_PISTON_ANIMATION option (not compatible with nodebox piston pushers).
2012-07-20 16:27:43 -04:00
64a452da24
Fix piston duplication bug, simplify piston handling, limit piston push distance to 15 blocks. Remove deprecated object:get_entity_name() call, and some obselete settings.
2012-07-18 23:38:59 -04:00
1e569782f5
Use minetest.env:place_node and minetest.env:dig_node to enable usage of the on_place and on_dig callbacks.
2012-06-21 20:32:48 -04:00
4200757ba3
Remove deprecated API functions "register_on_placenode" and "register_on_dignode" where possible.
2012-06-04 22:20:04 -04:00
0f7e2d5ab3
Fix Bug: Pistons can now be removed
2012-03-25 00:09:47 +01:00
3018128b4b
Update nodes for compatibility with digging time groups.
2012-03-22 17:52:11 -04:00
ff75bcdcab
Fix pistons removing entities when it shouldn't
2012-03-18 11:26:54 -04:00
36ae0cc1a5
Upload after major code reorganization - Version 0.6 DEV - Split mesecons mod into several modules - [BUGGY?]
2012-03-05 19:21:26 +01:00