forked from cacklingfiend/lignumis
		
	AAI Loaders: Adhere belt progression setting
This commit is contained in:
		
							parent
							
								
									087c30ffcc
								
							
						
					
					
						commit
						0bbd830068
					
				
					 1 changed files with 6 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -2,8 +2,12 @@ local Recipe = require("__cf-lib__/data/Recipe")
 | 
			
		|||
 | 
			
		||||
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")
 | 
			
		||||
 | 
			
		||||
if settings.startup["lignumis-belt-progression"].value then
 | 
			
		||||
    recipe:replaceIngredient("transport-belt", "aai-wood-loader", 1)
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
if mods["aai-industry"] and settings.startup["lignumis-basic-circuit-board"].value then
 | 
			
		||||
    recipe:replaceIngredient("electronic-circuit", "basic-circuit-board")
 | 
			
		||||
end
 | 
			
		||||
end
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue