1 minetest
.log("info","[rocks] mod initializing")
3 -- Load translation library if intllib is installed
5 if (minetest
.get_modpath("intllib")) then
6 dofile(minetest
.get_modpath("intllib").."/intllib.lua")
7 S
= intllib
.Getter(minetest
.get_current_modname())
9 S
= function ( s
) return s
end
15 rocksl
.print=function(text
)
16 minetest
.log("info","/rocks "..text
)
20 rocksl
.GetNextSeed
=function()
21 rocksl
.seedseq
=rocksl
.seedseq
+20
25 local modpath
=minetest
.get_modpath(minetest
.get_current_modname())
27 dofile(modpath
.."/sed.lua")
28 dofile(modpath
.."/ign.lua")
29 dofile(modpath
.."/skarn.lua")
31 minetest
.register_on_mapgen_init(function(mapgen_params
)
32 -- todo: disable caves and ores