Liquid Density

User avatar
Hume2
Member
 
Posts: 252
Joined: Tue Jun 19, 2018 08:24
Location: Czech Republic
GitHub: Hume2
In-game: Hume2

Liquid Density

by Hume2 » Sun Feb 17, 2019 13:26

Currently, only liquid viscosity is implemented, but what about density?

It should be impossible to dive in lava because it's too dense. A fireproof human would float on lava without the ability of sinking down. If there was a mod implementing oil, it would be impossible to float on oil because it's too sparse. A human would sink down without the ability of swimming back up.

The density could be represented as a float. Water and river water would have 1 (i.e. 1000 kg/m³) and lava would have 2.5. Default would be 1. Entities could also have custom densities while 1 would be default.

EDIT: Also entities floating on water (like boats) could just have a density smaller than 1, which would make the boats mod lighter.
Last edited by Hume2 on Wed Mar 06, 2019 06:27, edited 1 time in total.
If you lack the reality, go on a trip or find a job.
 

User avatar
Festus1965
Member
 
Posts: 957
Joined: Sun Jan 03, 2016 11:58
Location: Thailand - Chiang Mai (+5-6h to MEZ)
GitHub: Minetest-One
In-game: Thomas Explorer

Re: Liquid Density

by Festus1965 » Sun Feb 17, 2019 23:09

Haha,
"should not die in Lava", or on the lava
Can I laugh loud out ? I was myself on the Vulcan Etna on Italia/Sicily 4 times, one during a greater eruption where the lava went until 2 km in from of the camping place I sand the scientist stayed.
Depending on the kind of lava maybe when very fast run, but mainly death !
The "reality" in minetest is ok, it IS killing.
I own minetest.one. Server Asia Thailand Minetest.one (5.0.1) via server.minetest.one:30001 using [Mod]s and build some own Mods.
 

User avatar
Hume2
Member
 
Posts: 252
Joined: Tue Jun 19, 2018 08:24
Location: Czech Republic
GitHub: Hume2
In-game: Hume2

Re: Liquid Density

by Hume2 » Mon Feb 18, 2019 15:26

Do you know, what is the difference between density and viscosity?

Of course that a player dies on lava in a short time but someone might use healing items to stay longer. Or there could be an item that makes the player resistant against lava. Also keep in mind that lava is not the only liquid which has a different density, someone could implement oil, mercury or other liquids.
If you lack the reality, go on a trip or find a job.
 

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

Re: Liquid Density

by Sokomine » Mon Feb 18, 2019 16:16

Hume2 wrote:Or there could be an item that makes the player resistant against lava.

Lava-diving with full crystal armor on the Xanandu server is quite entertaining. The locals - some lava flarns - love to come by to "greet" the visiting player.
A list of my mods can be found here.
 

User avatar
Hume2
Member
 
Posts: 252
Joined: Tue Jun 19, 2018 08:24
Location: Czech Republic
GitHub: Hume2
In-game: Hume2

Re: Liquid Density

by Hume2 » Wed Mar 06, 2019 06:13

I thought another usage. I plan making a mod that adds cleavers, a plant that slows down your movement. I can implement it as a liquid but this makes me able to climb it up. If it had density 0, it would be no longer possible. This could be also used for cobwebs in Wuzzy's MineClone 2 game.

EDIT: Also entities floating on water (like boats) could just have a density smaller than 1, which would make the boats mod lighter.
If you lack the reality, go on a trip or find a job.
 

Kurtzmusch
Member
 
Posts: 19
Joined: Sat Oct 21, 2017 18:12
In-game: Kurtzmusch

Re: Liquid Density

by Kurtzmusch » Sun Apr 14, 2019 18:49

i suport this, lava is just an example the engine should provide for a variety of game types...
Like Puzzles? Escape The Dungeon
 


Return to Feature Discussion



Who is online

Users browsing this forum: No registered users and 1 guest