[Mod] Lava Cooling [0.3] [lavacooling]

Rath
Member
 
Posts: 16
Joined: Wed Jul 18, 2012 03:53

[Mod] Lava Cooling [0.3] [lavacooling]

by Rath » Tue Aug 07, 2012 16:18

This mod has not and probably will not be updated for some time.

Makes lava exposed to air cool into molten rock and lava near water turns into obsidian.
Molten rock eventually turns into stone or sometimes iron ore and it can be used as a fuel.
Pumice forms when molten rock is above water or when its when air is above it while another molten rock node is below it.

Note: If lava and molten rock are taking to long to cool then lower COOLING_RATE at the top of init.lua

Code License: WTFPL
Textures License: cc-by-sa 3.0

Depends: default

Download: v 0.3

Changelog:
v 0.2 - make obsidian drop more frequent
v 0.3 - add pumice, made obsidian shards craftable

Screenshots:
Image
Image
Image
Image
Last edited by Rath on Tue Mar 26, 2013 01:41, edited 1 time in total.
 

User avatar
LocaL_ALchemisT
Member
 
Posts: 56
Joined: Thu Jul 19, 2012 16:21

by LocaL_ALchemisT » Tue Aug 07, 2012 16:29

woah, cool..

just one thing, are you sure it only depends on default? coz default doesn't have obsidian
Built Telegate v1.0, Workers v2.0, Broadcast v0.0 & Weeping Angel v0.1
Having A Buzy Week
From 0.4.10 with love~
 

User avatar
Mallot1
Member
 
Posts: 85
Joined: Wed Jun 27, 2012 04:38

by Mallot1 » Tue Aug 07, 2012 16:32

i love it try to make better obsidian textures though there to dark
 

pagliaccio
Member
 
Posts: 65
Joined: Tue Jul 31, 2012 07:38

by pagliaccio » Tue Aug 07, 2012 17:05

+3
 

User avatar
LolManKuba
Member
 
Posts: 939
Joined: Fri Feb 10, 2012 22:36

by LolManKuba » Tue Aug 07, 2012 17:38

LocaL_ALchemisT wrote:woah, cool..

just one thing, are you sure it only depends on default? coz default doesn't have obsidian

Lava is in default, he created the obsidian block, (There used to be a obsidian mod)
 

Spots
Member
 
Posts: 124
Joined: Tue Jul 24, 2012 12:12

by Spots » Tue Aug 07, 2012 19:55

okay so i like the mod but when you mine the obsidian you get obsidian and obsidian shard but at a very very low drop rate is it a bug or was that worked in to the mod that way because if you want it for your floors or walls and you make a bucket and build a framing area, it kinna sux i was in a spot for 15 minutes and got 4 obsidian and 23 obsidian shards ans nothing else
 

User avatar
SegFault22
Member
 
Posts: 870
Joined: Mon May 21, 2012 03:17

by SegFault22 » Tue Aug 07, 2012 23:19

+16
How about, cobble next to a lava source turns into molten rock, or just lava? And, how about pumice, which happens when molten rock is exposed to air above it? That would be awesome.
Now I can go make a lavarift world :D
Resources are abundant; only money is scarce. People should not have to work hard and remain poor just to pay for the needs of survival.
Society can thrive without money - but only if productive members of society are rewarded for being productive.
 

User avatar
SegFault22
Member
 
Posts: 870
Joined: Mon May 21, 2012 03:17

by SegFault22 » Wed Aug 08, 2012 00:53

