forked from cacklingfiend/lignumis
		
	Add compatibility for "Any planet start" (Gleba)
This commit is contained in:
		
							parent
							
								
									5ca6eb9b3d
								
							
						
					
					
						commit
						6f4e8dcda8
					
				
					 1 changed files with 18 additions and 1 deletions
				
			
		| 
						 | 
					@ -47,3 +47,20 @@ if target_planet == "fulgora" then
 | 
				
			||||||
            :removeRecipe("agricultural-tower")
 | 
					            :removeRecipe("agricultural-tower")
 | 
				
			||||||
    end
 | 
					    end
 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					-- Gleba
 | 
				
			||||||
 | 
					if target_planet == "gleba" then
 | 
				
			||||||
 | 
					    Technology:new("landfill")
 | 
				
			||||||
 | 
					        :setPrerequisites({ "burner-automation" })
 | 
				
			||||||
 | 
					        :assign({
 | 
				
			||||||
 | 
					            unit = {
 | 
				
			||||||
 | 
					                count = 50,
 | 
				
			||||||
 | 
					                ingredients = { { "wood-science-pack", 1 } },
 | 
				
			||||||
 | 
					                time = 15
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        })
 | 
				
			||||||
 | 
					        .prototype.research_trigger = nil
 | 
				
			||||||
 | 
					    Technology:new("iron-processing").prototype.research_trigger.entity = "iron-stromatolite"
 | 
				
			||||||
 | 
					    Technology:new("copper-processing").prototype.research_trigger.entity = "copper-stromatolite"
 | 
				
			||||||
 | 
					end
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue