I sould've tested it...
This commit is contained in:
		
							parent
							
								
									541bb4e4f7
								
							
						
					
					
						commit
						0388f35d30
					
				
					 2 changed files with 5 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -25,7 +25,7 @@ Lignumis = {
 | 
			
		|||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
if settings.startup["lignumis-technology-progression"].value then
 | 
			
		||||
if not settings.startup["lignumis-technology-progression"].value then
 | 
			
		||||
    Lignumis.science_pack_whitelist = {}
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -275,15 +275,15 @@ if not mods["planet-picker"] then
 | 
			
		|||
    local production_science_pack_technology = Technology:new("production-science-pack")
 | 
			
		||||
    production_science_pack_technology:replacePrerequisite("advanced-material-processing-2", "space-platform-thruster")
 | 
			
		||||
    production_science_pack_technology:addIngredients({ "space-science-pack" })
 | 
			
		||||
    if not settings.startup["lignumis-technology-progression"].value then
 | 
			
		||||
        production_science_pack_technology:removeIngredients({ "wood-science-pack", "steam-science-pack" })
 | 
			
		||||
    if settings.startup["lignumis-technology-progression"].value then
 | 
			
		||||
        production_science_pack_technology:addIngredients({ "wood-science-pack", "steam-science-pack" })
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
    local utility_science_pack_technology = Technology:new("utility-science-pack")
 | 
			
		||||
    utility_science_pack_technology:setPrerequisites({ "space-platform-thruster" })
 | 
			
		||||
    utility_science_pack_technology:addIngredients({ "space-science-pack" })
 | 
			
		||||
    if not settings.startup["lignumis-technology-progression"].value then
 | 
			
		||||
        utility_science_pack_technology:removeIngredients({ "wood-science-pack", "steam-science-pack" })
 | 
			
		||||
    if settings.startup["lignumis-technology-progression"].value then
 | 
			
		||||
        utility_science_pack_technology:addIngredients({ "wood-science-pack", "steam-science-pack" })
 | 
			
		||||
    end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue