forked from cacklingfiend/lignumis
		
	Unlock basic Nauvis technologies when adding the mod to an existing game
This commit is contained in:
		
							parent
							
								
									328dfba605
								
							
						
					
					
						commit
						3ea157ff50
					
				
					 1 changed files with 9 additions and 0 deletions
				
			
		|  | @ -13,6 +13,15 @@ InitExisting.on_init = function() | |||
|             storage.nauvis_visited = true | ||||
|         end | ||||
|     end | ||||
| 
 | ||||
|     for _, force in pairs(game.forces) do | ||||
|         force.technologies["iron-processing"].researched = true | ||||
|         force.technologies["copper-processing"].researched = true | ||||
|         if force.is_space_location_unlocked("nauvis") then | ||||
|             force.technologies["planet-discovery-nauvis"].researched = true | ||||
|         end | ||||
|     end | ||||
| 
 | ||||
|     game.print { "", { "lignumis.start-new-game" } } | ||||
| end | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Simon Brodtmann
						Simon Brodtmann