forked from cacklingfiend/lignumis
		
	Crushing industry + Hot metals: Fix crushed gold not being smelted into hot gold
This commit is contained in:
		
							parent
							
								
									b889d0db26
								
							
						
					
					
						commit
						8c88e8ac8a
					
				
					 4 changed files with 13 additions and 10 deletions
				
			
		|  | @ -0,0 +1,10 @@ | ||||||
|  | local Technology = require("__cf-lib__/data/Technology") | ||||||
|  | 
 | ||||||
|  | if not mods["crushing-industry"] then return end | ||||||
|  | if not settings.startup["crushing-industry-ore"].value then return end | ||||||
|  | 
 | ||||||
|  | if mods["aai-industry"] then | ||||||
|  |     Technology:new("burner-mechanics"):removeRecipe("burner-crusher") | ||||||
|  | else | ||||||
|  |     Technology:new("steam-power"):removeRecipe("burner-crusher") | ||||||
|  | end | ||||||
|  | @ -84,14 +84,6 @@ if settings.startup["crushing-industry-byproducts"].value then | ||||||
|     table.insert(data.raw["recipe"]["crushed-gold-ore"].results, { type = "item", name = "sand", amount = 1, probability = 0.02 }) |     table.insert(data.raw["recipe"]["crushed-gold-ore"].results, { type = "item", name = "sand", amount = 1, probability = 0.02 }) | ||||||
| end | end | ||||||
| 
 | 
 | ||||||
| if mods["aai-industry"] then |  | ||||||
|     Technology:new("burner-mechanics"):removeRecipe("burner-crusher") |  | ||||||
| else |  | ||||||
|     Technology:new("steam-power"):removeRecipe("burner-crusher") |  | ||||||
| end |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| local gold_recipe = Recipe:new("burner-crusher") | local gold_recipe = Recipe:new("burner-crusher") | ||||||
|     :replaceIngredient("iron-gear-wheel", "wooden-gear-wheel") |     :replaceIngredient("iron-gear-wheel", "wooden-gear-wheel") | ||||||
|     :replaceIngredient("iron-plate", "gold-plate") |     :replaceIngredient("iron-plate", "gold-plate") | ||||||
|  |  | ||||||
|  | @ -6,3 +6,4 @@ require("aai-loaders") | ||||||
| require("nuclear-science") | require("nuclear-science") | ||||||
| require("lane-splitters") | require("lane-splitters") | ||||||
| require("wood-industry") | require("wood-industry") | ||||||
|  | require("crushing-industry") | ||||||
|  | @ -1,4 +1,4 @@ | ||||||
| require("aai-industry") | require("aai-industry") | ||||||
| require("gleba-reborn") | require("gleba-reborn") | ||||||
| require("any-planet-start") | require("any-planet-start") | ||||||
| require("crushing-industry") | require("crushing-industry-updates") | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Simon Brodtmann
						Simon Brodtmann