forked from cacklingfiend/lignumis
		
	AAI Loaders: Fix circuit recipe name and icon
This commit is contained in:
		
							parent
							
								
									e15ededd6c
								
							
						
					
					
						commit
						54321fc686
					
				
					 1 changed files with 8 additions and 1 deletions
				
			
		|  | @ -43,9 +43,16 @@ AAILoaders.make_tier({ | |||
| local nauvis_recipe = Recipe:new("aai-wood-loader"):clone("wood-loader-electronic-circuit") | ||||
| nauvis_recipe:replaceIngredient("gold-cable", "electronic-circuit") | ||||
| nauvis_recipe:unlockedByTechnology("electronics") | ||||
| nauvis_recipe:assign({ | ||||
|     localised_name = { "entity-name.aai-wood-loader" }, | ||||
|     icons = table.assign( | ||||
|         table.deepcopy(data.raw.item["aai-wood-loader"].icons), | ||||
|         { { icon = "__base__/graphics/icons/electronic-circuit.png", scale = 0.25, shift = { 8, 8 } } } | ||||
|     ) | ||||
| }) | ||||
| nauvis_recipe:apply() | ||||
| 
 | ||||
| if mods["aai-loaders-sane"] then | ||||
|     Technology:new("wood-logistics"):addRecipe("aai-wood-loader") | ||||
|     data.raw.technology["aai-wood-loader"] = nil | ||||
| end | ||||
| end | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Simon Brodtmann
						Simon Brodtmann