forked from minetest-mods/technic
		
	Add grinding for pyrite from Everness mod (#633)
Add recipe for grinding pyrite lump from everness mod into pyrite dust if everness mod is present (also includes images for pyrite dust).
This commit is contained in:
		| @@ -74,6 +74,10 @@ if minetest.get_modpath("homedecor") then | ||||
| 	table.insert(recipes, {"home_decor:brass_ingot", "technic:brass_dust 1"}) | ||||
| end | ||||
|  | ||||
| if minetest.get_modpath("everness") then | ||||
| 	table.insert(recipes, {"everness:pyrite_lump",  "technic:pyrite_dust 2"}) | ||||
| end | ||||
|  | ||||
| for _, data in pairs(recipes) do | ||||
| 	technic.register_grinder_recipe({input = {data[1]}, output = data[2]}) | ||||
| end | ||||
| @@ -122,6 +126,9 @@ if minetest.get_modpath("gloopores") or minetest.get_modpath("glooptest") then | ||||
| 	register_dust("Kalite",          nil) | ||||
| 	register_dust("Talinite",        "glooptest:talinite_ingot") | ||||
| end | ||||
| if minetest.get_modpath("everness") then | ||||
| 	register_dust("Pyrite",          "everness:pyrite_ingot") | ||||
| end | ||||
|  | ||||
| for p = 0, 35 do | ||||
| 	local nici = (p ~= 0 and p ~= 7 and p ~= 35) and 1 or nil | ||||
|   | ||||
| @@ -1,3 +1,3 @@ | ||||
| name = technic | ||||
| depends = default, pipeworks, technic_worldgen, basic_materials | ||||
| optional_depends = bucket, screwdriver, mesecons, mesecons_mvps, digilines, digiline_remote, intllib, unified_inventory, vector_extras, dye, craftguide,i3 | ||||
| optional_depends = bucket, screwdriver, mesecons, mesecons_mvps, digilines, digiline_remote, intllib, unified_inventory, vector_extras, dye, craftguide, i3 | ||||
|   | ||||
							
								
								
									
										
											BIN
										
									
								
								technic/textures/technic_pyrite_dust.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								technic/textures/technic_pyrite_dust.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 451 B | 
							
								
								
									
										
											BIN
										
									
								
								technic/textures/technicx32/technic_pyrite_dust.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								technic/textures/technicx32/technic_pyrite_dust.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 1.1 KiB | 
		Reference in New Issue
	
	Block a user