I took the time to make a simple ''volcano'':
Image
Now I have been inspired to make more ''types'' of lava and events that happen to lava to make realistic volcanoes/rifts (like, an ABM that at certain times, lava sources will ''erupt'' and spawn lava sources above them, only if there are a few other sources next to it and there's air above it, and runny lava/thick lava that determine the strength of an eruption)
If I do, may I add your mod to a ''modpack''?
Last edited by SegFault22 on Wed Aug 08, 2012 00:57, edited 1 time in total.
Resources are abundant; only money is scarce. People should not have to work hard and remain poor just to pay for the needs of survival.
Society can thrive without money - but only if productive members of society are rewarded for being productive.
 

Rath
Member
 
Posts: 16
Joined: Wed Jul 18, 2012 03:53

by Rath » Wed Aug 08, 2012 02:24

SegFault22: I like your ideas and would be interested in helping. Also you can add my mod to a modpack.
Last edited by Rath on Wed Aug 08, 2012 02:30, edited 1 time in total.
 

User avatar
SegFault22
Member
 
Posts: 870
Joined: Mon May 21, 2012 03:17

by SegFault22 » Wed Aug 08, 2012 19:49

Well, I had to delete the volcano map I had, as I accidentally let the lava spill out everywhere, causing severe lag. Still working on lowering the viscosity of some lavas. I'll also see about cloning the ABM's to get other types of lava to cool, maybe at different speeds too (thick lava exposed to the surface doesn't move a lot so it cools quicker, but runny lava is always moving/mixing and takes longer to cool)
Resources are abundant; only money is scarce. People should not have to work hard and remain poor just to pay for the needs of survival.
Society can thrive without money - but only if productive members of society are rewarded for being productive.
 

TheLoLMan
Member
 
Posts: 190
Joined: Sat Jun 16, 2012 13:43

by TheLoLMan » Wed Aug 08, 2012 20:22

Good I Love LAVA
 

User avatar
SegFault22
Member
 
Posts: 870
Joined: Mon May 21, 2012 03:17

by SegFault22 » Wed Aug 08, 2012 23:41

I wonder if it's possible to lower the rate at which lava cools, below a certain level...as to simulate it as if the air above magma is gaseous and hot, yet above ground it is cool and plain.
Resources are abundant; only money is scarce. People should not have to work hard and remain poor just to pay for the needs of survival.
Society can thrive without money - but only if productive members of society are rewarded for being productive.
 

Rath
Member
 
Posts: 16
Joined: Wed Jul 18, 2012 03:53

by Rath » Thu Aug 09, 2012 00:06

SegFault22 wrote:I wonder if it's possible to lower the rate at which lava cools, below a certain level...as to simulate it as if the air above magma is gaseous and hot, yet above ground it is cool and plain.

I was thinking that lava above a certain level could be generated as a different type for example "cool lava." This might be possible using minetest.register_on_generated.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Sat Aug 18, 2012 16:37

A few tips:

In minecraft, when moving lava comes in to contact with water, cobble stone is formed

When still lava is next to water only then is obistian is formed
 

User avatar
Casimir
Member
 
Posts: 1101
Joined: Fri Aug 03, 2012 16:59

by Casimir » Thu Dec 13, 2012 20:50

I made a version of this mod. It's a little bit simpler than the original one.

It adds no new blocks. Just crates stone and desertstone (when nearby desertstone). And instead of hanging around in the air they fall down (which can lead to nice structures underwater). Has some bugs.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
minetest.register_abm ({
    nodenames = {"default:lava_source", "default:lava_flowing"},
    neighbors = {"default:water_source", "default:water_flowing"},
    interval = 1.0,
    chance = 8,
    action = function (pos)
            if minetest.env:find_node_near(pos, 2, {"default:desert_stone", "default:desert_sand"}) then
                minetest.env: add_node (pos, {name = "default:desert_stone"})
            else
                minetest.env: add_node (pos, {name = "default:stone"})
            end   
    end,
})

minetest.register_abm ({
    nodenames = {"default:lava_flowing"},
    interval = 3.0,
    chance = 8,
    action = function (pos)
        if minetest.env:find_node_near(pos, 1, {"default:desert_stone", "default:desert_sand"}) then
            default.spawn_falling_node(pos, "default:desert_stone")
        else
            spawn_falling_node(pos, "default:stone")   -- for versions before 0.4.4 use:   default.spawn_falling_node(pos, "default:stone")
        end
    end,
})


depends: default
licence: WTFPL (like original)
Last edited by Casimir on Sun Dec 23, 2012 20:35, edited 1 time in total.
 

deivan
Member
 
Posts: 452
Joined: Fri Feb 15, 2013 10:16

by deivan » Sat Feb 23, 2013 19:14

I made some changes in this mod for solve some little problems...
1) All my lava "lakes" become stone lakes...
2) The geothermal generator (technic) never work, the water close to the lava make rocks...

I added the idea of the direct contact as trigger then if lava and water (or air) have same two axes, like x and y, then is a direct contact.
I make molten rocks come back to lava form if the nod have at last 2 lava direct contacts with him.

