2017-04-09 04:16:07 +02:00
|
|
|
magma_conduits = {}
|
|
|
|
|
|
|
|
local modpath = minetest.get_modpath(minetest.get_current_modname())
|
|
|
|
dofile(modpath.."/config.lua")
|
2018-05-13 01:03:43 +02:00
|
|
|
dofile(modpath.."/voxelarea_iterator.lua")
|
2018-05-22 08:27:28 +02:00
|
|
|
dofile(modpath.."/hot_rock.lua")
|
2017-04-09 04:16:07 +02:00
|
|
|
|
|
|
|
if magma_conduits.config.remove_default_lava then
|
2018-11-03 22:38:55 +01:00
|
|
|
minetest.register_alias_force("mapgen_lava_source", "air")
|
2017-04-09 04:16:07 +02:00
|
|
|
end
|
|
|
|
|
2018-11-05 00:44:04 +01:00
|
|
|
if magma_conduits.config.magma_veins then
|
|
|
|
dofile(modpath.."/magma_veins.lua")
|
|
|
|
end
|
|
|
|
if magma_conduits.config.volcanoes then
|
|
|
|
dofile(modpath.."/volcanoes.lua")
|
|
|
|
end
|
2018-11-09 07:08:48 +01:00
|
|
|
if magma_conduits.config.cook_soil then
|
|
|
|
dofile(modpath.."/cook_soil.lua")
|
|
|
|
end
|
2017-04-09 04:16:07 +02:00
|
|
|
|