Commit Graph

52 Commits

Author SHA1 Message Date
Anthony Zhang
588e41c786 Up/down pistons should also have special rules excluding the pusher side (rotated versions of normal pistons). 2013-03-14 14:19:02 -04:00
Anthony Zhang
e1577eba46 Revert additional piston rules. 2013-03-11 17:49:07 -04:00
Anthony Zhang
4406654fa4 Support metadata in piston pushing (so that microcontrollers and such can be pushed), support pushing chests (not locked ones though), and add two missing rules for pistons (z- top and bottom, but not z- itself). This still avoids the piston pushing power source issue. 2013-03-11 17:37:50 -04:00
Anthony Zhang
3792b692aa Digging and footstep sounds for everything that needs them! Plus, pushing buttons, punching switches, and flipping levers all make sounds. 2013-03-06 20:51:57 -05:00
khonkhortisan
ac23eb070a Make vertical piston pusher selection boxes match their horizontal
equivalents
2013-03-02 22:22:43 -08:00
Anthony Zhang
536c77330b Fix sticky piston crafting recipe. 2013-02-08 19:50:20 -05:00
Anthony Zhang
5b5e919683 Make load times faster by avoiding inventorycube and wielditem creation in technical blocks such as active wires and various piston orientations. 2013-02-08 14:36:20 -05:00
Jeija
74eefc270a Fix piston drops and craft recipe 2013-02-06 21:24:58 +01:00
Jeija
c062411fa1 Fix another two piston-related bugs 2012-12-27 20:38:12 +01:00
Jeija
2a8bd68c41 Fix very rare piston bug (needs testing) 2012-12-27 19:14:54 +01:00
Vanessa Ezekowitz
cdd9a93da9 revamped textures for all pistons, tweaked thickness of piston pusher 2012-12-27 12:13:40 -05:00
Jeija
d3b77b5be3 Compatibility with old pistons 2012-12-27 12:03:05 +01:00
Jeija
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
Jeija
af8fd75fa4 Fix sticky piston up 2012-12-23 17:20:59 +01:00
Jeija
594d061d6d Fix sticky piston retraction not working 2012-12-12 03:14:57 +01:00
Jeija
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
Jeija
5aa0815ffb hopefully fix http://minetest.net/forum/viewtopic.php?pid=58093#p58093 2012-12-19 18:20:21 +01:00
Jeija
f6ef7b005d Same for sticky piston 2012-12-18 16:21:41 +01:00
Jeija
5cdf23fb00 Fix bug reported here: http://bit.ly/VOF35X 2012-12-18 16:20:24 +01:00
Anthony Zhang
c50b68cf83 Use a simpler way of detecting up/down piston placement (thanks Jeija). 2012-12-16 15:12:24 -05: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
Jeija
44dc1a128c Upload cleaned up mesecons to nextgen branch 2012-12-15 18:45:51 +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
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
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 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
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
Jat
b7553145b0 Actuator ignored liquid (all) 2012-08-30 14:20:18 +02:00
Jeija
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
Jeija
9829abc74d HUGE speed improvement 2012-08-12 10:57:00 +02:00
Vanessa Ezekowitz
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
Jeija
1f6e1fa7ab Mesecons only connect to blocks with group mesecon > 1 2012-08-11 23:39:28 +02:00
Vanessa Ezekowitz
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
Jeija
9d52049e83 Fix sticky piston duplicate bug 2012-08-10 20:12:53 +02:00
cornernote
2330d0af79 added pistons up and down 2012-08-09 13:52:47 +09:30
sfan5
10fe94dea7 Make Pistons use set_node not dig_node (Speed Improvement) 2012-08-08 12:40:18 +02:00
sfan5
55e74c04ed Trigger Block Update when retracting Piston 2012-08-08 11:44:12 +02:00
Vanessa Ezekowitz
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
Anthony Zhang
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
Anthony Zhang
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
Anthony Zhang
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
Anthony Zhang
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
Anthony Zhang
4200757ba3 Remove deprecated API functions "register_on_placenode" and "register_on_dignode" where possible. 2012-06-04 22:20:04 -04:00
Jeija
0f7e2d5ab3 Fix Bug: Pistons can now be removed 2012-03-25 00:09:47 +01:00
Anthony Zhang
3018128b4b Update nodes for compatibility with digging time groups. 2012-03-22 17:52:11 -04:00