I have the idea of transform rocks in lava but I am thinking.. How make it work without make a crazy thing? Like all caves become lava pools... :-o

Maybe I release this new version of the mod or I make a alternative, I am doing many changes... I need time.
 

BZab
Member
 
Posts: 126
Joined: Mon Jan 28, 2013 10:04

by BZab » Sat Feb 23, 2013 21:19

deivan wrote:I made some changes in this mod for solve some little problems...
1) All my lava "lakes" become stone lakes...
2) The geothermal generator (technic) never work, the water close to the lava make rocks...

I added the idea of the direct contact as trigger then if lava and water (or air) have same two axes, like x and y, then is a direct contact.
I make molten rocks come back to lava form if the nod have at last 2 lava direct contacts with him.

I have the idea of transform rocks in lava but I am thinking.. How make it work without make a crazy thing? Like all caves become lava pools... :-o

Maybe I release this new version of the mod or I make a alternative, I am doing many changes... I need time.

Then lava lakes will be growing down... :/
 

User avatar
Linxx
Member
 
Posts: 401
Joined: Wed May 16, 2012 00:37

by Linxx » Sat Feb 23, 2013 21:21

pretty cool would solve the lava over water thing that makes lava look like oil and water xD
 

User avatar
Inocudom
Member
 
Posts: 2889
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Sun Feb 24, 2013 00:33

Instead of default stone, you could use a custom rock type. Stone is used much too often.
 

User avatar
Linxx
Member
 
Posts: 401
Joined: Wed May 16, 2012 00:37

by Linxx » Sun Feb 24, 2013 03:04

it could be turned into some sedimentary rock and that rock could be turned into glass or sand
 

User avatar
stcrafts
Member
 
Posts: 19
Joined: Thu Feb 21, 2013 07:45

by stcrafts » Sun Feb 24, 2013 07:48

COOL!
----------------------------------
Sorry for my bad English :I
----------------------------------
----------------------------------
 

deivan
Member
 
Posts: 452
Joined: Fri Feb 15, 2013 10:16

by deivan » Sun Feb 24, 2013 10:32

The mod make obsidian rock, pumice, molten rock and stone_with_iron.

I try solve a bug before release or submit changes to this mod. Maybe I add more ores possibility when a rock appear.

Is it.
Last edited by deivan on Sun Feb 24, 2013 10:32, edited 1 time in total.
 

deivan
Member
 
Posts: 452
Joined: Fri Feb 15, 2013 10:16

by deivan » Mon Feb 25, 2013 11:59

In this image is possible seeing the mod working. Lava only become stone if have equal number of lava and air contact (or more air) in a direct line, not in diagonals.
Image

I solved the process slow down bug and excessive spawn of rare minerals, I am very close to have a full operational version of this. :)
Last edited by deivan on Mon Feb 25, 2013 12:00, edited 1 time in total.
 

deivan
Member
 
Posts: 452
Joined: Fri Feb 15, 2013 10:16

by deivan » Mon Feb 25, 2013 19:59

My first stone factory, the lava become molten rocks only in the border, I pickup and leave him at side. :D
Image
 

deivan
Member
 
Posts: 452
Joined: Fri Feb 15, 2013 10:16

by deivan » Thu Mar 07, 2013 02:00

 

deivan
Member
 
Posts: 452
Joined: Fri Feb 15, 2013 10:16

by deivan » Wed Mar 20, 2013 16:05

Ok, I have a new topic for my modification of this mod now: http://forum.minetest.net/viewtopic.php?id=5185.
 

User avatar
Cryterion
Member
 
Posts: 93
Joined: Tue Jun 10, 2014 08:12
GitHub: Cryterion
IRC: Cryterion
In-game: Cryterion

Re: [Mod] Lava Cooling [0.3] [lavacooling]

by Cryterion » Sun May 31, 2015 18:52

I've created a new topic in WIP Mods for this, as have used the molten rock component in a new modified version of this mod
viewtopic.php?f=9&t=12371
No trees or animals were hurt in the production of this message. However, a large number of Electrons were temporarily inconvenienced.
 


Return to Old Mods

Who is online

Users browsing this forum: No registered users and 31 guests

cron