forked from cacklingfiend/lignumis
		
	Lane splitters: Yellow lane splitter uses basic circuit board instead of electronic circuit
This commit is contained in:
		
							parent
							
								
									aae06ac132
								
							
						
					
					
						commit
						6f453071ea
					
				
					 1 changed files with 8 additions and 4 deletions
				
			
		| 
						 | 
					@ -1,3 +1,6 @@
 | 
				
			||||||
 | 
					local Recipe = require("__cf-lib__/data/Recipe")
 | 
				
			||||||
 | 
					local Technology = require("__cf-lib__/data/Technology")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if not mods["lane-splitters"] then return end
 | 
					if not mods["lane-splitters"] then return end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
local lane_splitter = make_tier({
 | 
					local lane_splitter = make_tier({
 | 
				
			||||||
| 
						 | 
					@ -27,7 +30,8 @@ data:extend({
 | 
				
			||||||
    lane_splitter.recipe,
 | 
					    lane_splitter.recipe,
 | 
				
			||||||
})
 | 
					})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
table.insert(data.raw["technology"]["wood-logistics"].effects, {
 | 
					Technology:new("wood-logistics"):addRecipe("wood-lane-splitter")
 | 
				
			||||||
  type = "unlock-recipe",
 | 
					
 | 
				
			||||||
  recipe = "wood-lane-splitter"
 | 
					if settings.startup["lignumis-basic-circuit-board"].value then
 | 
				
			||||||
})
 | 
					    Recipe:new("lane-splitter"):replaceIngredient("electronic-circuit", "basic-circuit-board")
 | 
				
			||||||
 | 
					end
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue