AAI Loaders: Yellow loader recipe uses wood loader
This commit is contained in:
		
							parent
							
								
									5e22624330
								
							
						
					
					
						commit
						eb849de427
					
				
					 3 changed files with 8 additions and 0 deletions
				
			
		| 
						 | 
					@ -26,6 +26,7 @@
 | 
				
			||||||
        "?aai-industry",
 | 
					        "?aai-industry",
 | 
				
			||||||
        "?Diversitree",
 | 
					        "?Diversitree",
 | 
				
			||||||
        "?aai-loaders",
 | 
					        "?aai-loaders",
 | 
				
			||||||
 | 
					        "?aai-loaders-sane",
 | 
				
			||||||
        "?atan-nuclear-science",
 | 
					        "?atan-nuclear-science",
 | 
				
			||||||
        "?lane-splitters",
 | 
					        "?lane-splitters",
 | 
				
			||||||
        "!planet-picker",
 | 
					        "!planet-picker",
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										5
									
								
								lignumis/prototypes/compatibility/aai-loaders-final.lua
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								lignumis/prototypes/compatibility/aai-loaders-final.lua
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,5 @@
 | 
				
			||||||
 | 
					local Recipe = require("__cf-lib__/data/Recipe")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if not mods["aai-loaders"] then return end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Recipe:new("aai-loader"):replaceIngredient("transport-belt", "aai-wood-loader", 1)
 | 
				
			||||||
| 
						 | 
					@ -1,3 +1,5 @@
 | 
				
			||||||
 | 
					require("aai-loaders-final")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if not data.raw.technology["legendary-quality"] then
 | 
					if not data.raw.technology["legendary-quality"] then
 | 
				
			||||||
    table.removeValue(data.raw.technology["quality-assembler"].prerequisites, "legendary-quality")
 | 
					    table.removeValue(data.raw.technology["quality-assembler"].prerequisites, "legendary-quality")
 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue