forked from cacklingfiend/lignumis
		
	AAI loaders, Lane splitters: Apply recipe changes only when AAI Industry is active
This commit is contained in:
		
							parent
							
								
									7f67e0eff6
								
							
						
					
					
						commit
						087c30ffcc
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -4,6 +4,6 @@ if not mods["aai-loaders"] then return end | ||||||
| 
 | 
 | ||||||
| local recipe = Recipe:new("aai-loader"):replaceIngredient("transport-belt", "aai-wood-loader", 1) | local recipe = Recipe:new("aai-loader"):replaceIngredient("transport-belt", "aai-wood-loader", 1) | ||||||
| 
 | 
 | ||||||
| if settings.startup["lignumis-basic-circuit-board"].value then | if mods["aai-industry"] and settings.startup["lignumis-basic-circuit-board"].value then | ||||||
|     recipe:replaceIngredient("electronic-circuit", "basic-circuit-board") |     recipe:replaceIngredient("electronic-circuit", "basic-circuit-board") | ||||||
| end | end | ||||||
|  | @ -33,6 +33,6 @@ data:extend({ | ||||||
| 
 | 
 | ||||||
| Technology:new("wood-logistics"):addRecipe("wood-lane-splitter") | Technology:new("wood-logistics"):addRecipe("wood-lane-splitter") | ||||||
| 
 | 
 | ||||||
| if settings.startup["lignumis-basic-circuit-board"].value then | if mods["aai-industry"] and settings.startup["lignumis-basic-circuit-board"].value then | ||||||
|     Recipe:new("lane-splitter"):replaceIngredient("electronic-circuit", "basic-circuit-board") |     Recipe:new("lane-splitter"):replaceIngredient("electronic-circuit", "basic-circuit-board") | ||||||
| end | end | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Simon Brodtmann
						Simon Brodtmann