mirror of
git://repo.or.cz/rocks.git
synced 2024-11-18 00:08:35 +01:00
27 lines
594 B
Lua
27 lines
594 B
Lua
-- 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
|
|
|
|
local modpath=minetest.get_modpath(minetest.get_current_modname())
|
|
|
|
dofile(modpath.."/register.lua")
|
|
|
|
rocks.noiseparams_layers = {
|
|
offset = 0,
|
|
scale = 1,
|
|
spread = {x=30, y=30, z=30},
|
|
octaves = 3,
|
|
persist = 0.63
|
|
}
|
|
|
|
dofile(modpath.."/mapgen.lua")
|
|
dofile(modpath.."/geologica.lua")
|
|
|
|
|
|
print("[rocks] loaded.")
|