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

User avatar
RAPHAEL
Member
 
Posts: 627
Joined: Tue Nov 01, 2011 09:09

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

by RAPHAEL » Mon Dec 10, 2012 23:20

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?
"Before you speak, ask yourself: Is it kind, is it true, is it necessary, does it improve upon the silence?"
My mods: http://goo.gl/n4kpn
(Currently Various, Industrial, Fakeblocks, Jail, MoarCraft, Christmas, Replicator, minetest dev installer for linux, bash mod installer, windows mod installer)
 

User avatar
BrandonReese
Member
 
Posts: 836
Joined: Wed Sep 12, 2012 00:44
GitHub: bremaweb
IRC: BrandonReese
In-game: BrandonReese

by BrandonReese » Tue Dec 11, 2012 03:42

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
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Tue Dec 11, 2012 10:51

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.
 

User avatar
nomohakon
Member
 
Posts: 207
Joined: Fri Aug 10, 2012 16:34
IRC: nomohakon
In-game: nomohakon

by nomohakon » Tue Dec 11, 2012 14:59

From this is just a little step to elevators.
"To learn who rules over you, simply find out who you are not allowed to criticize." - Voltaire
"Knowledge, like air, is vital to life. Like air, no one should be denied it." - Alan Moore, V for Vendetta
- - -
"To never die... and to conquer all, that is winning." ―Illyria
 

Sokomine
Member
 
Posts: 2980
Joined: Sun Sep 09, 2012 17:31

by Sokomine » Wed Dec 12, 2012 02:56

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.
A list of my mods can be found here.
 

User avatar
nomohakon
Member
 
Posts: 207
Joined: Fri Aug 10, 2012 16:34
IRC: nomohakon
In-game: nomohakon

by nomohakon » Wed Dec 12, 2012 11:35

Okay, not elevator, more like gravity plating. To be pulled to predefined direction.
"To learn who rules over you, simply find out who you are not allowed to criticize." - Voltaire
"Knowledge, like air, is vital to life. Like air, no one should be denied it." - Alan Moore, V for Vendetta
- - -
"To never die... and to conquer all, that is winning." ―Illyria
 

User avatar
LorenzoVulcan
Member
 
Posts: 437
Joined: Mon Mar 12, 2012 06:46

by LorenzoVulcan » Wed Dec 12, 2012 11:47

I think an ABM on flowing water can resolve the thing without core hacking.
Developer of the BlockForge 2# Project!
Official thread: http://minetest.net/forum/viewtopic.php?pid=54290#p54290
 

OmniStudent
Member
 
Posts: 261
Joined: Sat Nov 03, 2012 06:40

by OmniStudent » Wed Dec 12, 2012 11:59

LorenzoVulcan wrote:I think an ABM on flowing water can resolve the thing without core hacking.


Whats an ABM?
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

by Calinou » Wed Dec 12, 2012 12:04

OmniStudent wrote:Whats an ABM?


Active Block Modifier.
 

lord_james
Member
 
Posts: 51
Joined: Sun Mar 11, 2012 22:06

by lord_james » Wed Dec 12, 2012 15:37

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.
 

User avatar
LorenzoVulcan
Member
 
Posts: 437
Joined: Mon Mar 12, 2012 06:46

by LorenzoVulcan » Wed Dec 12, 2012 15:39

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.
Developer of the BlockForge 2# Project!
Official thread: http://minetest.net/forum/viewtopic.php?pid=54290#p54290
 


Return to Minetest Features

Who is online

Users browsing this forum: No registered users and 3 guests

cron