mirror of
				git://repo.or.cz/rocks.git
				synced 2025-10-31 16:15:26 +01:00 
			
		
		
		
	Init mineral.
This commit is contained in:
		| @@ -1,3 +1,26 @@ | ||||
| -- | ||||
| -- The minerals mod. | ||||
| -- | ||||
| -- | ||||
|  | ||||
| minetest.log("info","/mineral mod initializing") | ||||
|  | ||||
| -- 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 | ||||
|  | ||||
| mineral={} | ||||
| mineral.noise={} | ||||
|  | ||||
| local print=function(text) | ||||
|  minetest.log("info","/mineral "..text) | ||||
| end | ||||
|  | ||||
| local modpath=minetest.get_modpath(minetest.get_current_modname()) | ||||
|  | ||||
| dofile(modpath.."/skarn.lua") | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user