Commit Graph

76 Commits

Author SHA1 Message Date
sys4-fr
78b10c505f Version MFF. 2018-09-08 01:14:03 +02: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
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
97f7b5745f Remove trailing whitespace 2015-10-04 13:30:34 +02: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
1df6e5a03b Rewrite movestones, make them nodes instead of entities 2015-02-14 13:35:50 +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
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
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
5be179bf11 Replace mesecon:<some_function> with mesecon.<some_function> for greater
flexibility and because it was never inteded to be OOP in the first
place.

mesecon.receptor_on and mesecon.receptor_off are provided by wrappers
(mesecon:receptor_on/off) for compatibility, but will be removed. Mod
programmers that use mesecons: Please update!

Also, fix microcontroller polluting the global namespace and remove some
deprecated stuff.
2014-11-22 15:42:22 +01:00
Jeija
dcf1f799c5 Fix #184, Fix #186, Fix #187
Just some minor issues like dead code.
2014-11-21 21:43:28 +01:00
ShadowNinja
de6dd30745 Move textures into their mods 2014-01-10 13:13:02 -05:00
Uberi
16b4b79c51 Update code to standards of Minetest 0.4.8. 2013-11-30 22:13:00 -05:00
Vanessa Ezekowitz
669e3d0880 use 'wood' group for crafting pistons, pressure plates, and noteblocks 2013-11-30 19:07:12 -05:00
Anthony Zhang
96011bc718 Audit code for possible nil value indexing with unregistered nodes. 2013-06-22 15:43:58 -04:00
Anthony Zhang
367a41416b Fix README a little and add piston sounds by suzenako, contributed by jordan4ibanez. 2013-06-05 16:01:11 -04:00
RealBadAngel
255e363b04 Fix all crafting recipes to use modern style 2013-04-28 12:40:08 +02:00
Jeija
57e1547515 Make pistons and movestones move objects (push only yet) 2013-04-02 11:57:28 +02:00
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