Page 1 of 1
How hard would it be to do this? (is it possible?)

Posted:
Mon Dec 10, 2012 23:20
by RAPHAEL
I've noticed in minetest, water doesn't move items. How hard would it be to make water act similar to minecraft in how it will "uproot" certain plants (like wheat) and carry items that are on the ground.
I'm not overly fond of minecraft but it does have some nice little features like the water thing. Would be interesting if minetest had its own take on such feature. This would be useful in industrial style farming.
My personal suggestion is flowing water should move items in direction of flow and it should break things like say trees (maybe if water is 2-3 blocks deep and flowing), the various crops from farming mod, flowers from flower mod and so forth.
The big question is how hard would this "feature" be to do?

Posted:
Tue Dec 11, 2012 03:42
by BrandonReese
PilzAdam wrote a mod that does some of this. It moves items in flowing water, and makes lava destroy items.
http://minetest.net/forum/viewtopic.php?id=3188

Posted:
Tue Dec 11, 2012 10:51
by PilzAdam
My mod uses an hacky way to realise the item pushing by flowing water. It should be done in the core code.
Also the water destroying walkable and/or buildable_to nodes thing should be done in the core.
Both is absolutly possible. Would be nice if someone could provide a patch for this.

Posted:
Tue Dec 11, 2012 14:59
by nomohakon
From this is just a little step to elevators.

Posted:
Wed Dec 12, 2012 02:56
by Sokomine
Elevators are a bit easier than moving horizontally. Just have a look at the jumping-mod. With that, you can build elevators by removing the floor, let the player fall down on the trampoline, and "put" a pillow under the player at the desired height. Even items seem to come up again.

Posted:
Wed Dec 12, 2012 11:35
by nomohakon
Okay, not elevator, more like gravity plating. To be pulled to predefined direction.

Posted:
Wed Dec 12, 2012 11:47
by LorenzoVulcan
I think an ABM on flowing water can resolve the thing without core hacking.

Posted:
Wed Dec 12, 2012 11:59
by OmniStudent
LorenzoVulcan wrote:I think an ABM on flowing water can resolve the thing without core hacking.
Whats an ABM?

Posted:
Wed Dec 12, 2012 12:04
by Calinou
OmniStudent wrote:Whats an ABM?
Active Block Modifier.

Posted:
Wed Dec 12, 2012 15:37
by lord_james
LorenzoVulcan wrote:I think an ABM on flowing water can resolve the thing without core hacking.
I think that it's more suitable add a way to edit core without hacking. For example, in the game folder (in default), it could be add some lua files that replaces builtin files if this files exist.

Posted:
Wed Dec 12, 2012 15:39
by LorenzoVulcan
lord_james wrote:LorenzoVulcan wrote:I think an ABM on flowing water can resolve the thing without core hacking.
I think that it's more suitable add a way to edit core without hacking. For example, in the game folder (in default), it could be add some lua files that replaces builtin files if this files exist.
It exists.You can override core functions.