magma_conduits/init.lua

22 lines
555 B
Lua
Raw Normal View History

2017-04-09 04:16:07 +02:00
magma_conduits = {}
local modpath = minetest.get_modpath(minetest.get_current_modname())
dofile(modpath.."/config.lua")
dofile(modpath.."/voxelarea_iterator.lua")
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
if magma_conduits.config.magma_veins then
dofile(modpath.."/magma_veins.lua")
end
if magma_conduits.config.volcanoes then
dofile(modpath.."/volcanoes.lua")
end
if magma_conduits.config.cook_soil then
dofile(modpath.."/cook_soil.lua")
end
2017-04-09 04:16:07 +02:00