mirror of
				https://github.com/mt-mods/xcompat.git
				synced 2025-10-31 08:15:28 +01:00 
			
		
		
		
	add missed materials from basic materials and update mod.conf (#12)
This commit is contained in:
		
							
								
								
									
										2
									
								
								mod.conf
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								mod.conf
									
									
									
									
									
								
							| @@ -1,3 +1,3 @@ | ||||
| name = xcompat | ||||
| description = Provides cross compatibility between mods and games for sounds and crafting materials. | ||||
| optional_depends = default, fl_stone, fl_trees, mcl_sounds, hades_sounds, ks_sounds, nodes_nature, fl_topsoil, fl_trees | ||||
| optional_depends = default, fl_stone, fl_trees, mcl_sounds, hades_sounds, ks_sounds, nodes_nature, fl_topsoil, fl_trees, mcl_core | ||||
|   | ||||
| @@ -57,6 +57,20 @@ if minetest.get_modpath("moreores") then | ||||
|     materials.silver_ingot = "moreores:silver_ingot" | ||||
| end | ||||
|  | ||||
| if minetest.get_modpath("technic") then | ||||
| 	materials.lead_ingot = "technic:lead_ingot" | ||||
| 	materials.carbon_steel_ingot = "technic:carbon_steel_ingot" | ||||
| 	materials.stainless_steel_ingot = "technic:stainless_steel_ingot" | ||||
| end | ||||
|  | ||||
| if minetest.get_modpath("aloz") then | ||||
| 	materials.aluminum_ingot = "aloz:aluminum_ingot" | ||||
| end | ||||
|  | ||||
| if minetest.get_modpath("techage") then | ||||
| 	materials.aluminum_ingot = "techage:aluminum" | ||||
| end | ||||
|  | ||||
| if minetest.get_modpath("mcl_core") then | ||||
|     materials = { | ||||
|         dirt = "mcl_core:dirt", | ||||
| @@ -233,10 +247,16 @@ elseif minetest.get_modpath("hades_core") then | ||||
|     end | ||||
|     if minetest.get_modpath("hades_extraores") then | ||||
|         materials["silver_ingot"] = "hades_extraores:silver_ingot" | ||||
|         materials["aluminum_ingot"] = "hades_extraores:aluminum_ingot" | ||||
|     end | ||||
|     if minetest.get_modpath("hades_default") then | ||||
|         materials.desert_sand = "hades_default:desert_sand" | ||||
|     end | ||||
|     if minetest.get_modpath("hades_technic") then | ||||
| 		materials.lead_ingot = "hades_technic:lead_ingot" | ||||
| 		materials.carbon_steel_ingot = "hades_technic:carbon_steel_ingot" | ||||
| 		materials.stainless_steel_ingot = "hades_technic:stainless_steel_ingot" | ||||
| 	end | ||||
| end | ||||
|  | ||||
| return materials | ||||
		Reference in New Issue
	
	Block a user