mirror of
https://github.com/minetest-mods/magma_conduits.git
synced 2024-12-20 20:45:40 +01:00
26 lines
633 B
Lua
26 lines
633 B
Lua
magma_conduits = {}
|
|
|
|
local modname = minetest.get_current_modname()
|
|
|
|
magma_conduits.S = minetest.get_translator(modname)
|
|
|
|
local modpath = minetest.get_modpath(modname)
|
|
dofile(modpath.."/config.lua")
|
|
dofile(modpath.."/voxelarea_iterator.lua")
|
|
dofile(modpath.."/hot_rock.lua")
|
|
|
|
if magma_conduits.config.remove_default_lava then
|
|
minetest.register_alias_force("mapgen_lava_source", "air")
|
|
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
|
|
|