forked from cacklingfiend/lignumis
		
	Enable burner leech when no dedicated mod is installed
This commit is contained in:
		
							parent
							
								
									e56b5a7087
								
							
						
					
					
						commit
						57b3ee9ece
					
				
					 1 changed files with 6 additions and 1 deletions
				
			
		| 
						 | 
					@ -1,2 +1,7 @@
 | 
				
			||||||
require("prototypes/content/final")
 | 
					require("prototypes/content/final")
 | 
				
			||||||
require("prototypes/compatibility/final")
 | 
					require("prototypes/compatibility/final")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if not mods["Burner-Leech-Fork"] and not mods["Burner-Leech"] and not mods["InserterFuelLeech"] then
 | 
				
			||||||
 | 
					    data.raw["inserter"]["burner-inserter"].allow_burner_leech = true
 | 
				
			||||||
 | 
					    data.raw["inserter"]["burner-long-handed-inserter"].allow_burner_leech = true
 | 
				
			||||||
 | 
					end
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue