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,6 +43,13 @@ AAILoaders.make_tier({ | ||||||
| local nauvis_recipe = Recipe:new("aai-wood-loader"):clone("wood-loader-electronic-circuit") | local nauvis_recipe = Recipe:new("aai-wood-loader"):clone("wood-loader-electronic-circuit") | ||||||
| nauvis_recipe:replaceIngredient("gold-cable", "electronic-circuit") | nauvis_recipe:replaceIngredient("gold-cable", "electronic-circuit") | ||||||
| nauvis_recipe:unlockedByTechnology("electronics") | 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() | nauvis_recipe:apply() | ||||||
| 
 | 
 | ||||||
| if mods["aai-loaders-sane"] then | if mods["aai-loaders-sane"] then | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Simon Brodtmann
						Simon Brodtmann