2014-12-24 23:42:36 +01:00
|
|
|
-- Load translation library if intllib is installed
|
|
|
|
|
|
|
|
if (minetest.get_modpath("intllib")) then
|
|
|
|
dofile(minetest.get_modpath("intllib").."/intllib.lua")
|
|
|
|
S = intllib.Getter(minetest.get_current_modname())
|
|
|
|
else
|
|
|
|
S = function ( s ) return s end
|
|
|
|
end
|
|
|
|
|
2014-12-29 21:47:55 +01:00
|
|
|
local modpath=minetest.get_modpath(minetest.get_current_modname())
|
2014-12-24 23:42:36 +01:00
|
|
|
|
2014-12-29 20:16:14 +01:00
|
|
|
dofile(modpath.."/register.lua")
|
2014-12-24 23:42:36 +01:00
|
|
|
|
2014-12-29 16:14:15 +01:00
|
|
|
rocks.noiseparams_layers = {
|
|
|
|
offset = 0,
|
|
|
|
scale = 1,
|
2015-01-11 11:16:16 +01:00
|
|
|
spread = {x=80, y=80, z=80},
|
|
|
|
octaves = 2,
|
|
|
|
persist = 0.7
|
2014-12-29 16:14:15 +01:00
|
|
|
}
|
|
|
|
|
2014-12-29 20:16:14 +01:00
|
|
|
dofile(modpath.."/mapgen.lua")
|
2015-01-10 15:46:45 +01:00
|
|
|
dofile(modpath.."/geologica.lua")
|
2015-01-12 21:45:09 +01:00
|
|
|
dofile(modpath.."/geologica_nv.lua")
|
2014-12-24 23:42:36 +01:00
|
|
|
|
|
|
|
|
|
|
|
print("[rocks] loaded.")
|